[U-Boot] [PATCH] spi: add "jedec,spi-nor" to spi_flash_std_ids
Jagan Teki
jagannadh.teki at gmail.com
Mon Aug 28 11:21:24 UTC 2017
On Tue, Aug 8, 2017 at 10:27 AM, Chris Packham <judge.packham at gmail.com> wrote:
> "jedec,spi-nor" is used by Linux for many boards with spi flash. In fact
> according to the binding documentation this must be included for any SPI
> NOR flash that can be identified by the JEDEC READ ID opcode (0x9F).
> Make device trees more portable between Linux an U-Boot by supporting
> "jedec,spi-nor" in addition to the U-Boot specific "spi-flash".
>
> Signed-off-by: Chris Packham <judge.packham at gmail.com>
> ---
> This fixes my issues with the spi speed selection on db-88f6820-amc. I
> didn't find anything in the commit message from the initial
> implementation saying that "jedec,spi-nor" was omitted intentionally so
> I've settled on this instead of updating armada-385-amc.dts.
>
> If there is a good reason not to make this change I'm happy to submit a patch
> that just updates armada-385-amc.dts.
At this point try to use spi-flash in dts since we're in WIP for
spi-nor support once ie in-place then only we have sync the compatible
of what Linux is using.
thanks!
--
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.
More information about the U-Boot
mailing list