mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-05 12:46:14 +02:00
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>
11 lines
314 B
Plaintext
11 lines
314 B
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="sun8i-h2-plus-bananapi-m2-zero"
|
|
CONFIG_DRAM_CLK=408
|
|
CONFIG_SPL=y
|
|
CONFIG_MACH_SUN8I_H3=y
|
|
CONFIG_SPL_SUNXI_LED_STATUS=y
|
|
CONFIG_SPL_SUNXI_LED_STATUS_GPIO=362
|
|
# CONFIG_SPL_SUNXI_LED_STATUS_ACTIVE_HIGH is not set
|
|
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|