mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 07:31:15 +00:00
board: stm32: Remove the bi_boot_params initialization
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>
This commit is contained in:
parent
b703dcb0fe
commit
e69c4143e8
10 changed files with 0 additions and 20 deletions
|
@ -590,9 +590,6 @@ static void board_init_fmc2(void)
|
||||||
/* board dependent setup after realloc */
|
/* board dependent setup after realloc */
|
||||||
int board_init(void)
|
int board_init(void)
|
||||||
{
|
{
|
||||||
/* address of boot parameters */
|
|
||||||
gd->bd->bi_boot_params = STM32_DDR_BASE + 0x100;
|
|
||||||
|
|
||||||
if (CONFIG_IS_ENABLED(DM_GPIO_HOG))
|
if (CONFIG_IS_ENABLED(DM_GPIO_HOG))
|
||||||
gpio_hog_probe_all();
|
gpio_hog_probe_all();
|
||||||
|
|
||||||
|
|
|
@ -40,9 +40,6 @@ int checkboard(void)
|
||||||
/* board dependent setup after realloc */
|
/* board dependent setup after realloc */
|
||||||
int board_init(void)
|
int board_init(void)
|
||||||
{
|
{
|
||||||
/* address of boot parameters */
|
|
||||||
gd->bd->bi_boot_params = STM32_DDR_BASE + 0x100;
|
|
||||||
|
|
||||||
if (IS_ENABLED(CONFIG_DM_REGULATOR))
|
if (IS_ENABLED(CONFIG_DM_REGULATOR))
|
||||||
regulators_enable_boot_on(_DEBUG);
|
regulators_enable_boot_on(_DEBUG);
|
||||||
|
|
||||||
|
|
|
@ -53,8 +53,6 @@ u32 get_board_rev(void)
|
||||||
|
|
||||||
int board_init(void)
|
int board_init(void)
|
||||||
{
|
{
|
||||||
gd->bd->bi_boot_params = gd->bd->bi_dram[0].start + 0x100;
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -47,8 +47,6 @@ u32 get_board_rev(void)
|
||||||
|
|
||||||
int board_init(void)
|
int board_init(void)
|
||||||
{
|
{
|
||||||
gd->bd->bi_boot_params = gd->bd->bi_dram[0].start + 0x100;
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -47,8 +47,6 @@ u32 get_board_rev(void)
|
||||||
|
|
||||||
int board_init(void)
|
int board_init(void)
|
||||||
{
|
{
|
||||||
gd->bd->bi_boot_params = gd->bd->bi_dram[0].start + 0x100;
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -122,8 +122,6 @@ int board_late_init(void)
|
||||||
|
|
||||||
int board_init(void)
|
int board_init(void)
|
||||||
{
|
{
|
||||||
gd->bd->bi_boot_params = gd->bd->bi_dram[0].start + 0x100;
|
|
||||||
|
|
||||||
#ifdef CONFIG_ETH_DESIGNWARE
|
#ifdef CONFIG_ETH_DESIGNWARE
|
||||||
const char *phy_mode;
|
const char *phy_mode;
|
||||||
int node;
|
int node;
|
||||||
|
|
|
@ -43,6 +43,5 @@ u32 get_board_rev(void)
|
||||||
|
|
||||||
int board_init(void)
|
int board_init(void)
|
||||||
{
|
{
|
||||||
gd->bd->bi_boot_params = gd->bd->bi_dram[0].start + 0x100;
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,6 +43,5 @@ u32 get_board_rev(void)
|
||||||
|
|
||||||
int board_init(void)
|
int board_init(void)
|
||||||
{
|
{
|
||||||
gd->bd->bi_boot_params = gd->bd->bi_dram[0].start + 0x100;
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,6 +53,5 @@ int board_late_init(void)
|
||||||
|
|
||||||
int board_init(void)
|
int board_init(void)
|
||||||
{
|
{
|
||||||
gd->bd->bi_boot_params = gd->bd->bi_dram[0].start + 0x100;
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -646,9 +646,6 @@ static void board_ev1_init(void)
|
||||||
/* board dependent setup after realloc */
|
/* board dependent setup after realloc */
|
||||||
int board_init(void)
|
int board_init(void)
|
||||||
{
|
{
|
||||||
/* address of boot parameters */
|
|
||||||
gd->bd->bi_boot_params = STM32_DDR_BASE + 0x100;
|
|
||||||
|
|
||||||
if (CONFIG_IS_ENABLED(DM_GPIO_HOG))
|
if (CONFIG_IS_ENABLED(DM_GPIO_HOG))
|
||||||
gpio_hog_probe_all();
|
gpio_hog_probe_all();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue