Browse Source

[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>
Valentine Barshak 17 years ago
parent
commit
c91f91e5fb
1 changed files with 2 additions and 0 deletions
  1. 2 0
      arch/powerpc/boot/cuboot-taishan.c

+ 2 - 0
arch/powerpc/boot/cuboot-taishan.c

@@ -21,7 +21,9 @@
 #include "dcr.h"
 #include "dcr.h"
 #include "4xx.h"
 #include "4xx.h"
 
 
+#define TARGET_4xx
 #define TARGET_44x
 #define TARGET_44x
+#define TARGET_440GX
 #include "ppcboot.h"
 #include "ppcboot.h"
 
 
 static bd_t bd;
 static bd_t bd;