From 74ac7a38be67a3f136315746a203de83a9f20bc2 Mon Sep 17 00:00:00 2001 From: Bryan Brattlof Date: Thu, 4 Dec 2025 06:50:38 -0600 Subject: [PATCH] boot/ti-k3-r5-loader: add defconfig fragment support There are multiple defconfig fragments we can select to modify the final tiboot3.bin image to support different boot methods or enable features supported by a board. Allow the ti-k3-r5-loader package to select defconfig gragments during a build Signed-off-by: Bryan Brattlof Signed-off-by: Romain Naour --- boot/ti-k3-r5-loader/Config.in | 6 ++++++ boot/ti-k3-r5-loader/ti-k3-r5-loader.mk | 1 + 2 files changed, 7 insertions(+) diff --git a/boot/ti-k3-r5-loader/Config.in b/boot/ti-k3-r5-loader/Config.in index b4fb46e55b..7eb471e6d5 100644 --- a/boot/ti-k3-r5-loader/Config.in +++ b/boot/ti-k3-r5-loader/Config.in @@ -95,6 +95,12 @@ config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_CONFIG_FILE help Path to the TI K3 R5 Loader configuration file. +config BR2_TARGET_TI_K3_R5_LOADER_CONFIG_FRAGMENT_FILES + string "Additional configuration fragment files" + help + A space-separated list of configuration fragment files, + that will be merged to the tiboot3.bin configuration file. + config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_DTS_PATH string "Device Tree Source file paths" help diff --git a/boot/ti-k3-r5-loader/ti-k3-r5-loader.mk b/boot/ti-k3-r5-loader/ti-k3-r5-loader.mk index db5c3cdaf8..178db5c0f3 100644 --- a/boot/ti-k3-r5-loader/ti-k3-r5-loader.mk +++ b/boot/ti-k3-r5-loader/ti-k3-r5-loader.mk @@ -77,6 +77,7 @@ TI_K3_R5_LOADER_MAKE_OPTS = \ HOSTLDFLAGS="$(HOST_LDFLAGS)" \ BINMAN_INDIRS=$(BINARIES_DIR) +TI_K3_R5_LOADER_KCONFIG_FRAGMENT_FILES = $(call qstrip,$(BR2_TARGET_TI_K3_R5_LOADER_CONFIG_FRAGMENT_FILES)) TI_K3_R5_LOADER_TIBOOT3_BIN = $(call qstrip,$(BR2_TARGET_TI_K3_R5_LOADER_TIBOOT3_BIN)) define TI_K3_R5_LOADER_INSTALL_TIBOOT3_BIN