Message ID | 20210224123821.22848-2-patrice.chotard@foss.st.com |
---|---|
State | Accepted |
Commit | 729fa17f065ff0cb652bee55b08d8d83b594ff3e |
Delegated to: | Patrice Chotard |
Headers | show |
Series | [1/2] configs: stm32: Remove BOARD_EARLY_INIT_F and BOARD_LATE_INIT for stm32 boards | expand |
Hi Patrice On 2/24/21 1:38 PM, Patrice Chotard wrote: > 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> > --- > > board/st/stm32f429-discovery/stm32f429-discovery.c | 5 ----- > board/st/stm32f429-evaluation/stm32f429-evaluation.c | 5 ----- > board/st/stm32f469-discovery/stm32f469-discovery.c | 5 ----- > board/st/stm32f746-disco/stm32f746-disco.c | 5 ----- > board/st/stm32h743-disco/stm32h743-disco.c | 10 ---------- > board/st/stm32h743-eval/stm32h743-eval.c | 10 ---------- > 6 files changed, 40 deletions(-) > Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Thanks Patrick
Hi On 3/12/21 10:51 AM, Patrick DELAUNAY wrote: > Hi Patrice > > On 2/24/21 1:38 PM, Patrice Chotard wrote: >> 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> >> --- >> >> board/st/stm32f429-discovery/stm32f429-discovery.c | 5 ----- >> board/st/stm32f429-evaluation/stm32f429-evaluation.c | 5 ----- >> board/st/stm32f469-discovery/stm32f469-discovery.c | 5 ----- >> board/st/stm32f746-disco/stm32f746-disco.c | 5 ----- >> board/st/stm32h743-disco/stm32h743-disco.c | 10 ---------- >> board/st/stm32h743-eval/stm32h743-eval.c | 10 ---------- >> 6 files changed, 40 deletions(-) >> > > Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com> > > Thanks > Patrick > Applied to u-boot-stm/next Thanks Patrice
diff --git a/board/st/stm32f429-discovery/stm32f429-discovery.c b/board/st/stm32f429-discovery/stm32f429-discovery.c index 9d8fc9f5a2..46fcf907fc 100644 --- a/board/st/stm32f429-discovery/stm32f429-discovery.c +++ b/board/st/stm32f429-discovery/stm32f429-discovery.c @@ -51,11 +51,6 @@ u32 get_board_rev(void) return 0; } -int board_early_init_f(void) -{ - return 0; -} - int board_init(void) { gd->bd->bi_boot_params = gd->bd->bi_dram[0].start + 0x100; diff --git a/board/st/stm32f429-evaluation/stm32f429-evaluation.c b/board/st/stm32f429-evaluation/stm32f429-evaluation.c index 96b4c25726..3b6df1f3ab 100644 --- a/board/st/stm32f429-evaluation/stm32f429-evaluation.c +++ b/board/st/stm32f429-evaluation/stm32f429-evaluation.c @@ -45,11 +45,6 @@ u32 get_board_rev(void) return 0; } -int board_early_init_f(void) -{ - return 0; -} - int board_init(void) { gd->bd->bi_boot_params = gd->bd->bi_dram[0].start + 0x100; diff --git a/board/st/stm32f469-discovery/stm32f469-discovery.c b/board/st/stm32f469-discovery/stm32f469-discovery.c index 742fd67b98..c5df9b0d9c 100644 --- a/board/st/stm32f469-discovery/stm32f469-discovery.c +++ b/board/st/stm32f469-discovery/stm32f469-discovery.c @@ -45,11 +45,6 @@ u32 get_board_rev(void) return 0; } -int board_early_init_f(void) -{ - return 0; -} - int board_init(void) { gd->bd->bi_boot_params = gd->bd->bi_dram[0].start + 0x100; diff --git a/board/st/stm32f746-disco/stm32f746-disco.c b/board/st/stm32f746-disco/stm32f746-disco.c index 40450ca914..143cc6e1ea 100644 --- a/board/st/stm32f746-disco/stm32f746-disco.c +++ b/board/st/stm32f746-disco/stm32f746-disco.c @@ -48,11 +48,6 @@ int dram_init_banksize(void) return fdtdec_setup_memory_banksize(); } -int board_early_init_f(void) -{ - return 0; -} - #ifdef CONFIG_SPL_BUILD #ifdef CONFIG_SPL_OS_BOOT int spl_start_uboot(void) diff --git a/board/st/stm32h743-disco/stm32h743-disco.c b/board/st/stm32h743-disco/stm32h743-disco.c index 405836aba3..4091d5f9fd 100644 --- a/board/st/stm32h743-disco/stm32h743-disco.c +++ b/board/st/stm32h743-disco/stm32h743-disco.c @@ -36,21 +36,11 @@ int dram_init_banksize(void) return 0; } -int board_early_init_f(void) -{ - return 0; -} - u32 get_board_rev(void) { return 0; } -int board_late_init(void) -{ - return 0; -} - int board_init(void) { gd->bd->bi_boot_params = gd->bd->bi_dram[0].start + 0x100; diff --git a/board/st/stm32h743-eval/stm32h743-eval.c b/board/st/stm32h743-eval/stm32h743-eval.c index 405836aba3..4091d5f9fd 100644 --- a/board/st/stm32h743-eval/stm32h743-eval.c +++ b/board/st/stm32h743-eval/stm32h743-eval.c @@ -36,21 +36,11 @@ int dram_init_banksize(void) return 0; } -int board_early_init_f(void) -{ - return 0; -} - u32 get_board_rev(void) { return 0; } -int board_late_init(void) -{ - return 0; -} - int board_init(void) { gd->bd->bi_boot_params = gd->bd->bi_dram[0].start + 0x100;
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> --- board/st/stm32f429-discovery/stm32f429-discovery.c | 5 ----- board/st/stm32f429-evaluation/stm32f429-evaluation.c | 5 ----- board/st/stm32f469-discovery/stm32f469-discovery.c | 5 ----- board/st/stm32f746-disco/stm32f746-disco.c | 5 ----- board/st/stm32h743-disco/stm32h743-disco.c | 10 ---------- board/st/stm32h743-eval/stm32h743-eval.c | 10 ---------- 6 files changed, 40 deletions(-)