diff mbox series

[v1,7/7] verdin-imx8mm: add EEPROM support for carrier board

Message ID 1592857680-637-8-git-send-email-igor.opaniuk@gmail.com
State New
Headers show
Series Toradex: EEPROM storage support for Config Block | expand

Commit Message

Igor Opaniuk June 22, 2020, 8:28 p.m. UTC
From: Igor Opaniuk <igor.opaniuk at toradex.com>

Enable these Kconfig symbols:
TDX_CFG_BLOCK_EXTRA=y
TDX_HAVE_EEPROM_EXTRA=y

Signed-off-by: Igor Opaniuk <igor.opaniuk at toradex.com>
---

 board/toradex/verdin-imx8mm/Kconfig | 6 ++++++
 configs/verdin-imx8mm_defconfig     | 1 +
 2 files changed, 7 insertions(+)
diff mbox series

Patch

diff --git a/board/toradex/verdin-imx8mm/Kconfig b/board/toradex/verdin-imx8mm/Kconfig
index 8a2fe98..149aed6 100644
--- a/board/toradex/verdin-imx8mm/Kconfig
+++ b/board/toradex/verdin-imx8mm/Kconfig
@@ -12,9 +12,15 @@  config SYS_CONFIG_NAME
 config TDX_CFG_BLOCK
 	default y
 
+config TDX_CFG_BLOCK_EXTRA
+	default y
+
 config TDX_HAVE_MMC
 	default y
 
+config TDX_HAVE_EEPROM_EXTRA
+	default y
+
 config TDX_CFG_BLOCK_DEV
 	default "0"
 
diff --git a/configs/verdin-imx8mm_defconfig b/configs/verdin-imx8mm_defconfig
index f5b6e03..74cc8dd 100644
--- a/configs/verdin-imx8mm_defconfig
+++ b/configs/verdin-imx8mm_defconfig
@@ -74,6 +74,7 @@  CONFIG_MXC_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_MXC=y
 CONFIG_MISC=y
+CONFIG_I2C_EEPROM=y
 CONFIG_DM_MMC=y
 CONFIG_SUPPORT_EMMC_BOOT=y
 CONFIG_FSL_ESDHC_IMX=y