[POWERPC] 44x: add missing define TARGET_4xx and TARGET_440GX to cuboot-taishan
authorValentine Barshak <vbarshak@ru.mvista.com>
Tue, 26 Feb 2008 14:58:53 +0000 (01:58 +1100)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Wed, 27 Feb 2008 15:47:49 +0000 (09:47 -0600)
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>
arch/powerpc/boot/cuboot-taishan.c

index f66455a45ab1cfcbf17f5bfbd391f0fb3e37cd37..b55b80467eed9b23e70d7347e134745723116af1 100644 (file)
@@ -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;