UPSTREAM: mtd: spi: sf_probe: Add "jedec, spi-nor" compatible string
Linux uses "jedec,spi-nor" as compatible string for JEDEC compatible SPI Flash device nodes. Therefore make U-Boot also to look for the same compatible string so that we can use Linux DTS files as is. Change-Id: I4eea83ffe642240f398443bd73e6c331c64d3aac Signed-off-by: Vignesh R <vigneshr@ti.com> Tested-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Tested-by: Stefan Roese <sr@denx.de> Tested-by: Horatiu Vultur <horatiu.vultur@microchip.com Reviewed-by: Jagan Teki <jagan@openedev.com> Tested-by: Jagan Teki <jagan@amarulasolutions.com> #zynq-microzed Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit 2ee6705be01c430ad9f71c0bac02d1d59819072c)
This commit is contained in:
parent
95d92f5885
commit
a1e428c28f
|
|
@ -162,6 +162,7 @@ static const struct dm_spi_flash_ops spi_flash_std_ops = {
|
|||
|
||||
static const struct udevice_id spi_flash_std_ids[] = {
|
||||
{ .compatible = "spi-flash" },
|
||||
{ .compatible = "jedec,spi-nor" },
|
||||
{ }
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue