9
0
Fork 0
barebox/arch/arm/mach-mxs
Juergen Beisert 114f4cebd5 MXS/i.MX23: add boot source detection
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@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-05-23 09:54:17 +02:00
..
include/mach ARM: mxs: add bootsource detection 2013-04-04 10:54:27 +02:00
Kconfig ARM: cfa10036: Add the AT24HC02 I2C EEPROM 2012-12-14 08:36:36 +01:00
Makefile Merge branch 'for-next/mxs-nand' 2012-07-02 11:08:03 +02:00
bcb.c arm: mxs: bcb: fix usage of second bootstream 2012-09-03 09:42:18 +02:00
clocksource-imx23.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
clocksource-imx28.c introduce io.h 2011-09-22 19:03:05 +02:00
common.c arm: mxs: use timeouts in block reset routines 2012-10-31 08:36:51 +01:00
imx.c MXS/i.MX23: add boot source detection 2013-05-23 09:54:17 +02:00
imx_lcd_clk.c introduce io.h 2011-09-22 19:03:05 +02:00
iomux-imx.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
ocotp.c ARM: MXS: ocotp: Use dev_add_param_bool for parameter 2013-04-11 11:48:36 +02:00
power.c arm: mxs: add functions to get/set vddio 2012-06-30 22:37:41 +02:00
soc-imx23.c ARM/MXS: add new way to reset the whole SoC 2012-06-30 12:53:48 +02:00
soc-imx28.c ARM i.MX28: make chip reset via reset pin work again 2013-04-24 16:45:08 +02:00
speed-imx23.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
speed-imx28.c mxs: get_fecclk is hclk, not a constant 2012-12-07 13:58:24 +01:00
usb-imx23.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
usb-imx28.c ARM i.MX28 usb: Add USBPHY support 2012-06-30 12:47:15 +02:00