diff options
author | Ye Li <ye.li@nxp.com> | 2017-02-24 14:23:12 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2017-04-05 14:04:36 +0800 |
commit | 7e43357e93c2aff021f9d41b4bd4f666ec0402a7 (patch) | |
tree | 0f8a1e7b3d59e7aca8e2425e10222627b1d6a46d /include/configs/mx6ul_14x14_evk.h | |
parent | beb0a3c4497dc12964e3abd49d075f6098e3c478 (diff) | |
download | u-boot-imx-7e43357e93c2aff021f9d41b4bd4f666ec0402a7.zip u-boot-imx-7e43357e93c2aff021f9d41b4bd4f666ec0402a7.tar.gz u-boot-imx-7e43357e93c2aff021f9d41b4bd4f666ec0402a7.tar.bz2 |
MLK-14259-3 mx6ulevk: Add support for NAND
Add NAND pinmux settings, clock setting and related configurations.
Default not enabled, need hardware rework.
Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'include/configs/mx6ul_14x14_evk.h')
-rw-r--r-- | include/configs/mx6ul_14x14_evk.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/include/configs/mx6ul_14x14_evk.h b/include/configs/mx6ul_14x14_evk.h index a3cf820..2f98b02 100644 --- a/include/configs/mx6ul_14x14_evk.h +++ b/include/configs/mx6ul_14x14_evk.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2015 Freescale Semiconductor, Inc. + * Copyright (C) 2015-2016 Freescale Semiconductor, Inc. * * Configuration settings for the Freescale i.MX6UL 14x14 EVK board. * @@ -200,6 +200,23 @@ #define FSL_QSPI_FLASH_SIZE SZ_32M #endif +/* NAND stuff */ +#ifdef CONFIG_SYS_USE_NAND +#define CONFIG_CMD_NAND +#define CONFIG_CMD_NAND_TRIMFFS + +#define CONFIG_NAND_MXS +#define CONFIG_SYS_MAX_NAND_DEVICE 1 +#define CONFIG_SYS_NAND_BASE 0x40000000 +#define CONFIG_SYS_NAND_5_ADDR_CYCLE +#define CONFIG_SYS_NAND_ONFI_DETECTION + +/* DMA stuff, needed for GPMI/MXS NAND support */ +#define CONFIG_APBH_DMA +#define CONFIG_APBH_DMA_BURST +#define CONFIG_APBH_DMA_BURST8 +#endif + /* USB Configs */ #ifdef CONFIG_CMD_USB #define CONFIG_USB_EHCI |