projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c92780
)
mtd: spi: sf_probe: Add "jedec, spi-nor" compatible string
author
Vignesh R
<
[email protected]
>
Tue, 5 Feb 2019 05:59:22 +0000
(11:29 +0530)
committer
Jagan Teki
<
[email protected]
>
Thu, 7 Feb 2019 10:03:21 +0000
(15:33 +0530)
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 <
[email protected]
>
Tested-by: Simon Goldschmidt <
[email protected]
>
Tested-by: Stefan Roese <
[email protected]
>
Tested-by: Horatiu Vultur <
[email protected]
Reviewed-by: Jagan Teki <
[email protected]
>
Tested-by: Jagan Teki <
[email protected]
> #zynq-microzed
drivers/mtd/spi/sf_probe.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/spi/sf_probe.c
b/drivers/mtd/spi/sf_probe.c
index 00f8558e7019e9f7b6f2cf0a6d4c2b4a2916c497..7a379914d8f1be9453de7e9a63c22f3352843f87 100644
(file)
--- a/
drivers/mtd/spi/sf_probe.c
+++ b/
drivers/mtd/spi/sf_probe.c
@@
-161,6
+161,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" },
{ }
};