ARM: DaVinci DM355: Updating the DM355 EVM config
PATCH v2 1/1 ARM: DaVinci DM355: Updating the DM355 EVM config
From: Sandeep Paulraj <[email protected]>
This patch enables NAND support on the DM355 EVM. Changes in this patch mostly relate to adding the NAND support. This patch also defines a boot delay.
Signed-off-by Sandeep Paulraj <[email protected]>
--- include/configs/davinci_dm355evm.h | 22 +++++++++++++--------- 1 files changed, 13 insertions(+), 9 deletions(-)
include/configs/davinci_dm355evm.h +13 -9
@@ -66,9 +66,10 @@#define CONFIG_SYS_I2C_SLAVE 0x10/* SMBus host address */ /* NAND: socketed, two chipselects, normally 2 GBytes */ -/* NYET -- #define CONFIG_NAND_DAVINCI */ -#define CONFIG_SYS_NAND_HW_ECC +#define CONFIG_NAND_DAVINCI #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_LARGEPAGE #define CONFIG_SYS_NAND_BASE_LIST { 0x02000000, }
@@ -92,19 +93,17 @@#define CONFIG_CMD_I2C #define CONFIG_CMD_PING #define CONFIG_CMD_SAVES +#define CONFIG_CMD_SAVEENV #ifdef CONFIG_NAND_DAVINCI #define CONFIG_CMD_MTDPARTS #define CONFIG_MTD_PARTITIONS +#define CONFIG_MTD_DEVICE #define CONFIG_CMD_NAND #define CONFIG_CMD_UBI #define CONFIG_RBTREE #endif -/* TEMPORARY -- no safe place to save env, yet */ -#define CONFIG_ENV_IS_NOWHERE -#undef CONFIG_CMD_SAVEENV -#ifdef CONFIG_USB_DAVINCI #define CONFIG_MUSB_HCD #define CONFIG_CMD_USB
@@ -130,9 +129,14 @@#define CONFIG_SYS_PROMPT_HUSH_PS2 "> "#define CONFIG_SYS_LONGHELP -#define CONFIG_ENV_SIZE SZ_16K +#ifdef CONFIG_NAND_DAVINCI +#define CONFIG_ENV_SIZE SZ_256K +#define CONFIG_ENV_IS_IN_NAND +#define CONFIG_ENV_OFFSET 0x3C0000 +#undef CONFIG_ENV_IS_IN_FLASH +#endif -/* NYET -- #define CONFIG_BOOTDELAY 5 */ +#define CONFIG_BOOTDELAY 3#define CONFIG_BOOTCOMMAND \ "dhcp;bootm"#define CONFIG_BOOTARGS \
@@ -147,7 +151,7 @@/* U-Boot memory configuration */ #define CONFIG_STACKSIZE SZ_256K/* regular stack */ -#define CONFIG_SYS_MALLOC_LEN SZ_512K/* malloc() arena */ +#define CONFIG_SYS_MALLOC_LEN SZ_1M/* malloc() arena */ #define CONFIG_SYS_GBL_DATA_SIZE 128/* for initial data */ #define CONFIG_SYS_MEMTEST_START 0x87000000/* physical address */ #define CONFIG_SYS_MEMTEST_END 0x88000000/* test 16MB RAM */
Signature · 1 line
1.6.0.4
PATCH v2 1/1 ARM: DaVinci DM355: Updating the DM355 EVM config
Quoted 10 lines · s-paulraj at ti.com
From: Sandeep Paulraj <[email protected]>
This patch enables NAND support on the DM355 EVM. Changes in this patch mostly relate to adding the NAND support. This patch also defines a boot delay.
Signed-off-by Sandeep Paulraj <[email protected]>--- include/configs/davinci_dm355evm.h | 22 +++++++++++++--------- 1 files changed, 13 insertions(+), 9 deletions(-)
Scott please apply after the 4 bit patch handling
Best Regards,
J.