]> git.dujemihanovic.xyz Git - u-boot.git/commit
sh: Fix build errors for generic board
authorSimon Glass <sjg@chromium.org>
Sun, 15 May 2016 00:49:29 +0000 (18:49 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 27 May 2016 19:39:51 +0000 (15:39 -0400)
commitf41e6088eb1a32fdb717110dde66165728e484aa
tree06dbfea695fc3321c796cc00e3193fa42d75e799
parentb0b359536e2bcdf9e049e36a9ad5e4f7174bdc74
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>
arch/sh/cpu/sh2/cpu.c
arch/sh/cpu/sh2/start.S
arch/sh/cpu/sh3/cpu.c
arch/sh/cpu/sh3/start.S
arch/sh/cpu/sh4/cpu.c
arch/sh/cpu/sh4/start.S
arch/sh/cpu/u-boot.lds
arch/sh/include/asm/u-boot.h
board/renesas/sh7752evb/u-boot.lds
board/renesas/sh7753evb/u-boot.lds
board/renesas/sh7757lcr/u-boot.lds