
Hi Po-Yu,
2011/4/28 Po-Yu Chuang ratbert.chuang@gmail.com:
Hi Macpaul,
-#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
At the time the patch has been generated, I could bulid a320evb. I'm not in the office in these 2 days. Could I check it and reply to you later?
According to your reply, I guess I was meant to support #define CONFIG_FTSMC020 in board's config file.
I'll check it later after 10:00 in Taiwan time. Sorry.