diff mbox series

[U-Boot] ARM: da850-evm: Replace CMD_SF with CMD_MTD

Message ID 20190726233113.18532-1-aford173@gmail.com
State Accepted
Delegated to: Tom Rini
Headers show
Series [U-Boot] ARM: da850-evm: Replace CMD_SF with CMD_MTD | expand

Commit Message

Adam Ford July 26, 2019, 11:31 p.m. UTC
This patch enables MTD and CMD_MTD and it works with SPI NOR,
so the older CMD_SF can be removed.

Signed-off-by: Adam Ford <aford173@gmail.com>

Comments

Tom Rini Aug. 1, 2019, 3:36 a.m. UTC | #1
On Fri, Jul 26, 2019 at 06:31:13PM -0500, Adam Ford wrote:

> This patch enables MTD and CMD_MTD and it works with SPI NOR,
> so the older CMD_SF can be removed.
> 
> Signed-off-by: Adam Ford <aford173@gmail.com>
> 
> diff --git a/configs/da850evm_defconfig b/configs/da850evm_defconfig
> index 234bc2c8cb..81dce349aa 100644

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/configs/da850evm_defconfig b/configs/da850evm_defconfig
index 234bc2c8cb..81dce349aa 100644
--- a/configs/da850evm_defconfig
+++ b/configs/da850evm_defconfig
@@ -30,6 +30,8 @@  CONFIG_CRC32_VERIFY=y
 CONFIG_CMD_DM=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_GPT is not set
+CONFIG_CMD_MTD=y
+# CONFIG_CMD_SF is not set
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_TIME is not set
 # CONFIG_CMD_EXT4 is not set
@@ -52,6 +54,7 @@  CONFIG_DA8XX_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_DAVINCI=y
 CONFIG_DM_MMC=y
+CONFIG_MTD=y
 CONFIG_MTD_DEVICE=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y