mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user