x86: dts: switch spi-flash to jedec, spi-nor compatible

The x86 code and DT uses "spi-flash" to detect a flash node, switch to
"jedec,spi-nor" in the DTS files and in fdtdec by switching the
GENERIC_SPI_FLASH value to to jedec,spi-nor.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
This commit is contained in:
Neil Armstrong 2019-02-10 10:16:21 +00:00 committed by Jagan Teki
parent ffd4c7c2ec
commit 51e4e3e5d0
13 changed files with 13 additions and 13 deletions

View file

@ -175,7 +175,7 @@
#size-cells = <1>; #size-cells = <1>;
reg = <0>; reg = <0>;
compatible = "winbond,w25q64dw", compatible = "winbond,w25q64dw",
"spi-flash"; "jedec,spi-nor";
memory-map = <0xff800000 0x00800000>; memory-map = <0xff800000 0x00800000>;
rw-mrc-cache { rw-mrc-cache {
label = "rw-mrc-cache"; label = "rw-mrc-cache";

View file

@ -199,7 +199,7 @@
#size-cells = <1>; #size-cells = <1>;
reg = <0>; reg = <0>;
compatible = "macronix,mx25l6405d", compatible = "macronix,mx25l6405d",
"spi-flash"; "jedec,spi-nor";
memory-map = <0xff800000 0x00800000>; memory-map = <0xff800000 0x00800000>;
rw-mrc-cache { rw-mrc-cache {
label = "rw-mrc-cache"; label = "rw-mrc-cache";

View file

@ -147,7 +147,7 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
reg = <0>; reg = <0>;
compatible = "macronix,mx25u6435f", "spi-flash"; compatible = "macronix,mx25u6435f", "jedec,spi-nor";
memory-map = <0xff800000 0x00800000>; memory-map = <0xff800000 0x00800000>;
rw-mrc-cache { rw-mrc-cache {
label = "rw-mrc-cache"; label = "rw-mrc-cache";

View file

@ -429,7 +429,7 @@
u-boot,dm-pre-reloc; u-boot,dm-pre-reloc;
reg = <0>; reg = <0>;
compatible = "winbond,w25q64", compatible = "winbond,w25q64",
"spi-flash"; "jedec,spi-nor";
memory-map = <0xff800000 0x00800000>; memory-map = <0xff800000 0x00800000>;
rw-mrc-cache { rw-mrc-cache {
label = "rw-mrc-cache"; label = "rw-mrc-cache";

View file

@ -567,7 +567,7 @@
#address-cells = <1>; #address-cells = <1>;
reg = <0>; reg = <0>;
compatible = "winbond,w25q64", compatible = "winbond,w25q64",
"spi-flash"; "jedec,spi-nor";
memory-map = <0xff800000 0x00800000>; memory-map = <0xff800000 0x00800000>;
rw-mrc-cache { rw-mrc-cache {
label = "rw-mrc-cache"; label = "rw-mrc-cache";

View file

@ -47,7 +47,7 @@
#address-cells = <1>; #address-cells = <1>;
reg = <0>; reg = <0>;
compatible = "winbond,w25q64", compatible = "winbond,w25q64",
"spi-flash"; "jedec,spi-nor";
memory-map = <0xff800000 0x00800000>; memory-map = <0xff800000 0x00800000>;
rw-mrc-cache { rw-mrc-cache {
label = "rw-mrc-cache"; label = "rw-mrc-cache";

View file

@ -186,7 +186,7 @@
#size-cells = <1>; #size-cells = <1>;
reg = <0>; reg = <0>;
compatible = "stmicro,n25q064a", compatible = "stmicro,n25q064a",
"spi-flash"; "jedec,spi-nor";
memory-map = <0xff800000 0x00800000>; memory-map = <0xff800000 0x00800000>;
rw-mrc-cache { rw-mrc-cache {
label = "rw-mrc-cache"; label = "rw-mrc-cache";

View file

@ -154,7 +154,7 @@
spi-flash@0 { spi-flash@0 {
reg = <0>; reg = <0>;
compatible = "winbond,w25q64bv", "spi-flash"; compatible = "winbond,w25q64bv", "jedec,spi-nor";
memory-map = <0xff800000 0x00800000>; memory-map = <0xff800000 0x00800000>;
}; };
}; };

View file

@ -224,7 +224,7 @@
spi-flash@0 { spi-flash@0 {
reg = <0>; reg = <0>;
compatible = "sst,25vf016b", compatible = "sst,25vf016b",
"spi-flash"; "jedec,spi-nor";
memory-map = <0xffe00000 0x00200000>; memory-map = <0xffe00000 0x00200000>;
}; };
}; };

View file

@ -197,7 +197,7 @@
#size-cells = <1>; #size-cells = <1>;
reg = <0>; reg = <0>;
compatible = "stmicro,n25q064a", compatible = "stmicro,n25q064a",
"spi-flash"; "jedec,spi-nor";
memory-map = <0xff800000 0x00800000>; memory-map = <0xff800000 0x00800000>;
rw-mrc-cache { rw-mrc-cache {
label = "rw-mrc-cache"; label = "rw-mrc-cache";

View file

@ -139,7 +139,7 @@
#address-cells = <1>; #address-cells = <1>;
reg = <0>; reg = <0>;
compatible = "winbond,w25q64", compatible = "winbond,w25q64",
"spi-flash"; "jedec,spi-nor";
memory-map = <0xff800000 0x00800000>; memory-map = <0xff800000 0x00800000>;
rw-mrc-cache { rw-mrc-cache {
label = "rw-mrc-cache"; label = "rw-mrc-cache";

View file

@ -199,7 +199,7 @@
#size-cells = <1>; #size-cells = <1>;
reg = <0>; reg = <0>;
compatible = "stmicro,n25q064a", compatible = "stmicro,n25q064a",
"spi-flash"; "jedec,spi-nor";
memory-map = <0xff800000 0x00800000>; memory-map = <0xff800000 0x00800000>;
rw-mrc-cache { rw-mrc-cache {
label = "rw-mrc-cache"; label = "rw-mrc-cache";

View file

@ -45,7 +45,7 @@ static const char * const compat_names[COMPAT_COUNT] = {
COMPAT(SAMSUNG_EXYNOS_TMU, "samsung,exynos-tmu"), COMPAT(SAMSUNG_EXYNOS_TMU, "samsung,exynos-tmu"),
COMPAT(SAMSUNG_EXYNOS_MIPI_DSI, "samsung,exynos-mipi-dsi"), COMPAT(SAMSUNG_EXYNOS_MIPI_DSI, "samsung,exynos-mipi-dsi"),
COMPAT(SAMSUNG_EXYNOS_DWMMC, "samsung,exynos-dwmmc"), COMPAT(SAMSUNG_EXYNOS_DWMMC, "samsung,exynos-dwmmc"),
COMPAT(GENERIC_SPI_FLASH, "spi-flash"), COMPAT(GENERIC_SPI_FLASH, "jedec,spi-nor"),
COMPAT(SAMSUNG_EXYNOS_SYSMMU, "samsung,sysmmu-v3.3"), COMPAT(SAMSUNG_EXYNOS_SYSMMU, "samsung,sysmmu-v3.3"),
COMPAT(INTEL_MICROCODE, "intel,microcode"), COMPAT(INTEL_MICROCODE, "intel,microcode"),
COMPAT(INTEL_QRK_MRC, "intel,quark-mrc"), COMPAT(INTEL_QRK_MRC, "intel,quark-mrc"),