diff options
author | Simon Glass <sjg@chromium.org> | 2016-05-14 18:49:34 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-05-27 15:39:54 -0400 |
commit | 14c67ebaefec6d477603454aa2998c36da40453b (patch) | |
tree | e42df8d4a05dc9d6c7ffc5d6d4a840acfbf6ab39 /arch/powerpc/cpu/ppc4xx/cpu_init.c | |
parent | 3e085c9946323a6ad17c32150adf67348afeff97 (diff) | |
download | blackbird-obmc-uboot-14c67ebaefec6d477603454aa2998c36da40453b.tar.gz blackbird-obmc-uboot-14c67ebaefec6d477603454aa2998c36da40453b.zip |
powerpc: Drop unused code related to generic board
Since generic board init is enabled, this is not used. Drop it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/powerpc/cpu/ppc4xx/cpu_init.c')
-rw-r--r-- | arch/powerpc/cpu/ppc4xx/cpu_init.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/powerpc/cpu/ppc4xx/cpu_init.c b/arch/powerpc/cpu/ppc4xx/cpu_init.c index 5f5c72002e..4013a0c24a 100644 --- a/arch/powerpc/cpu/ppc4xx/cpu_init.c +++ b/arch/powerpc/cpu/ppc4xx/cpu_init.c @@ -449,13 +449,6 @@ cpu_init_f (void) mtdcr(PLB4A1_ACR, (mfdcr(PLB4A1_ACR) & ~PLB4Ax_ACR_RDP_MASK) | 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 } /* |