diff options
author | Ye Li <ye.li@nxp.com> | 2019-02-25 19:07:05 -0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2019-02-25 21:49:47 -0800 |
commit | 0491bd4ba21ad620b4c514323a7d6b8a9e10325c (patch) | |
tree | 84c0d28c00909a1f5ab484f05aef1f567ce8aef2 /board | |
parent | cd0ec61b235929d75965c43e82127b73e73e1697 (diff) |
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>
Diffstat (limited to 'board')
-rw-r--r-- | board/freescale/imx8qm_mek/spl.c | 4 | ||||
-rw-r--r-- | board/freescale/imx8qxp_mek/spl.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/board/freescale/imx8qm_mek/spl.c b/board/freescale/imx8qm_mek/spl.c index 579ce121341..39da7ae2aa6 100644 --- a/board/freescale/imx8qm_mek/spl.c +++ b/board/freescale/imx8qm_mek/spl.c @@ -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; diff --git a/board/freescale/imx8qxp_mek/spl.c b/board/freescale/imx8qxp_mek/spl.c index 8db61767bc0..1353d085b97 100644 --- a/board/freescale/imx8qxp_mek/spl.c +++ b/board/freescale/imx8qxp_mek/spl.c @@ -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; |