[U-Boot] [PATCH v3] sf: Add auto detection of 4-byte mode (vs standard 3-byte mode)

York Sun york.sun at nxp.com
Thu Oct 25 16:10:21 UTC 2018


On 10/25/18 08:59, Stefan Roese wrote:
> Hi York,
> 
> On 25.10.18 17:49, York Sun wrote:
>> Guys,
>>
>> Let get back to the original thread. Since Rajat's first reply, the
>> message id has been changed. All the comments were not captured by
>> patchwork.
> 
> I also wondered about this. Seems to have happened at some top-posting
> quite at the beginning of this thread.
>   

I am having trouble recently with office365. It seems breaking all my
email threads if senders use outlook.

>>
>>  From what I read, Rajat's method is to extend the controller driver to
>> support read SFDP and default to 4-byte mode if supported, or
>> overwritten by user's flag. Stefan's method is to read 4-byte status bit
>> and doesn't change controller driver.
> 
> Yes, the last sentence it correct.
> 
>> Is the default value of this 4-byte status bit valid and correct for all
>> cases?
> 
> This 4-byte address status bit implementation is SPI NOR chip
> specific (vendor specific?). With Simon's help we already support
> 2 vendors now. Extending for other vendors / chips is fairly
> easy.

Let's wait for Rajat's comment. If this method doesn't work for his
boards or his controllers, he still needs to extend controller's driver
feature.

York


More information about the U-Boot mailing list