summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNitin Yadav <n-yadav@ti.com>2023-06-30 13:55:05 +0530
committerUdit Kumar <u-kumar1@ti.com>2023-06-30 14:01:21 +0530
commitadfb905c5872db2f01101a67c75e73ab880e5df9 (patch)
treef19267345b25638cbe93b11dc118ad836bf66272 /include
parent58e417ee41ec6ba4ab2f3ffdcf648d4e57dc781c (diff)
configs: am62x_evm: Provide NAND configuration
Add support for AM62Q NAND card: X8 NAND EXPANSION BOARD card (PROC143E1) for AM62x LP SK board. These changes provide NAND Device configuration for AM62x LP-SK board. Signed-off-by: Nitin Yadav <n-yadav@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/am62x_evm.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/include/configs/am62x_evm.h b/include/configs/am62x_evm.h
index 13a7741060..bdf0bec098 100644
--- a/include/configs/am62x_evm.h
+++ b/include/configs/am62x_evm.h
@@ -12,9 +12,25 @@
#include <config_distro_bootcmd.h>
/* DDR Configuration */
-#define CFG_SYS_SDRAM_BASE1 0x880000000
+#define CFG_SYS_SDRAM_BASE1 0x880000000
/* Now for the remaining common defines */
#include <configs/ti_armv7_common.h>
+/* NAND Driver config */
+#define CFG_SYS_NAND_BASE 0x51000000
+
+#define CFG_SYS_NAND_ECCPOS { 2, 3, 4, 5, 6, 7, 8, 9, \
+ 10, 11, 12, 13, 14, 15, 16, 17, \
+ 18, 19, 20, 21, 22, 23, 24, 25, \
+ 26, 27, 28, 29, 30, 31, 32, 33, \
+ 34, 35, 36, 37, 38, 39, 40, 41, \
+ 42, 43, 44, 45, 46, 47, 48, 49, \
+ 50, 51, 52, 53, 54, 55, 56, 57, }
+
+#define CFG_SYS_NAND_ECCSIZE 512
+
+#define CFG_SYS_NAND_ECCBYTES 14
+/*-- end NAND config --*/
+
#endif /* __CONFIG_AM625_EVM_H */