summaryrefslogtreecommitdiff
path: root/arch/sh/cpu/u-boot.lds
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-05-15 00:49:29 (GMT)
committerTom Rini <trini@konsulko.com>2016-05-27 19:39:51 (GMT)
commitf41e6088eb1a32fdb717110dde66165728e484aa (patch)
tree06dbfea695fc3321c796cc00e3193fa42d75e799 /arch/sh/cpu/u-boot.lds
parentb0b359536e2bcdf9e049e36a9ad5e4f7174bdc74 (diff)
downloadu-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/u-boot.lds')
-rw-r--r--arch/sh/cpu/u-boot.lds1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/cpu/u-boot.lds b/arch/sh/cpu/u-boot.lds
index 30c7a9d..78611c2 100644
--- a/arch/sh/cpu/u-boot.lds
+++ b/arch/sh/cpu/u-boot.lds
@@ -67,6 +67,7 @@ SECTIONS
KEEP(*(SORT(.u_boot_list*)));
}
+ PROVIDE (__init_end = .);
PROVIDE (reloc_dst_end = .);
/* _reloc_dst_end = .; */