summaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-28 20:44:45 +0300
committerTom Rini <trini@konsulko.com>2020-01-17 21:26:49 +0300
commit941338725d339c233379def75adeaa0977587a96 (patch)
treebcc3b3f8296c954690fa5ff2cd4bdf9a69467abc /include/common.h
parent1444998230824ac9e95c14073a00e99e59b78ed8 (diff)
downloadu-boot-941338725d339c233379def75adeaa0977587a96.tar.xz
common: Move relocate_code() to init.h
This is an init function so move it out of the common header. Avoid using the typedef so that we don't have to include the global_data header file. Also tidy up the function style in comments while we are here. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/common.h b/include/common.h
index 34ef346400..82228e2050 100644
--- a/include/common.h
+++ b/include/common.h
@@ -102,12 +102,6 @@ void fdc_hw_init (void);
int testdram(void);
#endif /* CONFIG_SYS_DRAM_TEST */
-#if defined(CONFIG_ARM)
-void relocate_code(ulong);
-#else
-void relocate_code(ulong, gd_t *, ulong) __attribute__ ((noreturn));
-#endif
-
void s_init(void);
void upmconfig (unsigned int, unsigned int *, unsigned int);