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/start.S | |
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/start.S')
-rw-r--r-- | arch/powerpc/cpu/ppc4xx/start.S | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/powerpc/cpu/ppc4xx/start.S b/arch/powerpc/cpu/ppc4xx/start.S index 137afce37a..b432b18c74 100644 --- a/arch/powerpc/cpu/ppc4xx/start.S +++ b/arch/powerpc/cpu/ppc4xx/start.S @@ -760,7 +760,6 @@ _start: #endif bl cpu_init_f /* run low-level CPU init code (from Flash) */ -#ifdef CONFIG_SYS_GENERIC_BOARD mr r3, r1 bl board_init_f_alloc_reserve mr r1, r3 @@ -768,7 +767,6 @@ _start: li r0,0 stwu r0, -4(r1) stwu r0, -4(r1) -#endif li r3, 0 bl board_init_f /* NOTREACHED - board_init_f() does not return */ @@ -1037,14 +1035,12 @@ _start: GET_GOT /* initialize GOT access */ bl cpu_init_f /* run low-level CPU init code (from Flash) */ -#ifdef CONFIG_SYS_GENERIC_BOARD mr r3, r1 bl board_init_f_alloc_reserve mr r1, r3 bl board_init_f_init_reserve stwu r0, -4(r1) stwu r0, -4(r1) -#endif li r3, 0 bl board_init_f /* run first part of init code (from Flash) */ /* NOTREACHED - board_init_f() does not return */ |