summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2018-10-14 15:53:17 -0500
committerTom Rini <trini@konsulko.com>2018-10-22 09:18:49 -0400
commit290097fe2736dd23bfb926658d188db533b59779 (patch)
tree65f07d59b7e09f9ac22df0bb60328ea620e89fdd /include
parente18333e50147a7ba6715a7012f1b03ed5009f628 (diff)
ARM: omap3_logic: Add NOR Flash Support for SOM-LV
The DM37 and OMAP35 SOM-LV SOM-LV products both support a NOR flash part connected to CS2 in addition to the NAND part on CS0. This patch setups the GPMC timings for the MT28 NOR Flash and enables the CFI-Flash driver now that the CFI stuff is in Kconfig Signed-off-by: Adam Ford <aford173@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/omap3_logic.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h
index 8644e16830..fe557f91ca 100644
--- a/include/configs/omap3_logic.h
+++ b/include/configs/omap3_logic.h
@@ -183,9 +183,14 @@
/* **** PISMO SUPPORT *** */
#if defined(CONFIG_CMD_NAND)
-#define CONFIG_SYS_FLASH_BASE NAND_BASE
+#define CONFIG_SYS_FLASH_BASE 0x10000000
#endif
+#define CONFIG_SYS_MAX_FLASH_SECT 256
+#define CONFIG_SYS_MAX_FLASH_BANKS 1
+#define CONFIG_SYS_FLASH_CFI_WIDTH FLASH_CFI_16BIT
+#define CONFIG_SYS_FLASH_SIZE 0x4000000
+
/* Monitor at start of flash */
#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_FLASH_BASE