]> git.ipfire.org Git - thirdparty/u-boot.git/commit
mach-sc5xx: Rename SC_BOOT_MODE
authorGreg Malysa <malysagreg@gmail.com>
Thu, 11 Dec 2025 08:03:53 +0000 (03:03 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 23 Jan 2026 20:20:58 +0000 (14:20 -0600)
commitca8cceb12f10253e73141a136ca3dcd7f1f85927
tree93761f0536b26fd9f9993cbeff1bdcbe7f6e2a03
parent280dbbbf6e4645595015c2a15add6dcc10795b4d
mach-sc5xx: Rename SC_BOOT_MODE

The symbol SC_BOOT_MODE was named incorrectly and inconsistently with
its usage. The selected boot mode is set only by hardware and cannot be
adjusted through software (apart from the use of FORCE_BMODE to instruct
the boot rom to ignore the hardware setting when loading uboot proper,
but this cannot change how SPL is loaded).

This symbol actually controlled the BCODE (easily confused with BMODE,
shorthand for boot mode), so this renames it to SC_BCODE and updates the
help text to reflect its actual usage: the BCODE is an SoC- and boot
mode-specific setting that affects how the boot rom configures QSPI or
OSPI in order to read an LDR file from the associated peripheral.

Reported-by: Philip Molloy <Philip.Molloy@analog.com>
Signed-off-by: Greg Malysa <malysagreg@gmail.com>
arch/arm/mach-sc5xx/Kconfig
arch/arm/mach-sc5xx/config.mk