diff options
author | Peng Fan <peng.fan@nxp.com> | 2016-02-19 16:39:20 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2016-03-25 11:41:03 +0800 |
commit | 5805368af417df14c66c59d81338472caa315c11 (patch) | |
tree | 47b8dd6c4da7cee83e7fe54954bd86007d7de7c2 /include/configs/mx7dsabresd.h | |
parent | 9bbd54e44ae1f0868d3f0dd34975e76606b0a5e8 (diff) | |
download | u-boot-imx-5805368af417df14c66c59d81338472caa315c11.zip u-boot-imx-5805368af417df14c66c59d81338472caa315c11.tar.gz u-boot-imx-5805368af417df14c66c59d81338472caa315c11.tar.bz2 |
MLK-12416-5: spi: qspi: align to 2015.04
Switch to use 2015.04 qspi driver.
Change header file to adapt to the driver.
To i.mx6sx, move config to header file.
Tested read/write/erase on 6ulevk/sxai/sxsdb.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'include/configs/mx7dsabresd.h')
-rw-r--r-- | include/configs/mx7dsabresd.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/configs/mx7dsabresd.h b/include/configs/mx7dsabresd.h index 2c981e0..8ac0555 100644 --- a/include/configs/mx7dsabresd.h +++ b/include/configs/mx7dsabresd.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2015 Freescale Semiconductor, Inc. + * Copyright (C) 2015-2016 Freescale Semiconductor, Inc. * * Configuration settings for the Freescale i.MX7D SABRESD board. * @@ -294,10 +294,8 @@ #define CONFIG_SF_DEFAULT_CS 0 #define CONFIG_SF_DEFAULT_SPEED 40000000 #define CONFIG_SF_DEFAULT_MODE SPI_MODE_0 -#define FSL_QSPI_FLASH_NUM 1 -#define FSL_QSPI_FLASH_SIZE SZ_64M -#define QSPI0_BASE_ADDR QSPI1_IPS_BASE_ADDR -#define QSPI0_AMBA_BASE QSPI0_ARB_BASE_ADDR +#define CONFIG_QSPI_BASE QSPI1_IPS_BASE_ADDR +#define CONFIG_QSPI_MEMMAP_BASE QSPI0_ARB_BASE_ADDR #endif #endif /* __CONFIG_H */ |