summaryrefslogtreecommitdiff
path: root/configs/j7200_evm_a72_defconfig
diff options
context:
space:
mode:
authorManorit Chawdhry <m-chawdhry@ti.com>2023-02-24 08:07:49 +0300
committerTom Rini <trini@konsulko.com>2023-03-07 01:05:40 +0300
commite352e1061f4c9a8adb70b6ff819890c42e5b3ef7 (patch)
tree7f3280435966add8e32d5aef9acd836eabdd17e6 /configs/j7200_evm_a72_defconfig
parentc714045cc3c0c36bc836c909e74db3273a7dd390 (diff)
downloadu-boot-e352e1061f4c9a8adb70b6ff819890c42e5b3ef7.tar.xz
configs: j7200: Merge HS and non-HS defconfigs
K3 devices have runtime type board detection. Make the default defconfig include the secure configuration. Then remove the HS specific config. Non-HS devices will continue to boot due to runtime device type detection. If TI_SECURE_DEV_PKG is not set the build will emit warnings, for non-HS devices these can be ignored. Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com> Acked-by: Andrew Davis <afd@ti.com>
Diffstat (limited to 'configs/j7200_evm_a72_defconfig')
-rw-r--r--configs/j7200_evm_a72_defconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/configs/j7200_evm_a72_defconfig b/configs/j7200_evm_a72_defconfig
index 74903138e5..e33b3f17cb 100644
--- a/configs/j7200_evm_a72_defconfig
+++ b/configs/j7200_evm_a72_defconfig
@@ -1,5 +1,6 @@
CONFIG_ARM=y
CONFIG_ARCH_K3=y
+CONFIG_TI_SECURE_DEVICE=y
CONFIG_SYS_MALLOC_LEN=0x2000000
CONFIG_SYS_MALLOC_F_LEN=0x8000
CONFIG_SPL_GPIO=y
@@ -32,7 +33,7 @@ CONFIG_DISTRO_DEFAULTS=y
CONFIG_SPL_LOAD_FIT=y
CONFIG_SPL_LOAD_FIT_ADDRESS=0x81000000
CONFIG_OF_BOARD_SETUP=y
-CONFIG_BOOTCOMMAND="run findfdt; run envboot; run init_${boot}; run boot_rprocs; run get_kern_${boot}; run get_fdt_${boot}; run get_overlay_${boot}; run run_kern"
+CONFIG_BOOTCOMMAND="run findfdt; run envboot; run init_${boot}; run boot_rprocs; if test ${boot_fit} -eq 1; then run get_fit_${boot}; run get_overlaystring; run run_fit; else; run get_kern_${boot}; run get_fdt_${boot}; run get_overlay_${boot}; run run_kern; fi;"
CONFIG_LOGLEVEL=7
CONFIG_SPL_MAX_SIZE=0xc0000
CONFIG_SPL_HAS_BSS_LINKER_SECTION=y