summaryrefslogtreecommitdiff
path: root/arch/sh/cpu/sh3/cpu.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-05-14 18:49:29 -0600
committerTom Rini <trini@konsulko.com>2016-05-27 15:39:51 -0400
commitf41e6088eb1a32fdb717110dde66165728e484aa (patch)
tree06dbfea695fc3321c796cc00e3193fa42d75e799 /arch/sh/cpu/sh3/cpu.c
parentb0b359536e2bcdf9e049e36a9ad5e4f7174bdc74 (diff)
downloadu-boot-imx-f41e6088eb1a32fdb717110dde66165728e484aa.zip
u-boot-imx-f41e6088eb1a32fdb717110dde66165728e484aa.tar.gz
u-boot-imx-f41e6088eb1a32fdb717110dde66165728e484aa.tar.bz2
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/cpu.c')
-rw-r--r--arch/sh/cpu/sh3/cpu.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/sh/cpu/sh3/cpu.c b/arch/sh/cpu/sh3/cpu.c
index ea0006a..494f908 100644
--- a/arch/sh/cpu/sh3/cpu.c
+++ b/arch/sh/cpu/sh3/cpu.c
@@ -66,3 +66,9 @@ int dcache_status(void)
{
return 0;
}
+
+void relocate_code(ulong start_addr_sp, gd_t *new_gd, ulong relocaaddr)
+{
+ /* TODO(sh maintainer): Implement this */
+ while (1);
+}