On Tue, May 21, 2013 at 10:44:12AM +0200, Juergen Beisert wrote: > The boot source for the i.MX23 is configured via a few GPIOs, which are later > be used for different purposes (like LCD data for example). The SoC internal > ROM reads these GPIOs and uses the selected boot source. > > For various reasons the boot source is also of interest when Barebox is running. > This detection approach reads again the GPIOs. It switches temporarily the pins > to act as GPIOs and input, reads their settings, and switches back to their > previous functions. > > Signed-off-by: Juergen Beisert <jbe@xxxxxxxxxxxxxx> Applied, thanks Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox