summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorManjunath Hadli <manjunath.hadli@ti.com>2011-10-07 23:38:39 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-10-27 21:56:35 +0200
commit28375eb6f6a34b0a4584a3c46c1879f8852f69a9 (patch)
tree9275a97e3dac43d976958c3996b5f48ef6b8d56b /include/configs
parent83244a3885310249aac377bdc592cb46e9cf4329 (diff)
downloadu-boot-imx-28375eb6f6a34b0a4584a3c46c1879f8852f69a9.zip
u-boot-imx-28375eb6f6a34b0a4584a3c46c1879f8852f69a9.tar.gz
u-boot-imx-28375eb6f6a34b0a4584a3c46c1879f8852f69a9.tar.bz2
da830: add support for NAND boot mode
Add support for enabling NAND boot mode in configuration file and add correspanding pinmux support, nand initialize function in board file. The size required for environment variables not more than 10KB the CONFIG_ENV_SIZE is set to 10KB from (512 << 10). Acked-by: Nick Thompson <nick.thompson@ge.com> Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com> Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/da830evm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/configs/da830evm.h b/include/configs/da830evm.h
index c522af9..cca75ce 100644
--- a/include/configs/da830evm.h
+++ b/include/configs/da830evm.h
@@ -105,8 +105,10 @@
#define CONFIG_SYS_NO_FLASH
#define CONFIG_ENV_IS_IN_NAND /* U-Boot env in NAND Flash */
#define CONFIG_ENV_OFFSET (512 << 10)
-#define CONFIG_ENV_SIZE (512 << 10)
+#define CONFIG_ENV_SIZE (10 << 10) /* 10KB */
+#define CONFIG_SYS_NAND_USE_FLASH_BBT
#define CONFIG_SYS_NAND_4BIT_HW_ECC_OOBFIRST
+#define CONFIG_SYS_NAND_PAGE_2K
#define CONFIG_SYS_NAND_CS 3
#define CONFIG_SYS_NAND_BASE DAVINCI_ASYNC_EMIF_DATA_CE3_BASE
#define CONFIG_SYS_NAND_PAGE_2K