aboutsummaryrefslogtreecommitdiff
path: root/include/configs/gw_ventana.h
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2021-03-01 14:33:36 -0800
committerStefano Babic <sbabic@denx.de>2021-04-08 20:29:53 +0200
commit777f333c375ae461f543a3612f420c17cc353b19 (patch)
treec752f36a2442c41a99ae75bfe5fbb304912b5af4 /include/configs/gw_ventana.h
parent19a387f85d3643ec052903223bfdcffe0ab227a6 (diff)
downloadu-boot-777f333c375ae461f543a3612f420c17cc353b19.zip
u-boot-777f333c375ae461f543a3612f420c17cc353b19.tar.gz
u-boot-777f333c375ae461f543a3612f420c17cc353b19.tar.bz2
imx: ventana: enable dm for MTD and NAND
Enable driver model for MTD and NAND support allowing us to remove the iomux, init, and most of the static configuration. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'include/configs/gw_ventana.h')
-rw-r--r--include/configs/gw_ventana.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h
index 1d68abd..5754b6a 100644
--- a/include/configs/gw_ventana.h
+++ b/include/configs/gw_ventana.h
@@ -35,18 +35,8 @@
/* Serial */
#define CONFIG_MXC_UART_BASE UART2_BASE
-#if !defined(CONFIG_SPI_FLASH) && defined(CONFIG_SPL_NAND_SUPPORT)
-/* Enable NAND support */
-#ifdef CONFIG_CMD_NAND
- #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 */
-#endif
-
-#endif /* CONFIG_SPI_FLASH */
+/* NAND */
+#define CONFIG_SYS_MAX_NAND_DEVICE 1
/* I2C Configs */
#define CONFIG_SYS_I2C