diff options
author | Simon Glass <sjg@chromium.org> | 2016-05-15 00:49:29 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-05-27 19:39:51 (GMT) |
commit | f41e6088eb1a32fdb717110dde66165728e484aa (patch) | |
tree | 06dbfea695fc3321c796cc00e3193fa42d75e799 /arch/sh/cpu/sh3/start.S | |
parent | b0b359536e2bcdf9e049e36a9ad5e4f7174bdc74 (diff) | |
download | u-boot-fsl-qoriq-f41e6088eb1a32fdb717110dde66165728e484aa.tar.xz |
sh: Fix build errors for generic board
This includes the following fixes:
- Define needed __init_end symbol - see initr_reloc_global_data()
- Drop SH-specific struct bd_info
- Add an empty relocate_code() function
This prevents build errors with generic board, but the code will still need
work. Perhaps this is a better alternative than deleting the code.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sh/cpu/sh3/start.S')
-rw-r--r-- | arch/sh/cpu/sh3/start.S | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/sh/cpu/sh3/start.S b/arch/sh/cpu/sh3/start.S index 7a934e2..9ed7198 100644 --- a/arch/sh/cpu/sh3/start.S +++ b/arch/sh/cpu/sh3/start.S @@ -45,8 +45,9 @@ _sh_start: mov.l ._gd_init, r13 /* global data */ mov.l ._stack_init, r15 /* stack */ - mov.l ._sh_generic_init, r0 - jsr @r0 + #TODO(sh maintainer): Fix this up to call the correct code + #mov.l ._sh_generic_init, r0 + #jsr @r0 nop loop: @@ -61,4 +62,4 @@ loop: ._bss_end: .long bss_end ._gd_init: .long (_sh_start - GENERATED_GBL_DATA_SIZE) ._stack_init: .long (_sh_start - GENERATED_GBL_DATA_SIZE - CONFIG_SYS_MALLOC_LEN - 16) -._sh_generic_init: .long sh_generic_init +#._sh_generic_init: .long sh_generic_init |