]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: stm32: Remove the bi_boot_params initialization
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Thu, 2 Sep 2021 10:02:07 +0000 (12:02 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 8 Oct 2021 06:15:39 +0000 (08:15 +0200)
The stm32 platforms never had to support an ATAGs-based Linux Kernel,
so remove the bi_boot_params initialization.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Tested-by: Patrice Chotard <patrice.chotard@foss.st.com>
Tested-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
board/dhelectronics/dh_stm32mp1/board.c
board/engicam/stm32mp1/stm32mp1.c
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
board/st/stm32h750-art-pi/stm32h750-art-pi.c
board/st/stm32mp1/stm32mp1.c

index d7c1857c16855d6b2d6bf73378a5bb7cd19d8ebf..765b54a4a4c96e5581114a105e189b944ace3807 100644 (file)
@@ -590,9 +590,6 @@ static void board_init_fmc2(void)
 /* board dependent setup after realloc */
 int board_init(void)
 {
-       /* address of boot parameters */
-       gd->bd->bi_boot_params = STM32_DDR_BASE + 0x100;
-
        if (CONFIG_IS_ENABLED(DM_GPIO_HOG))
                gpio_hog_probe_all();
 
index 8bf9c9c67d38308552b79b3ebb1968752db8368e..20d8603c78cad2ae671d2953b8e9743cb8d37e0f 100644 (file)
@@ -40,9 +40,6 @@ int checkboard(void)
 /* board dependent setup after realloc */
 int board_init(void)
 {
-       /* address of boot parameters */
-       gd->bd->bi_boot_params = STM32_DDR_BASE + 0x100;
-
        if (IS_ENABLED(CONFIG_DM_REGULATOR))
                regulators_enable_boot_on(_DEBUG);
 
index 46fcf907fc621083e149df2f4f902e9f66f19b76..5a50e98dd0cec7b286d508bb71a06ccdbcb13358 100644 (file)
@@ -53,8 +53,6 @@ u32 get_board_rev(void)
 
 int board_init(void)
 {
-       gd->bd->bi_boot_params = gd->bd->bi_dram[0].start + 0x100;
-
        return 0;
 }
 
index 3b6df1f3ab369d8c8bbfc013730f82d109850694..cf3056163c68e7211d3c4d13ee97ff09c4c43918 100644 (file)
@@ -47,8 +47,6 @@ u32 get_board_rev(void)
 
 int board_init(void)
 {
-       gd->bd->bi_boot_params = gd->bd->bi_dram[0].start + 0x100;
-
        return 0;
 }
 
index c5df9b0d9c07c0aa6467df0bb3e0455941d392bc..056c9dff2a8fd8e1bb8c3d713a2e98eb5c1eb809 100644 (file)
@@ -47,8 +47,6 @@ u32 get_board_rev(void)
 
 int board_init(void)
 {
-       gd->bd->bi_boot_params = gd->bd->bi_dram[0].start + 0x100;
-
        return 0;
 }
 
index efa38a0e26a6188761a59563f506560e2228b6bb..2543e2a5f88d8d040864e533427a93227af938a9 100644 (file)
@@ -122,8 +122,6 @@ int board_late_init(void)
 
 int board_init(void)
 {
-       gd->bd->bi_boot_params = gd->bd->bi_dram[0].start + 0x100;
-
 #ifdef CONFIG_ETH_DESIGNWARE
        const char *phy_mode;
        int node;
index 4091d5f9fde5b9df590f3204f6ffc31bd426c30d..e493786f11c96bb9c9e37c0640ba7402473e445c 100644 (file)
@@ -43,6 +43,5 @@ u32 get_board_rev(void)
 
 int board_init(void)
 {
-       gd->bd->bi_boot_params = gd->bd->bi_dram[0].start + 0x100;
        return 0;
 }
index 4091d5f9fde5b9df590f3204f6ffc31bd426c30d..e493786f11c96bb9c9e37c0640ba7402473e445c 100644 (file)
@@ -43,6 +43,5 @@ u32 get_board_rev(void)
 
 int board_init(void)
 {
-       gd->bd->bi_boot_params = gd->bd->bi_dram[0].start + 0x100;
        return 0;
 }
index 5785b2e5750f71c790fa887960f7b60915b0b136..bec26465d2884f181788b1db74b2ff89a3ae262d 100644 (file)
@@ -53,6 +53,5 @@ int board_late_init(void)
 
 int board_init(void)
 {
-       gd->bd->bi_boot_params = gd->bd->bi_dram[0].start + 0x100;
        return 0;
 }
index 032f08d7950c1ef1d8ff3138d7d9546860df1222..1bceb41494f76e4d41f89c20aa48765bce3370d7 100644 (file)
@@ -646,9 +646,6 @@ static void board_ev1_init(void)
 /* board dependent setup after realloc */
 int board_init(void)
 {
-       /* address of boot parameters */
-       gd->bd->bi_boot_params = STM32_DDR_BASE + 0x100;
-
        if (CONFIG_IS_ENABLED(DM_GPIO_HOG))
                gpio_hog_probe_all();