summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuniel Mahesh <sunil.m@techveda.org>2019-07-30 13:25:21 +0530
committerTom Rini <trini@konsulko.com>2019-07-31 13:08:07 -0400
commit575ce432b8e0f42a4f4777c04a823c31e11a3a45 (patch)
tree2c33308a6786332df020eee786997d412d611c91
parenta9c5d4ba0ddc9c094d994f8b73318e6db8449c1d (diff)
downloadu-boot-575ce432b8e0f42a4f4777c04a823c31e11a3a45.tar.gz
u-boot-575ce432b8e0f42a4f4777c04a823c31e11a3a45.tar.bz2
u-boot-575ce432b8e0f42a4f4777c04a823c31e11a3a45.zip
configs: am335x_boneblack_vboot_defconfig: Add DM for SPI and Flash devices
This patch adds SPI and SPI_FLASH DM support for verified boot on TI AM335 chipsets. The following compile warning is removed: ===================== WARNING ====================== This board does not use CONFIG_DM_SPI_FLASH. Please update the board to use CONFIG_SPI_FLASH before the v2019.07 release. Failure to update by the deadline may result in board removal. See doc/driver-model/MIGRATION.txt for more info. ==================================================== Built and tested on AM335x device (BeagleboneBlack). Signed-off-by: Suniel Mahesh <sunil.m@techveda.org>
-rw-r--r--configs/am335x_boneblack_vboot_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/am335x_boneblack_vboot_defconfig b/configs/am335x_boneblack_vboot_defconfig
index a6c32acb9c..a7fcde6940 100644
--- a/configs/am335x_boneblack_vboot_defconfig
+++ b/configs/am335x_boneblack_vboot_defconfig
@@ -43,6 +43,7 @@ CONFIG_MISC=y
CONFIG_DM_MMC=y
CONFIG_MMC_OMAP_HS=y
# CONFIG_SPL_DM_MMC is not set
+CONFIG_DM_SPI_FLASH=y
CONFIG_SPI_FLASH=y
CONFIG_SF_DEFAULT_SPEED=24000000
CONFIG_SPI_FLASH_WINBOND=y
@@ -51,6 +52,7 @@ CONFIG_PHY_GIGE=y
CONFIG_MII=y
CONFIG_DRIVER_TI_CPSW=y
CONFIG_SPI=y
+CONFIG_DM_SPI=y
CONFIG_OMAP3_SPI=y
CONFIG_TIMER=y
CONFIG_OMAP_TIMER=y