aboutsummaryrefslogtreecommitdiffstats
path: root/x-loader/include/configs/omap3530gta04.h
diff options
context:
space:
mode:
Diffstat (limited to 'x-loader/include/configs/omap3530gta04.h')
-rw-r--r--x-loader/include/configs/omap3530gta04.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/x-loader/include/configs/omap3530gta04.h b/x-loader/include/configs/omap3530gta04.h
index 07fa63d..3e6ef21 100644
--- a/x-loader/include/configs/omap3530gta04.h
+++ b/x-loader/include/configs/omap3530gta04.h
@@ -85,6 +85,9 @@
//#define SDRC_B1_R_B0_C 1
#define SDRC_R_B_C 1
+/* Enable the below macro if NAND boot support is required */
+//#define CONFIG_NAND 1
+
#define NAND_BASE_ADR NAND_BASE
#define ONENAND_BASE ONENAND_MAP
#define ONENAND_ADDR ONENAND_BASE
@@ -124,6 +127,8 @@
*/
#define CONFIG_STACKSIZE (128*1024) /* regular stack */
+#if defined(CONFIG_NAND)
+
/*-----------------------------------------------------------------------
* Board NAND Info.
*/
@@ -205,5 +210,7 @@
#define ONENAND_PAGE_SIZE 2048 /* 2KB */
#define ONENAND_BLOCK_SIZE 0x20000 /* 128KB */
+#endif
+
#endif /* __CONFIG_H */