diff options
author | Peng Fan <peng.fan@nxp.com> | 2017-02-07 10:58:44 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2017-04-05 17:22:47 +0800 |
commit | d197ef2cd86db8350adf796ae9b77316830bdb75 (patch) | |
tree | 7b6f607817d9a6b97f775b52d1d4970852f2673a /board/freescale | |
parent | ab2f9e136f5da034a8335dc8ca276a54367132e8 (diff) | |
download | u-boot-imx-d197ef2cd86db8350adf796ae9b77316830bdb75.zip u-boot-imx-d197ef2cd86db8350adf796ae9b77316830bdb75.tar.gz u-boot-imx-d197ef2cd86db8350adf796ae9b77316830bdb75.tar.bz2 |
MLK-14418-9 imx: mx7dsabresd: add nand/qspi boot support
Add nand/qspi build configurations for their boot support.
Also Add gpmi-nand and qspi specified DTS files for enable them.
For QSPI, this patch changes it to use DM driver.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'board/freescale')
-rw-r--r-- | board/freescale/mx7dsabresd/mx7dsabresd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/board/freescale/mx7dsabresd/mx7dsabresd.c b/board/freescale/mx7dsabresd/mx7dsabresd.c index 2300e43..0a5fb7e 100644 --- a/board/freescale/mx7dsabresd/mx7dsabresd.c +++ b/board/freescale/mx7dsabresd/mx7dsabresd.c @@ -290,6 +290,7 @@ int board_phy_config(struct phy_device *phydev) #endif #ifdef CONFIG_FSL_QSPI +#ifndef CONFIG_DM_SPI static iomux_v3_cfg_t const quadspi_pads[] = { MX7D_PAD_EPDC_DATA00__QSPI_A_DATA0 | MUX_PAD_CTRL(QSPI_PAD_CTRL), MX7D_PAD_EPDC_DATA01__QSPI_A_DATA1 | MUX_PAD_CTRL(QSPI_PAD_CTRL), @@ -298,12 +299,15 @@ static iomux_v3_cfg_t const quadspi_pads[] = { MX7D_PAD_EPDC_DATA05__QSPI_A_SCLK | MUX_PAD_CTRL(QSPI_PAD_CTRL), MX7D_PAD_EPDC_DATA06__QSPI_A_SS0_B | MUX_PAD_CTRL(QSPI_PAD_CTRL), }; +#endif int board_qspi_init(void) { +#ifndef CONFIG_DM_SPI /* Set the iomux */ imx_iomux_v3_setup_multiple_pads(quadspi_pads, ARRAY_SIZE(quadspi_pads)); +#endif /* Set the clock */ set_clk_qspi(); |