]> git.baikalelectronics.ru Git - uboot.git/commit
arm: Implement show_boot_progress() for imx53's HSC and DDC devices
authorLukasz Majewski <lukma@denx.de>
Fri, 25 Sep 2020 15:13:09 +0000 (17:13 +0200)
committerStefano Babic <sbabic@denx.de>
Sun, 1 Nov 2020 14:53:40 +0000 (15:53 +0100)
commitb1db8dfe0d2a1ec710429f98ffb3d365369a0cae
tree5a740d6ff1d1cb890a7e5c496d9dbec946408579
parent1f73c4375162324be2179f49949da535d2da67a4
arm: Implement show_boot_progress() for imx53's HSC and DDC devices

This patch provides information regarding the boot stage with using LEDs.
On the very beginning of U-Boot execution the GREEN LED is turned on.
When the execution is passed to Linux kernel the GREEN LED is off and
RED one is ON.

Afterwards, when Linux takes over the execution, the "heartbeat" driver
provides indication if the board is still alive.

Please also note that this patch uses {set|clr}bits_le32 macros as turning
ON GREEN LED is performed in a _very_ early stage of U-Boot execution
before DM_GPIOs are initialized.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
board/k+p/kp_imx53/kp_imx53.c