mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 12:56:00 +01:00
ARM: imx8m: phycore_imx8mm: Drop bogus spl_board_init()
The current implementation of spl_board_init() is not correct, the MX8MM BootROM v1 does not support SDP load when re-entered from U-Boot SPL, it is up to U-Boot to perform the next stage load using its own internal CI gadget driver and SDP protocol implementation. Drop the spl_board_init() to let SPL continue with normal load in case the SDP support is enabled. Signed-off-by: Marek Vasut <marex@denx.de> Reviewed-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
parent
1f908b1898
commit
8e374457ba
@ -42,16 +42,6 @@ static void spl_dram_init(void)
|
|||||||
ddr_init(&dram_timing);
|
ddr_init(&dram_timing);
|
||||||
}
|
}
|
||||||
|
|
||||||
void spl_board_init(void)
|
|
||||||
{
|
|
||||||
/* Serial download mode */
|
|
||||||
if (is_usb_boot()) {
|
|
||||||
puts("Back to ROM, SDP\n");
|
|
||||||
restore_boot_params();
|
|
||||||
}
|
|
||||||
puts("Normal Boot\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
int board_fit_config_name_match(const char *name)
|
int board_fit_config_name_match(const char *name)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -30,7 +30,6 @@ CONFIG_BOARD_LATE_INIT=y
|
|||||||
CONFIG_SPL_HAS_BSS_LINKER_SECTION=y
|
CONFIG_SPL_HAS_BSS_LINKER_SECTION=y
|
||||||
CONFIG_SPL_BSS_START_ADDR=0x910000
|
CONFIG_SPL_BSS_START_ADDR=0x910000
|
||||||
CONFIG_SPL_BSS_MAX_SIZE=0x2000
|
CONFIG_SPL_BSS_MAX_SIZE=0x2000
|
||||||
CONFIG_SPL_BOARD_INIT=y
|
|
||||||
# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
|
# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
|
||||||
CONFIG_SPL_STACK=0x920000
|
CONFIG_SPL_STACK=0x920000
|
||||||
CONFIG_SYS_SPL_MALLOC=y
|
CONFIG_SYS_SPL_MALLOC=y
|
||||||
|
Loading…
x
Reference in New Issue
Block a user