diff options
author | Macpaul Lin <macpaul@andestech.com> | 2011-04-15 21:37:11 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-04-27 19:38:10 +0200 |
commit | 00d10eb0410d2459727307d5eea562247959db2f (patch) | |
tree | 5dce5be7bb313f1fbc0c5afa188333a9b5420880 /include/configs/a320evb.h | |
parent | 5656b40bb3937d381ea31662c8eb657f17a3fce7 (diff) | |
download | u-boot-00d10eb0410d2459727307d5eea562247959db2f.tar.gz |
ftsmc020: move ftsmc020 static mem controller to driver/mtd
Move the header file and definitions of ftsmc020
static memory control unit from a320 SoC folder to
"drivers/mtd" folder.
This change will let other SoC which also use ftsmc020
could share the same header file.
Signed-off-by: Macpaul Lin <macpaul@andestech.com>
Diffstat (limited to 'include/configs/a320evb.h')
-rw-r--r-- | include/configs/a320evb.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/configs/a320evb.h b/include/configs/a320evb.h index 5373bcb570..4b297f0239 100644 --- a/include/configs/a320evb.h +++ b/include/configs/a320evb.h @@ -163,7 +163,8 @@ * Static memory controller configuration */ -#include <asm/arch/ftsmc020.h> +#define CONFIG_FTSMC020 +#include <faraday/ftsmc020.h> #define FTSMC020_BANK0_CONFIG (FTSMC020_BANK_ENABLE | \ FTSMC020_BANK_BASE(PHYS_FLASH_1) | \ @@ -196,6 +197,7 @@ { FTSMC020_BANK0_CONFIG, FTSMC020_BANK0_TIMING, }, \ { FTSMC020_BANK1_CONFIG, FTSMC020_BANK1_TIMING, }, \ } +#endif /* CONFIG_FTSMC020 */ /*----------------------------------------------------------------------- * FLASH and environment organization |