summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* ARM: i.MX6: Add ocotp driverSascha Hauer2013-07-221-0/+1
| | | | | | | The only functionality at the moment is to register a MAC Address for an ethernet device. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX51: Make imx51_init_lowlevel callable from early initSascha Hauer2013-06-181-0/+1
| | | | | | | imx_silicon_revision() can't be used from early init context, so use imx51_silicon_revision() instead. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/of'Sascha Hauer2013-05-061-9/+9
|\ | | | | | | | | Conflicts: arch/arm/mach-imx/Makefile
| * pinctrl: move imx-iomux-v1 to drivers/pinctrl/Sascha Hauer2013-04-231-3/+3
| | | | | | | | | | | | For consistency reasons. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * pinctrl: move imx-iomux-v2 to drivers/pinctrl/Sascha Hauer2013-04-231-1/+1
| | | | | | | | | | | | For consistency reasons. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * pinctrl: switch i.MX iomux-v3 support to pinctrlSascha Hauer2013-04-231-5/+5
| | | | | | | | | | | | | | | | | | This switches the iomux-v3 (found on i.MX25,35,51,53,6) to pinctrl support. The old SoC specific API is kept for compatibility. The pinctrl devicetree support is enabled automatically when OFDEVICE support is available. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: i.MX: Move GPIO driver to drivers/gpioAlexander Shiyan2013-04-221-1/+1
|/ | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/imx-realq7'Sascha Hauer2013-04-041-0/+1
|\ | | | | | | Fix realq7 compilation
| * ARM i.MX6: Add mmdc calibration supportSascha Hauer2013-03-111-0/+1
| | | | | | | | | | | | | | This adds support for the various DDR calibration functions in the i.MX6 MMDC. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: i.MX: Add bbu handler for external NAND bootSascha Hauer2013-03-121-0/+1
|/ | | | | | | | | | The external NAND boot code currently does not handle bad blocks correctly on 2k NAND flashes. This patch adds a barebox_update handler for external NAND boot which embeds a Bad block table in the flashed image. The boot code will skip bad blocks found in this bad block table then. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* switch boards to lwl-yJean-Christophe PLAGNIOL-VILLARD2013-02-211-5/+1
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX boards: switch to barebox_arm_entrySascha Hauer2013-02-041-1/+4
| | | | | | | Most i.MX boards can use the imx*_barebox_entry functions. The remaining (i.MX21, i.MX6) use hardcoded base addresses. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX: add esdctl-v4 supportSascha Hauer2012-12-061-2/+2
| | | | | | | | | | | | This adds support for initializing DDR3 RAMs on the i.MX53 type SDRAM controller. The code automatically detects size/layout of the connected RAM, detects the bus width and which chipselects are populated. While I believe this code is not 100% generic, it is far too sophisticated to stay in a single board directory. I'm sure other boards could make use of this aswell. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX: Add driver to get sdram base and sizeSascha Hauer2012-12-061-1/+2
| | | | | | | | | | The code initializing the SDRAM controller is not at the same place where SDRAM is registered with barebox. To reduce the risk of registering wrong SDRAM sizes this patch adds a driver for the ESDCTL which reads back the configured SDRAM size and registers the memory found with barebox. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX: Add barebox update handler for internal bootSascha Hauer2012-10-171-0/+1
| | | | | | | | | | | | | | | | | | | | This adds support for an update handler for internal boot. Currently handled are: - v1 MMC/SD - v2 MMC/SD - v2 NAND where v1 is found on i.MX25, i.MX35 and i.MX51. v2 is found on i.MX53. This code intentionally does not use the DCD data compiled into every i.MX internal boot image. This makes it possible to make a pure second stage barebox bootable on i.MX internal boot devices later. This has been tested on the i.MX51 babbage, i.MX53 loco and i.MX53 tx53 board. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX53: enable imx53_init_lowlevel for pblSascha Hauer2012-10-171-0/+1
| | | | | | | | | The KARO Tx53 board in the revision 8030 has an instable SDRAM setup. It works as long as the MMU is disabled, but the board crashes at arbitrary places once the MMU gets enabled. So we need the PLL setup early. Enable it for pbl. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/imx-work' into for-next/imxSascha Hauer2012-10-171-1/+1
|\ | | | | | | | | | | | | Conflicts: arch/arm/mach-imx/imx1.c Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM i.MX: streamline imx_silicon_revisionSascha Hauer2012-10-051-1/+1
| | | | | | | | | | | | | | | | All i.MX SoCs now use the same imx_silicon_revision() function to get the revision. Add a separate header file for it and a common function used on all SoCs. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM i.MX: move reset source detection codeSascha Hauer2012-10-081-1/+0
|/ | | | | | | | | - for i.MX1 the register is in the System Control unit, so move the code to arch/arm/mach-imx/imx1.c - for the other i.MX the register is in the watchdog unit, so move the code to drivers/watchdog/imxwd.c Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX: Remove old clock supportSascha Hauer2012-10-041-11/+9
| | | | | | | The old clock support is now unused. Remove it. The former i.MX clko command is superseeded by generic clock manipulation commands. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX35: Switch to common clkSascha Hauer2012-10-041-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX21: Switch to common clkSascha Hauer2012-10-041-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX6: Switch to common clkSascha Hauer2012-10-041-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX31: Switch to common clkSascha Hauer2012-10-041-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX1: Switch to common clk supportSascha Hauer2012-10-041-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX5: Switch to common clk supportSascha Hauer2012-10-041-2/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX25: Switch to common clk supportSascha Hauer2012-10-041-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX27: implement clk supportSascha Hauer2012-10-041-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX: initial clk supportSascha Hauer2012-10-041-0/+1
| | | | | | | This adds the basic i.MX common clk support and some pll and pfd drivers. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/pbl'Sascha Hauer2012-09-051-0/+1
|\
| * ARM boards: Make boards pbl safeSascha Hauer2012-08-121-0/+1
| | | | | | | | | | | | | | | | With pbl support enabled most boards need a pbl-y for their lowlevel stuff. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | ARM i.MX6: enable usbphy1Steffen Trumtrar2012-08-311-1/+1
|/ | | | | | | | | | Add a function to take the usbphy1 through its initialization procedure. The imx6_usb_phy1_disable_oc function is needed at least on the sabrelite, as the power design is faulty. The state on other imx6 boards is unknown, therefore it is an extra function call at the moment. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/reset-source'Sascha Hauer2012-08-011-0/+1
|\
| * ARM/i.MX: add support to detect the reset sourceJuergen Beisert2012-07-181-0/+1
| | | | | | | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM i.MX: rename internal-nand-boot.c to external-nand-boot.cSascha Hauer2012-07-251-1/+1
|/ | | | | | Because that's what it is. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: add initial i.MX6 supportSascha Hauer2012-04-241-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX51: implement a imx51_lowlevel_initSascha Hauer2012-01-021-1/+1
| | | | | | | | Reimplement the code from lowlevel.S in C. It is run from SDRAM anyway, so we can safely do this initialization in a regular barebox environment instead in Assembly. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX5: prepare to add a imx51_lowlevel_initSascha Hauer2012-01-021-1/+1
| | | | | | | | - move code which can be shared between i.MX53 and i.MX51 to a common file - rename mx53_init_lowlevel to imx53_init_lowlevel Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: add support for the i.MX53Marc Kleine-Budde2011-07-291-0/+1
| | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX: cleanup boot modesSascha Hauer2011-03-031-0/+1
| | | | | | | | | | | | | | | | | The i.MX Processors support two different boot modes, the internal boot mode and the external boot mode. Traditionally the external NAND boot mode is handled in drivers/mtd/nand and the internal boot mode is handled in arch/arm/mach-imx. This patch consolidates the handling of both boot modes in arch/arm/mach-imx so that the user does not have to look in the mtd kconfig section for booting from NAND. Also, selecting between internal and external boot mode now is a clear choice. The external NAND boot mode has been independent of the mtd nand driver, but as the code was contained in the NAND driver it was not possible to support booting from NAND without a mtd nand driver. This is changed with this patch. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx(25,35): save boot location into $barebox_loc env.Marc Reilly2011-01-191-0/+1
| | | | | | | | | | | Saves the boot source into an environment variable so env scripts can more easily use boot source information. Note only tested on imx35. I haven't added support for any other variants because I'm not familiar with them. (And can't test them anyway). Signed-off-by: Marc Reilly <marc@cpdesign.com.au> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX: Add device convenience functionsSascha Hauer2010-11-021-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX: Add basic i.MX51 supportSascha Hauer2010-10-111-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx: driver for the IIM fuseboxBaruch Siach2010-08-171-0/+1
| | | | | | | | | | | | | | | | | | | This driver provides an interface for programming and sensing the IIM fusebox which is present on some i.MX chips. Since the IIM io addresses of the controlling registers and each fuse bank are are not contiguous the driver implementation uses two drivers, imx_iim, and imx_iim_bank. The imx_iim is the "parent" driver for a device holding the map_base address of the control registers. The imx_iim_bank driver is for child devices holding the map_base of each fuse bank. The platform code then, instantiate one imx_iim_bank device per fuse bank. Fuses blow is a dangerous operation. Thus, the fuses blow functionality can be disabled independently at configuration time. On run time this functionality must be enabled explicitly by setting the permanent_write_enable parameter. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* complete i.MX GPIO supportSascha Hauer2009-12-101-7/+7
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX: split out iomux-v1 supportSascha Hauer2009-12-101-3/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX Nand: Set correct datawidth/pagesize in CCM moduleSascha Hauer2009-12-031-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add MX25 supportSascha Hauer2009-09-081-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX35: Add iomux support from kernelSascha Hauer2009-05-191-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add Freescale i.MX21 supportIvo Clarysse2009-04-071-0/+1
| | | | | Signed-off-by: Ivo Clarysse <ivo.clarysse@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>