Hi Macpaul, On Sat, Apr 16, 2011 at 3:37 PM, Macpaul Lin <macp...@andestech.com> wrote: > 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 <macp...@andestech.com>
This patch makes a320evb failed to build. > diff --git a/include/configs/a320evb.h b/include/configs/a320evb.h > index 5373bcb..4b297f0 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 */ Looks like this #endif is unnecessary? best regards, Po-Yu Chuang _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot