]> git.ipfire.org Git - thirdparty/u-boot.git/commit
sunxi: configs: enable power LEDs on 32-bit boards
authorAndre Przywara <andre.przywara@arm.com>
Tue, 7 Apr 2026 22:34:46 +0000 (00:34 +0200)
committerAndre Przywara <andre.przywara@arm.com>
Thu, 30 Apr 2026 21:31:02 +0000 (23:31 +0200)
commitc3297cb93efb134cabf2138f867a811aaefb4e8a
tree0043904c46fe65e9a9fd6ba4c7ac9d006a4ad38f
parentdc2427ab20d71258c21379ebc575f05ac9d10141
sunxi: configs: enable power LEDs on 32-bit boards

We recently gained a simple way to enable a power LED very early in the
SPL boot, through simple Kconfig variables.

Add those symbols to those boards' defconfigs where the DT indicates a
default-on power LED. The number used is <port bank> * 32 + <pin no>,
an active low setup means CONFIG_SPL_SUNXI_LED_STATUS_ACTIVE_HIGH must be
undefined. Since its default is "high", we can skip the symbol in the
defconfig in this case.

This will light up the power LED very early in the (SPL) boot phase on
those 32-bit boards.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Paul Kocialkowski <paulk@sys-base.io>
19 files changed:
configs/A13-OLinuXinoM_defconfig
configs/Bananapi_M2_Ultra_defconfig
configs/Bananapi_m2m_defconfig
configs/Mele_A1000G_quad_defconfig
configs/Mele_A1000_defconfig
configs/Mele_M9_defconfig
configs/bananapi_m1_plus_defconfig
configs/bananapi_m2_berry_defconfig
configs/bananapi_m2_zero_defconfig
configs/beelink_x2_defconfig
configs/icnova-a20-adb4006_defconfig
configs/nanopi_duo2_defconfig
configs/nanopi_neo_air_defconfig
configs/orangepi_2_defconfig
configs/orangepi_lite_defconfig
configs/orangepi_one_defconfig
configs/orangepi_pc_defconfig
configs/orangepi_zero_defconfig
configs/orangepi_zero_plus2_h3_defconfig