From: Valentine Barshak 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-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c91f91e5fb04fc8fd8fa4b5e9d949031e631c107;p=openwrt%2Fstaging%2Fblogic.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 Signed-off-by: Josh Boyer --- diff --git a/arch/powerpc/boot/cuboot-taishan.c b/arch/powerpc/boot/cuboot-taishan.c index f66455a45ab1..b55b80467eed 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;