diff options
author | Wolfgang Denk <wd@denx.de> | 2008-07-31 10:12:09 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-31 10:12:09 +0200 |
commit | 3c95960e526b3b026da20201db64526f46faf14b (patch) | |
tree | a49632cdd98f7dd6f477517176ef2eb43c53d3d5 /include/configs/at91rm9200dk.h | |
parent | 1ca9950b46c0aded14c80f728f6238625d723a19 (diff) | |
download | bootable_bootloader_goldelico_gta04-3c95960e526b3b026da20201db64526f46faf14b.zip bootable_bootloader_goldelico_gta04-3c95960e526b3b026da20201db64526f46faf14b.tar.gz bootable_bootloader_goldelico_gta04-3c95960e526b3b026da20201db64526f46faf14b.tar.bz2 |
at91rm9200dk, csb637: fix NAND related build problems
Tried fixing NAND support for the at91rm9200dk board; untested.
Disabled NAND support in the csb637 board config file.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'include/configs/at91rm9200dk.h')
-rw-r--r-- | include/configs/at91rm9200dk.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/include/configs/at91rm9200dk.h b/include/configs/at91rm9200dk.h index 951ce16..cd2eae2 100644 --- a/include/configs/at91rm9200dk.h +++ b/include/configs/at91rm9200dk.h @@ -112,16 +112,11 @@ */ #include <config_cmd_default.h> -#define CONFIG_CMD_MII #define CONFIG_CMD_DHCP +#define CONFIG_CMD_MII +#define CONFIG_CMD_NAND -#undef CONFIG_CMD_BDI -#undef CONFIG_CMD_IMI -#undef CONFIG_CMD_AUTOSCRIPT -#undef CONFIG_CMD_FPGA -#undef CONFIG_CMD_MISC -#undef CONFIG_CMD_LOADS - +#define CFG_NAND_LEGACY #define CFG_MAX_NAND_DEVICE 1 /* Max number of NAND devices */ #define SECTORSIZE 512 @@ -137,6 +132,7 @@ #define AT91_SMART_MEDIA_ALE (1 << 22) /* our ALE is AD22 */ #define AT91_SMART_MEDIA_CLE (1 << 21) /* our CLE is AD21 */ +#include <asm/arch/AT91RM9200.h> /* needed for port definitions */ #define NAND_DISABLE_CE(nand) do { *AT91C_PIOC_SODR = AT91C_PIO_PC0;} while(0) #define NAND_ENABLE_CE(nand) do { *AT91C_PIOC_CODR = AT91C_PIO_PC0;} while(0) |