[U-Boot,3/3] configs: am43xx_evm_qspiboot_defconfig: Move to DM
diff mbox series

Message ID 20180326075703.5834-4-vigneshr@ti.com
State Accepted
Commit c7aead110033593318b377acf20ea993d5ef593d
Delegated to: Tom Rini
Headers show
Series
  • AM437x: Add runtime DTB selection for QSPI Boot
Related show

Commit Message

Vignesh Raghavendra March 26, 2018, 7:57 a.m. UTC
Move am43xx_evm_qspiboot_defconfig to DM. This is required as SPI core
and TI QSPI driver no longer supports non DM interfaces.

Signed-off-by: Vignesh R <vigneshr@ti.com>
---
 configs/am43xx_evm_qspiboot_defconfig | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

Comments

Lokesh Vutla March 27, 2018, 2:54 p.m. UTC | #1
On Monday 26 March 2018 01:27 PM, Vignesh R wrote:
> Move am43xx_evm_qspiboot_defconfig to DM. This is required as SPI core
> and TI QSPI driver no longer supports non DM interfaces.
> 
> Signed-off-by: Vignesh R <vigneshr@ti.com>


Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>

Thanks and regards,
Lokesh

> ---
>  configs/am43xx_evm_qspiboot_defconfig | 10 +++++++++-
>  1 file changed, 9 insertions(+), 1 deletion(-)
> 
> diff --git a/configs/am43xx_evm_qspiboot_defconfig b/configs/am43xx_evm_qspiboot_defconfig
> index 2bc302c7ed97..3fbf701e601e 100644
> --- a/configs/am43xx_evm_qspiboot_defconfig
> +++ b/configs/am43xx_evm_qspiboot_defconfig
> @@ -3,6 +3,7 @@ CONFIG_ARM=y
>  CONFIG_ARCH_OMAP2PLUS=y
>  CONFIG_SYS_TEXT_BASE=0x30000000
>  CONFIG_AM43XX=y
> +CONFIG_DEFAULT_DEVICE_TREE="am437x-sk-evm"
>  CONFIG_DISTRO_DEFAULTS=y
>  CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,QSPI,QSPI_BOOT"
>  CONFIG_QSPI_BOOT=y
> @@ -23,10 +24,18 @@ CONFIG_CMD_SPI=y
>  CONFIG_CMD_USB=y
>  # CONFIG_CMD_SETEXPR is not set
>  CONFIG_CMD_EXT4_WRITE=y
> +CONFIG_OF_CONTROL=y
> +CONFIG_OF_LIST="am4372-generic am437x-sk-evm am437x-idk-evm"
> +CONFIG_DTB_RESELECT=y
> +CONFIG_MULTI_DTB_FIT=y
>  CONFIG_ENV_IS_IN_SPI_FLASH=y
> +CONFIG_DM=y
> +# CONFIG_BLK is not set
>  CONFIG_DFU_MMC=y
>  CONFIG_DFU_RAM=y
>  CONFIG_DFU_SF=y
> +CONFIG_DM_GPIO=y
> +CONFIG_DM_MMC=y
>  CONFIG_MMC_OMAP_HS=y
>  CONFIG_SPI_FLASH=y
>  CONFIG_SPI_FLASH_MACRONIX=y
> @@ -48,4 +57,3 @@ CONFIG_USB_GADGET_VENDOR_NUM=0x0403
>  CONFIG_USB_GADGET_PRODUCT_NUM=0xbd00
>  CONFIG_USB_GADGET_DOWNLOAD=y
>  CONFIG_FAT_WRITE=y
> -CONFIG_OF_LIBFDT=y
>
Tom Rini April 7, 2018, 1:26 p.m. UTC | #2
On Mon, Mar 26, 2018 at 01:27:03PM +0530, Vignesh R wrote:

> Move am43xx_evm_qspiboot_defconfig to DM. This is required as SPI core
> and TI QSPI driver no longer supports non DM interfaces.
> 
> Signed-off-by: Vignesh R <vigneshr@ti.com>
> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>

Applied to u-boot/master, thanks!

Patch
diff mbox series

diff --git a/configs/am43xx_evm_qspiboot_defconfig b/configs/am43xx_evm_qspiboot_defconfig
index 2bc302c7ed97..3fbf701e601e 100644
--- a/configs/am43xx_evm_qspiboot_defconfig
+++ b/configs/am43xx_evm_qspiboot_defconfig
@@ -3,6 +3,7 @@  CONFIG_ARM=y
 CONFIG_ARCH_OMAP2PLUS=y
 CONFIG_SYS_TEXT_BASE=0x30000000
 CONFIG_AM43XX=y
+CONFIG_DEFAULT_DEVICE_TREE="am437x-sk-evm"
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,QSPI,QSPI_BOOT"
 CONFIG_QSPI_BOOT=y
@@ -23,10 +24,18 @@  CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_EXT4_WRITE=y
+CONFIG_OF_CONTROL=y
+CONFIG_OF_LIST="am4372-generic am437x-sk-evm am437x-idk-evm"
+CONFIG_DTB_RESELECT=y
+CONFIG_MULTI_DTB_FIT=y
 CONFIG_ENV_IS_IN_SPI_FLASH=y
+CONFIG_DM=y
+# CONFIG_BLK is not set
 CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
 CONFIG_DFU_SF=y
+CONFIG_DM_GPIO=y
+CONFIG_DM_MMC=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_MACRONIX=y
@@ -48,4 +57,3 @@  CONFIG_USB_GADGET_VENDOR_NUM=0x0403
 CONFIG_USB_GADGET_PRODUCT_NUM=0xbd00
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_FAT_WRITE=y
-CONFIG_OF_LIBFDT=y