spl: make args file optional in falcon mode
authorAnshul Dalal <anshuld@ti.com>
Thu, 9 Oct 2025 11:58:43 +0000 (17:28 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 20 Oct 2025 17:54:29 +0000 (11:54 -0600)
commitb1a3ed068869d7289747dddd6dc13ecb9f9840a6
treea25ad2a75455b8c2c2f2f8e941eff9cd2900c997
parentd5996409cecbc181ab3f4f04bdb24284a2837d9c
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 <anshuld@ti.com>
common/spl/Kconfig
common/spl/spl.c
common/spl/spl_ext.c
common/spl/spl_fat.c
common/spl/spl_nand.c
common/spl/spl_spi.c
common/spl/spl_ubi.c
include/system-constants.h