x86: dts: switch spi-flash to jedec, spi-nor compatible
authorNeil Armstrong <narmstrong@baylibre.com>
Sun, 10 Feb 2019 10:16:21 +0000 (10:16 +0000)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 12 Apr 2019 05:24:27 +0000 (10:54 +0530)
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>
13 files changed:
arch/x86/dts/bayleybay.dts
arch/x86/dts/baytrail_som-db5800-som-6867.dts
arch/x86/dts/cherryhill.dts
arch/x86/dts/chromebook_link.dts
arch/x86/dts/chromebook_samus.dts
arch/x86/dts/chromebox_panther.dts
arch/x86/dts/conga-qeval20-qa3-e3845.dts
arch/x86/dts/cougarcanyon2.dts
arch/x86/dts/crownbay.dts
arch/x86/dts/dfi-bt700.dtsi
arch/x86/dts/galileo.dts
arch/x86/dts/minnowmax.dts
lib/fdtdec.c

index 291dc07..d0168e8 100644 (file)
                                        #size-cells = <1>;
                                        reg = <0>;
                                        compatible = "winbond,w25q64dw",
-                                               "spi-flash";
+                                               "jedec,spi-nor";
                                        memory-map = <0xff800000 0x00800000>;
                                        rw-mrc-cache {
                                                label = "rw-mrc-cache";
index 4e8a761..5abbc66 100644 (file)
                                        #size-cells = <1>;
                                        reg = <0>;
                                        compatible = "macronix,mx25l6405d",
-                                               "spi-flash";
+                                               "jedec,spi-nor";
                                        memory-map = <0xff800000 0x00800000>;
                                        rw-mrc-cache {
                                                label = "rw-mrc-cache";
index 39e2d2f..37146fd 100644 (file)
                                        #address-cells = <1>;
                                        #size-cells = <1>;
                                        reg = <0>;
-                                       compatible = "macronix,mx25u6435f", "spi-flash";
+                                       compatible = "macronix,mx25u6435f", "jedec,spi-nor";
                                        memory-map = <0xff800000 0x00800000>;
                                        rw-mrc-cache {
                                                label = "rw-mrc-cache";
index c5653fe..09488f1 100644 (file)
                                        u-boot,dm-pre-reloc;
                                        reg = <0>;
                                        compatible = "winbond,w25q64",
-                                                       "spi-flash";
+                                                       "jedec,spi-nor";
                                        memory-map = <0xff800000 0x00800000>;
                                        rw-mrc-cache {
                                                label = "rw-mrc-cache";
index ad687ce..35211ed 100644 (file)
                                        #address-cells = <1>;
                                        reg = <0>;
                                        compatible = "winbond,w25q64",
-                                                       "spi-flash";
+                                                       "jedec,spi-nor";
                                        memory-map = <0xff800000 0x00800000>;
                                        rw-mrc-cache {
                                                label = "rw-mrc-cache";
index f56e482..bcd4c4d 100644 (file)
@@ -47,7 +47,7 @@
                                        #address-cells = <1>;
                                        reg = <0>;
                                        compatible = "winbond,w25q64",
-                                               "spi-flash";
+                                               "jedec,spi-nor";
                                        memory-map = <0xff800000 0x00800000>;
                                        rw-mrc-cache {
                                                label = "rw-mrc-cache";
index 5884dbc..70b8c04 100644 (file)
                                        #size-cells = <1>;
                                        reg = <0>;
                                        compatible = "stmicro,n25q064a",
-                                               "spi-flash";
+                                               "jedec,spi-nor";
                                        memory-map = <0xff800000 0x00800000>;
                                        rw-mrc-cache {
                                                label = "rw-mrc-cache";
index 9801790..c6ba811 100644 (file)
 
                                spi-flash@0 {
                                        reg = <0>;
-                                       compatible = "winbond,w25q64bv", "spi-flash";
+                                       compatible = "winbond,w25q64bv", "jedec,spi-nor";
                                        memory-map = <0xff800000 0x00800000>;
                                };
                        };
index 8938a94..f492c35 100644 (file)
                                spi-flash@0 {
                                        reg = <0>;
                                        compatible = "sst,25vf016b",
-                                               "spi-flash";
+                                               "jedec,spi-nor";
                                        memory-map = <0xffe00000 0x00200000>;
                                };
                        };
index 51d33e7..e9930cb 100644 (file)
                                        #size-cells = <1>;
                                        reg = <0>;
                                        compatible = "stmicro,n25q064a",
-                                               "spi-flash";
+                                               "jedec,spi-nor";
                                        memory-map = <0xff800000 0x00800000>;
                                        rw-mrc-cache {
                                                label = "rw-mrc-cache";
index 3a5d168..5de4568 100644 (file)
                                        #address-cells = <1>;
                                        reg = <0>;
                                        compatible = "winbond,w25q64",
-                                               "spi-flash";
+                                               "jedec,spi-nor";
                                        memory-map = <0xff800000 0x00800000>;
                                        rw-mrc-cache {
                                                label = "rw-mrc-cache";
index 6c65fb9..f4cdb2c 100644 (file)
                                        #size-cells = <1>;
                                        reg = <0>;
                                        compatible = "stmicro,n25q064a",
-                                               "spi-flash";
+                                               "jedec,spi-nor";
                                        memory-map = <0xff800000 0x00800000>;
                                        rw-mrc-cache {
                                                label = "rw-mrc-cache";
index a51dc5e..21f1eee 100644 (file)
@@ -45,7 +45,7 @@ static const char * const compat_names[COMPAT_COUNT] = {
        COMPAT(SAMSUNG_EXYNOS_TMU, "samsung,exynos-tmu"),
        COMPAT(SAMSUNG_EXYNOS_MIPI_DSI, "samsung,exynos-mipi-dsi"),
        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(INTEL_MICROCODE, "intel,microcode"),
        COMPAT(INTEL_QRK_MRC, "intel,quark-mrc"),