diff options
author | Michal Simek <monstr@monstr.eu> | 2008-03-28 11:53:02 +0100 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2008-04-08 15:38:14 +0200 |
commit | 188dc16b189143573b1ed90e584bf866d75cdd12 (patch) | |
tree | dab9fd607ac97ecaa2b8923f8b5f6b22af6ab7d9 /include/configs/ml401.h | |
parent | 4c6a6f02e239236261333759997eeaf86b30b54c (diff) | |
download | u-boot-imx-188dc16b189143573b1ed90e584bf866d75cdd12.zip u-boot-imx-188dc16b189143573b1ed90e584bf866d75cdd12.tar.gz u-boot-imx-188dc16b189143573b1ed90e584bf866d75cdd12.tar.bz2 |
microblaze: ml401 fix config file for supporting FDT
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'include/configs/ml401.h')
-rw-r--r-- | include/configs/ml401.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/include/configs/ml401.h b/include/configs/ml401.h index b167cb2..360e2e1 100644 --- a/include/configs/ml401.h +++ b/include/configs/ml401.h @@ -1,5 +1,5 @@ /* - * (C) Copyright 2007 Michal Simek + * (C) Copyright 2007-2008 Michal Simek * * Michal SIMEK <monstr@monstr.eu> * @@ -83,8 +83,8 @@ #define CONFIG_XILINX_CLOCK_FREQ XILINX_CLOCK_FREQ /* FSL */ -#define CFG_FSL_2 -#define FSL_INTR_2 1 +/* #define CFG_FSL_2 */ +/* #define FSL_INTR_2 1 */ /* * memory layout - Example @@ -155,9 +155,9 @@ #else /* !RAMENV */ #define CFG_ENV_IS_IN_FLASH 1 - #define CFG_ENV_ADDR 0x40000 #define CFG_ENV_SECT_SIZE 0x40000 /* 256K(one sector) for env */ - #define CFG_ENV_SIZE 0x2000 + #define CFG_ENV_ADDR (CFG_FLASH_BASE + (2 * CFG_ENV_SECT_SIZE)) + #define CFG_ENV_SIZE 0x40000 #endif /* !RAMBOOT */ #else /* !FLASH */ /* ENV in RAM */ @@ -256,4 +256,7 @@ "256k(u-boot),256k(env),3m(kernel),"\ "1m(romfs),1m(cramfs),-(jffs2)\0" +#define CONFIG_CMDLINE_EDITING +#define CONFIG_OF_LIBFDT 1 + #endif /* __CONFIG_H */ |