[PATCH 09/10] configs: am62x_lpsk_a53_defconfig: Enable support for building multiple dtbs into FIT

Nitin Yadav n-yadav at ti.com
Wed Apr 26 11:39:05 CEST 2023


Enable configs for building multiple dtbs into a single fit image
and load the right dtb for next stage. Add k3-am62-lp-sk board dtb
along with evm dtb inside DTB FIT image. This helps to use same
defconfig for both AM62x SK and AM62x LP SK. Enable I2C and EEPROM
related defconfig to determine correct board ID.

Signed-off-by: Nitin Yadav <n-yadav at ti.com>
---
 configs/am62x_evm_a53_defconfig | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/configs/am62x_evm_a53_defconfig b/configs/am62x_evm_a53_defconfig
index cc9c8eab3e..8df93464d7 100644
--- a/configs/am62x_evm_a53_defconfig
+++ b/configs/am62x_evm_a53_defconfig
@@ -11,8 +11,18 @@ CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
 CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x80480000
 CONFIG_SPL_DM_SPI=y
 CONFIG_DEFAULT_DEVICE_TREE="k3-am625-sk"
+CONFIG_OF_LIST="k3-am625-sk k3-am62-lp-sk"
+CONFIG_ENV_IS_IN_FAT=y
 CONFIG_SPL_TEXT_BASE=0x80080000
 CONFIG_DM_RESET=y
+CONFIG_BOARD_LATE_INIT=y
+CONFIG_I2C_EEPROM=y
+CONFIG_SPL_I2C_EEPROM=y
+CONFIG_TI_I2C_BOARD_DETECT=y
+CONFIG_SPL_I2C=y
+CONFIG_DM_I2C=y
+CONFIG_SYS_I2C_OMAP24XX=y
+CONFIG_CMD_I2C=y
 CONFIG_SPL_MMC=y
 CONFIG_SPL_SERIAL=y
 CONFIG_SPL_STACK_R_ADDR=0x82000000
-- 
2.25.1



More information about the U-Boot mailing list