diff options
author | Simon Glass <sjg@chromium.org> | 2019-11-14 22:57:46 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-12-03 02:25:21 +0300 |
commit | 5255932f0167c502fc7fce527bfe7e81df3322f9 (patch) | |
tree | 3d6c908ed81ec0f8a6ca529198765cb64eefbaf3 /include | |
parent | 67c4e9f815eb75ba5c1f86213eded93c4e06e64b (diff) | |
download | u-boot-5255932f0167c502fc7fce527bfe7e81df3322f9.tar.xz |
common: Move some board functions out of common.h
A number of board function belong in init.h with the others. Move them.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/common.h | 7 | ||||
-rw-r--r-- | include/init.h | 8 |
2 files changed, 8 insertions, 7 deletions
diff --git a/include/common.h b/include/common.h index 9bdd1cf85c..3001296ff2 100644 --- a/include/common.h +++ b/include/common.h @@ -137,13 +137,6 @@ int eeprom_write (unsigned dev_addr, unsigned offset, uchar *buffer, unsigned c # define CONFIG_SYS_DEF_EEPROM_ADDR CONFIG_SYS_I2C_EEPROM_ADDR #endif -/* $(BOARD)/$(BOARD).c */ -int board_early_init_f (void); -int board_fix_fdt (void *rw_fdt_blob); /* manipulate the U-Boot fdt before its relocation */ -int board_late_init (void); -int board_postclk_init (void); /* after clocks/timebase, before env/serial */ -int board_early_init_r (void); - #if defined(CONFIG_SYS_DRAM_TEST) int testdram(void); #endif /* CONFIG_SYS_DRAM_TEST */ diff --git a/include/init.h b/include/init.h index 6076283d2c..e506cd30dd 100644 --- a/include/init.h +++ b/include/init.h @@ -197,6 +197,14 @@ int show_board_info(void); */ ulong board_get_usable_ram_top(ulong total_size); +int board_early_init_f(void); + +/* manipulate the U-Boot fdt before its relocation */ +int board_fix_fdt(void *rw_fdt_blob); +int board_late_init(void); +int board_postclk_init(void); /* after clocks/timebase, before env/serial */ +int board_early_init_r(void); + #endif /* __ASSEMBLY__ */ /* Put only stuff here that the assembler can digest */ |