diff options
| author | Anshul Dalal <[email protected]> | 2025-10-09 17:28:43 +0530 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-10-20 11:54:29 -0600 |
| commit | b1a3ed068869d7289747dddd6dc13ecb9f9840a6 (patch) | |
| tree | a25ad2a75455b8c2c2f2f8e941eff9cd2900c997 /include | |
| parent | d5996409cecbc181ab3f4f04bdb24284a2837d9c (diff) | |
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 <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/system-constants.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
