
Hi Macpaul,
On Thu, Apr 28, 2011 at 3:33 PM, Macpaul Lin macpaul@gmail.com wrote:
Hi Po-Yu,
2011/4/28 Po-Yu Chuang ratbert.chuang@gmail.com:
Hi Macpaul,
-#include <asm/arch/ftsmc020.h> +#define CONFIG_FTSMC020
This is for drivers/mtd/Makefile.
+#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?
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.
After removed the #endif line, it builds again. I will submit a simple patch. Please check it later.
Thanks, :-) Po-Yu Chuang