[U-Boot] [PATCH 20/25] SPEAr: Enable ONFI nand flash detection for spear3xx and 6xx and evb

Amit Virdi amit.virdi at st.com
Tue Mar 27 08:09:59 CEST 2012


Stefan,

On 3/7/2012 8:04 PM, Stefan Roese wrote:
> On Wednesday 07 March 2012 13:04:09 Amit Virdi wrote:
>> From: Vipin Kumar<vipin.kumar at st.com>
>>
>> Signed-off-by: Vipin Kumar<vipin.kumar at st.com>
>> Signed-off-by: Amit Virdi<amit.virdi at st.com>
>> ---
>>   include/configs/spear-common.h |    2 ++
>>   1 files changed, 2 insertions(+), 0 deletions(-)
>>
>> diff --git a/include/configs/spear-common.h
>> b/include/configs/spear-common.h index bde99d2..4fb56ba 100644
>> --- a/include/configs/spear-common.h
>> +++ b/include/configs/spear-common.h
>> @@ -104,6 +104,8 @@
>>   #define CONFIG_NAND_FSMC
>>   #define CONFIG_SYS_MAX_NAND_DEVICE		1
>>   #define CONFIG_MTD_NAND_VERIFY_WRITE		1
>> +#define CONFIG_SYS_NAND_ONFI_DETECTION		1
>> +#define CONFIG_SYS_NAND_QUIET_TEST		1
>
> Remove the "1"'s please. And please also remove CONFIG_MTD_NAND_VERIFY_WRITE.
> Or is it really needed? I didn't need it on my SPEAr600 boards. And it slows
> NAND access unnecessarily down.
>

Yes, CONFIG_MTD_NAND_VERIFY_WRITE slows down the NAND access. Since it 
is only for verification purposes, I'll remove it in V2.

Thanks
Amit Virdi


More information about the U-Boot mailing list