[U-Boot] [PATCH v3 4/4] ftsmc020: move ftsmc020 static mem controller to driver/mtd

Macpaul Lin macpaul at gmail.com
Thu Apr 28 09:33:52 CEST 2011


Hi Po-Yu,

2011/4/28 Po-Yu Chuang <ratbert.chuang at 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.

-- 
Best regards,
Macpaul Lin


More information about the U-Boot mailing list