From 5255932f0167c502fc7fce527bfe7e81df3322f9 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 14 Nov 2019 12:57:46 -0700 Subject: 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 Reviewed-by: Tom Rini --- include/common.h | 7 ------- include/init.h | 8 ++++++++ 2 files changed, 8 insertions(+), 7 deletions(-) (limited to 'include') diff --git a/include/common.h b/include/common.h index 9bdd1cf85c4..3001296ff21 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 6076283d2c8..e506cd30dd1 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 */ -- cgit v1.2.3