[PATCH 10/10] configs: am62x_evm_r5_defconfig: Enable support for building multiple dtbs at R5 SPL

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


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

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

diff --git a/configs/am62x_evm_r5_defconfig b/configs/am62x_evm_r5_defconfig
index 44a9130d99..707afde1e5 100644
--- a/configs/am62x_evm_r5_defconfig
+++ b/configs/am62x_evm_r5_defconfig
@@ -12,7 +12,13 @@ CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x43c3a7f0
 CONFIG_ENV_SIZE=0x20000
 CONFIG_DM_GPIO=y
 CONFIG_SPL_DM_SPI=y
-CONFIG_DEFAULT_DEVICE_TREE="k3-am625-r5-sk"
+CONFIG_SPL_OF_LIST="k3-am625-generic k3-am625-r5-sk k3-am62-r5-lp-sk"
+CONFIG_DEFAULT_DEVICE_TREE="k3-am625-generic"
+CONFIG_ENV_OVERWRITE=y
+CONFIG_DM_I2C=y
+CONFIG_SPL_I2C=y
+CONFIG_TI_I2C_BOARD_DETECT=y
+CONFIG_SYS_I2C_OMAP24XX=y
 CONFIG_SPL_TEXT_BASE=0x43c00000
 CONFIG_DM_RESET=y
 CONFIG_SPL_MMC=y
-- 
2.25.1



More information about the U-Boot mailing list