
8 Dec
2011
8 Dec
'11
7:31 p.m.
On Thursday 08 December 2011 11:40:48 Stefano Babic wrote:
On 08/12/2011 16:54, Mike Frysinger wrote:
Apart a mechanism with a GPIO, can we think to use in a simple way the console for this ? SPL supports it, and we could share the same mechanism for all boards, in such way as we stop the autoboot in U-Boot.
isn't this the purpose of the boot progress / led code ?
Well, I would like to import less code in SPL to take it as small as possible. Under U-Boot we have a lot of possibilities, but we need only a simple way with SPL.
the status led should be fairly light weight (once you've got the GPIO core). check out the two files: drivers/misc/status_led.c drivers/misc/gpio_led.c -mike