arm: kirkwood: configs: dreamplug: Convert to DM_SPI
authorChris Packham <judge.packham@gmail.com>
Wed, 21 Nov 2018 09:22:23 +0000 (22:22 +1300)
committerStefan Roese <sr@denx.de>
Fri, 30 Nov 2018 09:58:10 +0000 (10:58 +0100)
Enable CONFIG_DM_SPI=y and CONFIG_DM_SPI_FLASH=y in the defconfig.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
configs/dreamplug_defconfig
include/configs/dreamplug.h

index 76c768006d35d5d366e3e57d1ea7a01b7e18c0b8..d3263cf9cd3fb0e4f946d112316bfffaad8aefc6 100644 (file)
@@ -26,6 +26,7 @@ CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_DM=y
 CONFIG_MVSATA_IDE=y
 # CONFIG_MMC is not set
+CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_MACRONIX=y
 CONFIG_MVGBE=y
@@ -34,6 +35,7 @@ CONFIG_DM_RTC=y
 CONFIG_RTC_MV=y
 CONFIG_SYS_NS16550=y
 CONFIG_SPI=y
+CONFIG_DM_SPI=y
 CONFIG_KIRKWOOD_SPI=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
index 1c94bf9fa1bf9eb5ae4a183eb42c0b2c2fee4675..f4d717213ce172ecab751d88387864d99a81d86e 100644 (file)
@@ -35,7 +35,6 @@
 #endif
 
 #ifdef CONFIG_CMD_SF
-#define CONFIG_HARD_SPI                        1
 #define CONFIG_ENV_SPI_BUS             0
 #define CONFIG_ENV_SPI_CS              0
 #define CONFIG_ENV_SPI_MAX_HZ          50000000 /* 50 MHz */