[PATCH] PowerPC 44x: add missing define TARGET_4xx to cuboot-taishan.c

Valentine Barshak vbarshak at ru.mvista.com
Fri Feb 22 01:43:17 EST 2008


In order to get the proper bd_info structure for PowerPC 440,
both TARGET_4xx and TARGET_44x should be defined.

Signed-off-by: Valentine Barshak <vbarshak at ru.mvista.com>
---
 arch/powerpc/boot/cuboot-taishan.c |    1 +
 1 files changed, 1 insertion(+)

diff -pruN linux-2.6.orig/arch/powerpc/boot/cuboot-taishan.c linux-2.6/arch/powerpc/boot/cuboot-taishan.c
--- linux-2.6.orig/arch/powerpc/boot/cuboot-taishan.c	2008-02-21 16:46:11.000000000 +0300
+++ linux-2.6/arch/powerpc/boot/cuboot-taishan.c	2008-02-21 16:48:43.000000000 +0300
@@ -21,6 +21,7 @@
 #include "dcr.h"
 #include "4xx.h"
 
+#define TARGET_4xx
 #define TARGET_44x
 #include "ppcboot.h"
 



More information about the Linuxppc-dev mailing list