[U-Boot] [PATCH v2 4/5] fdtdec: switch GENERIC_SPI_FLASH to jedec,	spi-nor
    Neil Armstrong 
    narmstrong at baylibre.com
       
    Thu Dec  6 09:51:21 UTC 2018
    
    
  
The x86 code uses "spi-flash" to detect a flash node, switch to
"jedec,spi-nor" since the DTS files has been switched already.
Signed-off-by: Neil Armstrong <narmstrong at baylibre.com>
---
 lib/fdtdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index cbdc077825..043b96b17b 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@ -49,7 +49,7 @@ static const char * const compat_names[COMPAT_COUNT] = {
 	COMPAT(SAMSUNG_EXYNOS_MIPI_DSI, "samsung,exynos-mipi-dsi"),
 	COMPAT(SAMSUNG_EXYNOS_DWMMC, "samsung,exynos-dwmmc"),
 	COMPAT(SAMSUNG_EXYNOS_MMC, "samsung,exynos-mmc"),
-	COMPAT(GENERIC_SPI_FLASH, "spi-flash"),
+	COMPAT(GENERIC_SPI_FLASH, "jedec,spi-nor"),
 	COMPAT(MAXIM_98095_CODEC, "maxim,max98095-codec"),
 	COMPAT(SAMSUNG_EXYNOS5_I2C, "samsung,exynos5-hsi2c"),
 	COMPAT(SAMSUNG_EXYNOS_SYSMMU, "samsung,sysmmu-v3.3"),
-- 
2.19.2
    
    
More information about the U-Boot
mailing list