[U-Boot] [PATCHv7 2/2] sf: Turn SPI flash chip into 3-Byte address mode
Jagan Teki
jteki at openedev.com
Fri Feb 12 10:39:42 CET 2016
Hi Hou Zhiqiang,
On 29 January 2016 at 12:56, Zhiqiang Hou <Zhiqiang.Hou at freescale.com> wrote:
> From: Hou Zhiqiang <Zhiqiang.Hou at freescale.com>
>
> For more than 16MiB SPI flash chips, there are 3-Byte and 4-Byte address
> mode, and only the 3-Byte address mode is supported in U-Boot so far.
> So, reset the SPI flash to 3-Byte address mode in probe to ensure the SPI
> flash work correctly, because it may has been set to 4-Byte address mode
> after warm boot.
I think this requirement seems to be specific for your hardware, and
my suggestion is to add 4-byte address support directly like BAR. Take
a reference of Linux and do the changes and I shall help at any point.
thanks!
--
Jagan.
More information about the U-Boot
mailing list