[PATCH 4/8] blance: Disable CONFIG_CMD_SF / CONFIG_CMD_SPI

Tom Rini trini at konsulko.com
Tue May 26 21:06:15 CEST 2020


The config header for this platform disables both CMD_SF and CMD_SPI and
the defconfig leaves them enabled.  Disable them from the defconfig and
enable them in the header.

Cc: Marek Vasut <marek.vasut+renesas at gmail.com>
Cc: Masakazu Mochizuki <masakazu.mochizuki.wd at hitachi.com>
Signed-off-by: Tom Rini <trini at konsulko.com>
---
This is a case where it's hard to tell if this is the correct fix or if
both should be enabled instead.
---
 configs/blanche_defconfig | 2 +-
 include/configs/blanche.h | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/configs/blanche_defconfig b/configs/blanche_defconfig
index 137acceea071..641b7790233b 100644
--- a/configs/blanche_defconfig
+++ b/configs/blanche_defconfig
@@ -24,7 +24,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PCI=y
 CONFIG_CMD_SDRAM=y
-CONFIG_CMD_SPI=y
+# CONFIG_CMD_SF is not set
 CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/include/configs/blanche.h b/include/configs/blanche.h
index fd29c5d0f1ed..f048f158ed2a 100644
--- a/include/configs/blanche.h
+++ b/include/configs/blanche.h
@@ -42,8 +42,6 @@
 #define CONFIG_SYS_FLASH_WRITE_TOUT	3000
 #define CONFIG_SYS_FLASH_LOCK_TOUT	3000
 #define CONFIG_SYS_FLASH_UNLOCK_TOUT	3000
-#undef  CONFIG_CMD_SF
-#undef  CONFIG_CMD_SPI
 #endif
 
 /* Board Clock */
-- 
2.17.1



More information about the U-Boot mailing list