powerpc: ppc4xx: canyonlands: Move to generic board
authorSimon Glass <sjg@chromium.org>
Sat, 7 Feb 2015 18:51:39 +0000 (11:51 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 12 Feb 2015 17:35:30 +0000 (10:35 -0700)
Switch to generic board so that this board will not be broken/removed.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/powerpc/cpu/ppc4xx/cpu_init.c
include/configs/canyonlands.h

index e5a0e21e3696782bdd46f06015d67fe6561862dd..5f5c72002e444b134fa2fc138df2fc1c840e1f31 100644 (file)
@@ -450,10 +450,12 @@ cpu_init_f (void)
              PLB4Ax_ACR_RDP_4DEEP);
 #endif /* CONFIG_440SP/SPE || CONFIG_460EX/GT || CONFIG_405EX */
 
+#ifndef CONFIG_SYS_GENERIC_BOARD
        gd = (gd_t *)(CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_GBL_DATA_OFFSET);
 
        /* Clear initial global data */
        memset((void *)gd, 0, sizeof(gd_t));
+#endif
 }
 
 /*
index ed790ccaf3a83594273d36ae86f25a5700b8584f..7a1499d2e3a579b6b8134f413f884a16472d5709 100644 (file)
@@ -13,6 +13,8 @@
 
 #include <linux/kconfig.h>
 
+#define CONFIG_SYS_GENERIC_BOARD
+
 /*-----------------------------------------------------------------------
  * High Level Configuration Options
  *----------------------------------------------------------------------*/