From: Dave Liu Date: Tue, 4 Nov 2008 06:55:06 +0000 (+0800) Subject: mpc83xx: enable eLBC NAND support for MPC8315ERDB board X-Git-Tag: v2009.03-rc1~200^2~11 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1ac5744e33ee0aa6d6ddab3b99f9e70953156e69;p=u-boot mpc83xx: enable eLBC NAND support for MPC8315ERDB board Signed-off-by: Dave Liu --- diff --git a/include/configs/MPC8315ERDB.h b/include/configs/MPC8315ERDB.h index add65f03d0..48043c493f 100644 --- a/include/configs/MPC8315ERDB.h +++ b/include/configs/MPC8315ERDB.h @@ -166,7 +166,7 @@ #undef CONFIG_SYS_RAMBOOT #endif -#define CONFIG_SYS_MONITOR_LEN (256 * 1024) /* Reserve 256 kB for Mon */ +#define CONFIG_SYS_MONITOR_LEN (384 * 1024) /* Reserve 384 kB for Mon */ #define CONFIG_SYS_MALLOC_LEN (512 * 1024) /* Reserved for malloc */ /* @@ -223,15 +223,17 @@ */ #define CONFIG_SYS_NAND_BASE 0xE0600000 /* 0xE0600000 */ #define CONFIG_SYS_MAX_NAND_DEVICE 1 -#define NAND_MAX_CHIPS 1 -#define CONFIG_MTD_NAND_VERIFY_WRITE +#define NAND_MAX_CHIPS 1 +#define CONFIG_MTD_NAND_VERIFY_WRITE 1 +#define CONFIG_CMD_NAND 1 +#define CONFIG_NAND_FSL_ELBC 1 -#define CONFIG_SYS_BR1_PRELIM ( CONFIG_SYS_NAND_BASE \ +#define CONFIG_SYS_BR1_PRELIM ( CONFIG_SYS_NAND_BASE \ | (2<