[U-Boot] Move setup_led() in SPL to U-Boot proper?

Simon Glass sjg at chromium.org
Mon Jul 22 16:18:14 UTC 2019


Hi,

On Sat, 20 Jul 2019 at 23:53, Kever Yang <kever.yang at rock-chips.com> wrote:
>
> Hi Simon,
>
>      I'm trying to clean up board support file for Rockchip platform now.
>
> There is a setup_led() in SPL, and seems that only rk3288-firefly and
> rk3188-rock
>
> are using it, is it possible to move this led setup in U-Boot proper?

>From what I can tell this is only used in SPL, to light an LED as a
sign of life.

So moving it to U-Boot proper will remove this feature. What is your goal?

>
>      Other than rockchip platform, only stm32 is using
> "u-boot,boot-led", and
>
> they init led very late at board_quiesce_devices() in bootm.
>
>
> Thanks,
>
> - Kever
>
>
>

Regards,
SImon


More information about the U-Boot mailing list