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
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

