From: Valentine Barshak <vbarshak@ru.mvista.com>
Date: Tue, 26 Feb 2008 14:58:53 +0000 (+1100)
Subject: [POWERPC] 44x: add missing define TARGET_4xx and TARGET_440GX to cuboot-taishan
X-Git-Tag: v2.6.25-rc4~120^2~2^2~2
X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c91f91e5fb04fc8fd8fa4b5e9d949031e631c107;p=linux-2.6-omap-h63xx.git

[POWERPC] 44x: add missing define TARGET_4xx and TARGET_440GX to cuboot-taishan

In order to get the proper boad info (bd_info) structure defined in ppcboot.h
both TARGET_4xx and TARGET_44x should be defined for all PowerPC 440 boards.
The 440GX boards also need TARGET_440GX defined since they have 4 EMACs and
there are 4 MAC addesses in bd_info passed by u-boot.

Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
---

diff --git a/arch/powerpc/boot/cuboot-taishan.c b/arch/powerpc/boot/cuboot-taishan.c
index f66455a45ab..b55b80467ee 100644
--- a/arch/powerpc/boot/cuboot-taishan.c
+++ b/arch/powerpc/boot/cuboot-taishan.c
@@ -21,7 +21,9 @@
 #include "dcr.h"
 #include "4xx.h"
 
+#define TARGET_4xx
 #define TARGET_44x
+#define TARGET_440GX
 #include "ppcboot.h"
 
 static bd_t bd;