]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: st: Remove board_early_init_f and board_late_init callbacks for stm32 boards
authorPatrice Chotard <patrice.chotard@foss.st.com>
Wed, 24 Feb 2021 12:38:20 +0000 (13:38 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 12 Mar 2021 09:57:10 +0000 (10:57 +0100)
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>
board/st/stm32f429-discovery/stm32f429-discovery.c
board/st/stm32f429-evaluation/stm32f429-evaluation.c
board/st/stm32f469-discovery/stm32f469-discovery.c
board/st/stm32f746-disco/stm32f746-disco.c
board/st/stm32h743-disco/stm32h743-disco.c
board/st/stm32h743-eval/stm32h743-eval.c

index 9d8fc9f5a2e1540a02bc6aa058a1b8edaf28a9bd..46fcf907fc621083e149df2f4f902e9f66f19b76 100644 (file)
@@ -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;
index 96b4c25726327600e85b6eec02372ebb1eb3ca54..3b6df1f3ab369d8c8bbfc013730f82d109850694 100644 (file)
@@ -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;
index 742fd67b98e90919a64c159180e9e643136f001f..c5df9b0d9c07c0aa6467df0bb3e0455941d392bc 100644 (file)
@@ -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;
index 40450ca914be43106eb78d3415f190a5af59a983..143cc6e1ea2382881e95f2b7b25bba74f8beb0ca 100644 (file)
@@ -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)
index 405836aba398dddda28b7cf2b513274ca76f43f7..4091d5f9fde5b9df590f3204f6ffc31bd426c30d 100644 (file)
@@ -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;
index 405836aba398dddda28b7cf2b513274ca76f43f7..4091d5f9fde5b9df590f3204f6ffc31bd426c30d 100644 (file)
@@ -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;