board: st: Remove board_early_init_f and board_late_init callbacks for stm32 boards

Remove board_early_init_f() and board_late_init() callbacks for stm32
boards as the corresponding flags (CONFIG_BOARD_LATE_INIT and
CONFIG_BOARD_EARLY_INIT_R) are now disabled.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
This commit is contained in:
Patrice Chotard 2021-02-24 13:38:20 +01:00
parent 92baaada1a
commit 729fa17f06
6 changed files with 0 additions and 40 deletions

View File

@ -51,11 +51,6 @@ u32 get_board_rev(void)
return 0; return 0;
} }
int board_early_init_f(void)
{
return 0;
}
int board_init(void) int board_init(void)
{ {
gd->bd->bi_boot_params = gd->bd->bi_dram[0].start + 0x100; gd->bd->bi_boot_params = gd->bd->bi_dram[0].start + 0x100;

View File

@ -45,11 +45,6 @@ u32 get_board_rev(void)
return 0; return 0;
} }
int board_early_init_f(void)
{
return 0;
}
int board_init(void) int board_init(void)
{ {
gd->bd->bi_boot_params = gd->bd->bi_dram[0].start + 0x100; gd->bd->bi_boot_params = gd->bd->bi_dram[0].start + 0x100;

View File

@ -45,11 +45,6 @@ u32 get_board_rev(void)
return 0; return 0;
} }
int board_early_init_f(void)
{
return 0;
}
int board_init(void) int board_init(void)
{ {
gd->bd->bi_boot_params = gd->bd->bi_dram[0].start + 0x100; gd->bd->bi_boot_params = gd->bd->bi_dram[0].start + 0x100;

View File

@ -48,11 +48,6 @@ int dram_init_banksize(void)
return fdtdec_setup_memory_banksize(); return fdtdec_setup_memory_banksize();
} }
int board_early_init_f(void)
{
return 0;
}
#ifdef CONFIG_SPL_BUILD #ifdef CONFIG_SPL_BUILD
#ifdef CONFIG_SPL_OS_BOOT #ifdef CONFIG_SPL_OS_BOOT
int spl_start_uboot(void) int spl_start_uboot(void)

View File

@ -36,21 +36,11 @@ int dram_init_banksize(void)
return 0; return 0;
} }
int board_early_init_f(void)
{
return 0;
}
u32 get_board_rev(void) u32 get_board_rev(void)
{ {
return 0; return 0;
} }
int board_late_init(void)
{
return 0;
}
int board_init(void) int board_init(void)
{ {
gd->bd->bi_boot_params = gd->bd->bi_dram[0].start + 0x100; gd->bd->bi_boot_params = gd->bd->bi_dram[0].start + 0x100;

View File

@ -36,21 +36,11 @@ int dram_init_banksize(void)
return 0; return 0;
} }
int board_early_init_f(void)
{
return 0;
}
u32 get_board_rev(void) u32 get_board_rev(void)
{ {
return 0; return 0;
} }
int board_late_init(void)
{
return 0;
}
int board_init(void) int board_init(void)
{ {
gd->bd->bi_boot_params = gd->bd->bi_dram[0].start + 0x100; gd->bd->bi_boot_params = gd->bd->bi_dram[0].start + 0x100;