spl: set fdt address as spl_image arg in falcon mode
authorAnshul Dalal <anshuld@ti.com>
Thu, 9 Oct 2025 11:58:45 +0000 (17:28 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 20 Oct 2025 17:54:35 +0000 (11:54 -0600)
commitf851171e14ac1b1910c549879a9b82060cc4cdba
treeae98caff87ef8967722cc3b19ae79151a48271f4
parent82e04e768fc21c1ac43df5d5a68ec8aaf008c0a8
spl: set fdt address as spl_image arg in falcon mode

The arg field of `struct spl_image_info` is used by jump_to_image_linux
as the argument for the kernel in falcon mode.

Since commit 601cebc29d2a ("cmd: spl: Remove ATAG support from this
command"), fdt is the only valid argument for kernel in falcon mode.

However fdt was only being set as the argument in nor and xip boot
modes, this patch fixes it for all boot modes and removes the now
redundant code from spl_nor and spl_xip.

Signed-off-by: Anshul Dalal <anshuld@ti.com>
common/spl/spl.c
common/spl/spl_nor.c
common/spl/spl_xip.c