From b1a3ed068869d7289747dddd6dc13ecb9f9840a6 Mon Sep 17 00:00:00 2001 From: Anshul Dalal Date: Thu, 9 Oct 2025 17:28:43 +0530 Subject: spl: make args file optional in falcon mode Falcon mode loads a kernel file and an args file which is the device-tree. However in the case of kernel file being a FIT that contains the device-tree within it, loading the args file is not required. Therefore, this patch introduces a new SPL_OS_BOOT_ARGS config options that allows us to enable or disable loading of the args file in falcon mode. Signed-off-by: Anshul Dalal --- include/system-constants.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/system-constants.h b/include/system-constants.h index e09fc418a47..908bf16d0b4 100644 --- a/include/system-constants.h +++ b/include/system-constants.h @@ -37,7 +37,7 @@ IF_ENABLED_INT(CONFIG_SPL_SYS_MALLOC, CONFIG_SPL_SYS_MALLOC_SIZE) /* deal with an optional value */ -#ifdef CONFIG_SPL_OS_BOOT +#if IS_ENABLED(CONFIG_SPL_OS_BOOT_ARGS) #define SPL_PAYLOAD_ARGS_ADDR CONFIG_SPL_PAYLOAD_ARGS_ADDR #else #define SPL_PAYLOAD_ARGS_ADDR 0 -- cgit v1.3.1