]> git.baikalelectronics.ru Git - uboot.git/commit
board: sunxi: enable status LED early
authorArnaud Ferraris <arnaud.ferraris@collabora.com>
Wed, 8 Sep 2021 19:14:19 +0000 (21:14 +0200)
committerAndre Przywara <andre.przywara@arm.com>
Mon, 11 Oct 2021 09:46:44 +0000 (10:46 +0100)
commit8afec0bccd13624dfe6a10f2c828b7c251fa75c7
tree08f28b926f09399f3e64ed4709005f260b4ff61a
parent68f90d19d8fd9e843f2685956414c881bab2665a
board: sunxi: enable status LED early

For some systems, such as the PinePhone, there is no way for the end
user to make sure the system is indeed booting before the boot script is
executed, which takes several seconds. Therefore, it can be useful to
provide early visual feedback as soon as possible.

In order achieve this goal, this patch initializes the status LED (if
configured) in the SPL.

Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
Reviewed-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
board/sunxi/board.c