]> git.ipfire.org Git - thirdparty/u-boot.git/commit
sam9x60-curiosity: migrate Boot LED setup to use /options/u-boot/boot-led
authorQuentin Schulz <quentin.schulz@cherry.de>
Wed, 12 Nov 2025 17:48:15 +0000 (18:48 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 3 Dec 2025 17:03:45 +0000 (11:03 -0600)
commit98be3062088a81cf7124cf16f05c7ae735587bf7
treed39c7a5a30d90eb7a75bb1943b0fbe361d62f01d
parentd1ad89ad56ad27a5cb2dd5b4f82a74b7ccf966bd
sam9x60-curiosity: migrate Boot LED setup to use /options/u-boot/boot-led

This board is one of the last users of /config/u-boot,boot-led property
which is a U-Boot property out of the DT spec.

Let's migrate it to use the in-spec /options/u-boot/boot-led property.
When enabling LED_BOOT, U-Boot proper will lit the LED right before
entering the main loop, so nothing needs to be done in board files.

As explained in the commit adding support for this u-boot,boot-led
property, let's keep backward compatibility in case LED_BOOT isn't
selected.

Note that this is not tested as I do not own this device.

Cc: Alexander Dahl <ada@thorsis.com>
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Tested-by: Alexander Dahl <ada@thorsis.com>
arch/arm/dts/at91-sam9x60_curiosity-u-boot.dtsi
board/atmel/sam9x60_curiosity/sam9x60_curiosity.c