diff options
author | Dave Liu <daveliu@freescale.com> | 2008-11-04 14:55:06 +0800 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2009-01-23 10:32:45 -0600 |
commit | 1ac5744e33ee0aa6d6ddab3b99f9e70953156e69 (patch) | |
tree | 278c7b54a8bf335783e839d0df25589a6f052827 /include/configs/MPC8315ERDB.h | |
parent | ef0921d6b05aeb9034158f9bef5323d6da9c925e (diff) | |
download | bootable_bootloader_goldelico_gta04-1ac5744e33ee0aa6d6ddab3b99f9e70953156e69.zip bootable_bootloader_goldelico_gta04-1ac5744e33ee0aa6d6ddab3b99f9e70953156e69.tar.gz bootable_bootloader_goldelico_gta04-1ac5744e33ee0aa6d6ddab3b99f9e70953156e69.tar.bz2 |
mpc83xx: enable eLBC NAND support for MPC8315ERDB board
Signed-off-by: Dave Liu <daveliu@freescale.com>
Diffstat (limited to 'include/configs/MPC8315ERDB.h')
-rw-r--r-- | include/configs/MPC8315ERDB.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/include/configs/MPC8315ERDB.h b/include/configs/MPC8315ERDB.h index add65f0..48043c4 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<<BR_DECC_SHIFT) /* Use HW ECC */ \ | BR_PS_8 /* Port Size = 8 bit */ \ | BR_MS_FCM /* MSEL = FCM */ \ | BR_V ) /* valid */ -#define CONFIG_SYS_OR1_PRELIM ( 0xFFFF8000 /* length 32K */ \ +#define CONFIG_SYS_OR1_PRELIM ( 0xFFFF8000 /* length 32K */ \ | OR_FCM_CSCT \ | OR_FCM_CST \ | OR_FCM_CHT \ |