]> git.ipfire.org Git - thirdparty/u-boot.git/commit
spl: spi: fix falcon mode for spi boot
authorAnshul Dalal <anshuld@ti.com>
Tue, 9 Sep 2025 08:17:30 +0000 (13:47 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 12 Sep 2025 14:24:21 +0000 (08:24 -0600)
commit210702ae6ce820713773549c4e102b37f09d7cc5
treeabcb1181daf874249ffb9de3f699ec3d534c6481
parentc9800dc906ad21a1157ec718f5e450daaf42e4b3
spl: spi: fix falcon mode for spi boot

spl_start_uboot is a board overridable function that switches to falcon
boot mode on return value of 0.

Though for SPI, the falcon boot mode was being enabled on return value
of 1 which is not the correct behaviour. Therefore this patch fixes it
to the expected boot flow.

Fixes: 14509a28aa20 ("spl: spi: Consolidate spi_load_image_os into spl_spi_load_image")
Signed-off-by: Anshul Dalal <anshuld@ti.com>
common/spl/spl_spi.c