[U-Boot] [PATCH v4] cfi flash: add status polling method for amd flash
Thomas Chou
thomas at wytron.com.tw
Thu Mar 25 15:23:04 CET 2010
On 03/25/2010 07:49 PM, Wolfgang Denk wrote:
> Dear Thomas Chou,
>
> In message<1269397761-23394-1-git-send-email-thomas at wytron.com.tw> you wrote:
>
>> This patch adds status polling method to offer an alternative to
>> data toggle method for amd flash chips.
>>
>> This patch is needed for nios2 cfi flash interface, where the bus
>> controller performs 4 bytes read cycles for a single byte read
>> instruction. The data toggle method can not detect chip busy
>> status correctly. So we have to poll DQ7, which will be inverted
>> when the chip is busy.
>>
>> This feature is enabled with the config def,
>> CONFIG_SYS_CFI_FLASH_STATUS_POLL
>>
>> In flash_erase, the verbose printing of '.' is changed that it will
>> go with each sector whether successed or failed.
>>
> Please split this part off into a separate patch. This is a global
> change to the user interface and must be discussed separately.
>
> Best regards,
>
> Wolfgang Denk
>
>
Hi Wolfgang and Stefan,
I will restore the original printing so that the user interface won't
change.
Best regards,
Thomas
More information about the U-Boot
mailing list