
Enable CONFIG_OF_CONTROL and define CONFIG_DEFAULT_DEVICE_TREE in ls1021axxx_qspi_defconfig. DSPI and QSPI have converted to Driver Model. Those options are needed by Driver Model driver. DSPI and QSPI are only enabled when boot from QSPI. So this patch only enable those optipns when boot from QSPI.
Signed-off-by: Haikun Wang Haikun.Wang@freescale.com ---
Changes in v2: - Enable CONFIG_OF_CONTROL - Using the savedefconfig feature - Only Changeing the defconfig when boot from QSPI
Changes in v1: None
configs/ls1021aqds_qspi_defconfig | 2 ++ configs/ls1021atwr_qspi_defconfig | 2 ++ 2 files changed, 4 insertions(+)
diff --git a/configs/ls1021aqds_qspi_defconfig b/configs/ls1021aqds_qspi_defconfig index ee3f5ca..338b0cd 100644 --- a/configs/ls1021aqds_qspi_defconfig +++ b/configs/ls1021aqds_qspi_defconfig @@ -1,3 +1,5 @@ CONFIG_ARM=y CONFIG_TARGET_LS1021AQDS=y +CONFIG_DEFAULT_DEVICE_TREE="ls1021a-qds" CONFIG_SYS_EXTRA_OPTIONS="QSPI_BOOT" +CONFIG_OF_CONTROL=y diff --git a/configs/ls1021atwr_qspi_defconfig b/configs/ls1021atwr_qspi_defconfig index 57e180d..34e47a9 100644 --- a/configs/ls1021atwr_qspi_defconfig +++ b/configs/ls1021atwr_qspi_defconfig @@ -1,3 +1,5 @@ CONFIG_ARM=y CONFIG_TARGET_LS1021ATWR=y +CONFIG_DEFAULT_DEVICE_TREE="ls1021a-twr" CONFIG_SYS_EXTRA_OPTIONS="QSPI_BOOT" +CONFIG_OF_CONTROL=y