]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: am64x_evm_a53: Enable support for reading eeprom
authorLokesh Vutla <lokeshvutla@ti.com>
Thu, 6 May 2021 11:15:04 +0000 (16:45 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Wed, 12 May 2021 11:06:38 +0000 (16:36 +0530)
Enable relevant configs for reading eeprom data and updating env
variables.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
board/ti/am64x/Kconfig
configs/am64x_evm_a53_defconfig

index 7150dbb3b02d64246d81721b7d04f48fdebb2739..d4ec759d7f9718ecfd2fb91731b009a4241ff50f 100644 (file)
@@ -12,6 +12,7 @@ config TARGET_AM642_A53_EVM
        select SOC_K3_AM642
        imply BOARD
        imply SPL_BOARD
+       imply TI_I2C_BOARD_DETECT
 
 config TARGET_AM642_R5_EVM
        bool "TI K3 based AM642 EVM running on R5"
@@ -38,6 +39,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
        default "am64x_evm"
 
+source "board/ti/common/Kconfig"
+
 endif
 
 if TARGET_AM642_R5_EVM
index 43885827a59d988fca6fd92955309799daac66b1..ab87e98fffa7c09440fdcb79b726c942e9ae03ca 100644 (file)
@@ -23,6 +23,7 @@ CONFIG_DISTRO_DEFAULTS=y
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_LOAD_FIT=y
 CONFIG_BOOTCOMMAND="run findfdt; run envboot; run init_${boot}; run get_kern_${boot}; run get_fdt_${boot}; run run_kern"
+CONFIG_BOARD_LATE_INIT=y
 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_SEPARATE_BSS=y
@@ -35,6 +36,7 @@ CONFIG_SPL_RAM_DEVICE=y
 CONFIG_SPL_SPI_LOAD=y
 CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_TIME=y
 CONFIG_OF_CONTROL=y
@@ -57,6 +59,8 @@ CONFIG_CLK_TI_SCI=y
 CONFIG_DMA_CHANNELS=y
 CONFIG_TI_K3_NAVSS_UDMA=y
 CONFIG_TI_SCI_PROTOCOL=y
+CONFIG_DM_I2C=y
+CONFIG_SYS_I2C_OMAP24XX=y
 CONFIG_DM_MAILBOX=y
 CONFIG_K3_SEC_PROXY=y
 CONFIG_DM_MMC=y