From ecfbaa869aa8bd318a017e557faefac2353e9a60 Mon Sep 17 00:00:00 2001 From: Haikun Wang Date: Sat, 27 Jun 2015 21:51:05 +0530 Subject: [PATCH] defconfig: ls1021a: Add OF_CONTROL and DM support PI and QSPI only work when boot from QSPI on ls1021a. This patch only enable options in qspi boot defconfig. Signed-off-by: Haikun Wang Tested-by: Haikun Wang Signed-off-by: Jagan Teki --- configs/ls1021aqds_qspi_defconfig | 4 ++++ configs/ls1021atwr_qspi_defconfig | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/configs/ls1021aqds_qspi_defconfig b/configs/ls1021aqds_qspi_defconfig index 1db9129de0..6a1f7110f4 100644 --- a/configs/ls1021aqds_qspi_defconfig +++ b/configs/ls1021aqds_qspi_defconfig @@ -3,4 +3,8 @@ CONFIG_TARGET_LS1021AQDS=y CONFIG_SYS_EXTRA_OPTIONS="QSPI_BOOT" # CONFIG_CMD_IMLS is not set # CONFIG_CMD_SETEXPR is not set +CONFIG_DEFAULT_DEVICE_TREE="ls1021a-qds" +CONFIG_OF_CONTROL=y +CONFIG_DM=y +CONFIG_DM_SPI=y CONFIG_SPI_FLASH=y diff --git a/configs/ls1021atwr_qspi_defconfig b/configs/ls1021atwr_qspi_defconfig index 9eb88b3efa..420cfe77bc 100644 --- a/configs/ls1021atwr_qspi_defconfig +++ b/configs/ls1021atwr_qspi_defconfig @@ -3,4 +3,8 @@ CONFIG_TARGET_LS1021ATWR=y CONFIG_SYS_EXTRA_OPTIONS="QSPI_BOOT" # CONFIG_CMD_IMLS is not set # CONFIG_CMD_SETEXPR is not set +CONFIG_DEFAULT_DEVICE_TREE="ls1021a-twr" +CONFIG_OF_CONTROL=y +CONFIG_DM=y +CONFIG_DM_SPI=y CONFIG_SPI_FLASH=y -- 2.30.2