From 7e43357e93c2aff021f9d41b4bd4f666ec0402a7 Mon Sep 17 00:00:00 2001 From: Ye Li Date: Fri, 24 Feb 2017 14:23:12 +0800 Subject: 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 --- include/configs/mx6ul_14x14_evk.h | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'include/configs/mx6ul_14x14_evk.h') 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 -- cgit v1.1