[PATCH v2 08/14] verdin-imx8mm: add EEPROM support for carrier board

Igor Opaniuk
2020-07-15T10:30:59Z

From: Igor Opaniuk <igor.opaniuk@toradex.com>

Enable these Kconfig symbols:
TDX_CFG_BLOCK_EXTRA=y
TDX_HAVE_EEPROM_EXTRA=y

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

(no changes since v1)

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

diff --git a/board/toradex/verdin-imx8mm/Kconfig b/board/toradex/verdin-imx8mm/Kconfig
index 8a2fe98682..149aed6da7 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 302345f17a..d1c951f122 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
--
2.17.1