MLK-20987-1 imx8qm/qxp: spl: Fix SPL flexspi boot break
The CONFIG_QSPI_BOOT has been removed from SPL flexspi build, because we have to change the u-boot ENV to SD/MMC, and this configuration will set relevant configurations. But we don't clean up CONFIG_QSPI_BOOT for SPL completely, SPL still has some places using it and cause problem to flexspi boot. Using CONFIG_SPL_SPI_SUPPORT to replace the CONFIG_QSPI_BOOT. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 0491bd4ba21ad620b4c514323a7d6b8a9e10325c)
This commit is contained in:
parent
61363f12ef
commit
e3a1ff7514
|
|
@ -175,7 +175,7 @@ void spl_dram_init(void)
|
|||
|
||||
void spl_board_init(void)
|
||||
{
|
||||
#if defined(CONFIG_QSPI_BOOT)
|
||||
#if defined(CONFIG_SPL_SPI_SUPPORT)
|
||||
sc_ipc_t ipcHndl = 0;
|
||||
|
||||
ipcHndl = gd->arch.ipc_channel_handle;
|
||||
|
|
@ -192,7 +192,7 @@ void spl_board_init(void)
|
|||
|
||||
void spl_board_prepare_for_boot(void)
|
||||
{
|
||||
#if defined(CONFIG_QSPI_BOOT)
|
||||
#if defined(CONFIG_SPL_SPI_SUPPORT)
|
||||
sc_ipc_t ipcHndl = 0;
|
||||
|
||||
ipcHndl = gd->arch.ipc_channel_handle;
|
||||
|
|
|
|||
|
|
@ -173,7 +173,7 @@ int board_mmc_getcd(struct mmc *mmc)
|
|||
|
||||
void spl_board_init(void)
|
||||
{
|
||||
#if defined(CONFIG_QSPI_BOOT)
|
||||
#if defined(CONFIG_SPL_SPI_SUPPORT)
|
||||
sc_ipc_t ipcHndl = 0;
|
||||
|
||||
ipcHndl = gd->arch.ipc_channel_handle;
|
||||
|
|
@ -189,7 +189,7 @@ void spl_board_init(void)
|
|||
|
||||
void spl_board_prepare_for_boot(void)
|
||||
{
|
||||
#if defined(CONFIG_QSPI_BOOT)
|
||||
#if defined(CONFIG_SPL_SPI_SUPPORT)
|
||||
sc_ipc_t ipcHndl = 0;
|
||||
|
||||
ipcHndl = gd->arch.ipc_channel_handle;
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
#ifdef CONFIG_SPL_BUILD
|
||||
|
||||
#ifdef CONFIG_QSPI_BOOT
|
||||
#ifdef CONFIG_SPL_SPI_SUPPORT
|
||||
#define CONFIG_SPL_SPI_LOAD
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
#ifdef CONFIG_SPL_BUILD
|
||||
|
||||
#ifdef CONFIG_QSPI_BOOT
|
||||
#ifdef CONFIG_SPL_SPI_SUPPORT
|
||||
#define CONFIG_SPL_SPI_LOAD
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue