how to handle TARGET_CPM in cuboot-85xx?

Kumar Gala galak at
Fri Jan 25 01:24:42 EST 2008


I have to make this change for some board to cuboot-85xx.c:

diff --git a/arch/powerpc/boot/cuboot-85xx.c b/arch/powerpc/boot/ 
index 6776a1a..e2616f2 100644
--- a/arch/powerpc/boot/cuboot-85xx.c
+++ b/arch/powerpc/boot/cuboot-85xx.c
@@ -15,6 +15,7 @@
  #include "cuboot.h"

  #define TARGET_85xx
+#define TARGET_CPM2
  #include "ppcboot.h"

  static bd_t bd;


however it varies which boards need this.  Should I just duplicate  
cuboot-85xx.c into cuboot-<boardname>.c as the way to handle this  
right now?

- k

More information about the Linuxppc-dev mailing list