diff options
author | Ye.Li <B37916@freescale.com> | 2015-03-09 11:55:39 +0800 |
---|---|---|
committer | Peng Fan <Peng.Fan@freescale.com> | 2015-04-29 15:00:32 +0800 |
commit | 5f162a619777d9535387968c4799d7e9f484784d (patch) | |
tree | b88ca4d1db9f40478fbbf57e8452d200009261be /drivers | |
parent | c8ebb4157692ac5962713113e9a751f0a8325713 (diff) | |
download | u-boot-imx-5f162a619777d9535387968c4799d7e9f484784d.zip u-boot-imx-5f162a619777d9535387968c4799d7e9f484784d.tar.gz u-boot-imx-5f162a619777d9535387968c4799d7e9f484784d.tar.bz2 |
MLK-10385-2 imx: nand: Update GPMI NAND driver to support MX7D
Update GPMI NAND driver and BCH head file with definitions for CONFIG_MX7
Signed-off-by: Ye.Li <B37916@freescale.com>
(cherry picked from commit 9c50677dac30085742ef216b9f2e19308e123d2b)
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mtd/nand/mxs_nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/mxs_nand.c b/drivers/mtd/nand/mxs_nand.c index 0779866..3f8d223 100644 --- a/drivers/mtd/nand/mxs_nand.c +++ b/drivers/mtd/nand/mxs_nand.c @@ -30,7 +30,7 @@ #define MXS_NAND_DMA_DESCRIPTOR_COUNT 4 #define MXS_NAND_CHUNK_DATA_CHUNK_SIZE 512 -#if defined(CONFIG_MX6) +#if (defined(CONFIG_MX6) || defined(CONFIG_MX7)) #define MXS_NAND_CHUNK_DATA_CHUNK_SIZE_SHIFT 2 #else #define MXS_NAND_CHUNK_DATA_CHUNK_SIZE_SHIFT 0 |