]> git.baikalelectronics.ru Git - uboot.git/commit
mtd: spi: sf_probe: Add "jedec, spi-nor" compatible string
authorVignesh R <vigneshr@ti.com>
Tue, 5 Feb 2019 05:59:22 +0000 (11:29 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 7 Feb 2019 10:03:21 +0000 (15:33 +0530)
commit226ec266a3542d8046997d0711e21049ab87fddc
tree1a4285b4510d1a3947650f971b82d75a56a3ba06
parent36d73bf75a8c83119a4e4c1f2cafdab901a9820c
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.

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
drivers/mtd/spi/sf_probe.c