summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/include/mach/generic.h
Commit message (Collapse)AuthorAgeFilesLines
* ARM: i.MX: Add i.MX7 base architecture supportJuergen Borleis2017-01-201-0/+16
| | | | | Signed-off-by Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX: Add primitive functions for VF610 familyAndrey Smirnov2016-11-111-0/+13
| | | | | | | Add very basic functions to support VF610 family. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: Provide bootsource functions for early boot codeSascha Hauer2016-09-221-0/+5
| | | | | | | | The regular bootsource functions only work in a running barebox, provide functions for early code. This has already been done for i.MX6, this patch adds the same functions for the other SoCs. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX53: do not pass base address to imx*_boot_save_locSascha Hauer2016-09-221-7/+6
| | | | | | | The functions can determine the necessary base addresses themselves since they are SoC specific anyway. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add i.MX50 supportAlexander Kurz2016-09-121-0/+3
| | | | | Signed-off-by: Alexander Kurz <akurz@blala.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: add common definitions for i.MX50 SOCAlexander Kurz2016-09-121-0/+13
| | | | | Signed-off-by: Alexander Kurz <akurz@blala.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: central SOC type definitionAlexander Kurz2016-07-041-10/+1
| | | | | | | | | Move the definition of iMX CPU types to an individual file to allow on-purpose inclusion. Eliminate magic number CPU type encoding in the scripts/imx subdir using the new include file. Signed-off-by: Alexander Kurz <akurz@blala.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX6: add function to get bootsource in pblSascha Hauer2015-07-161-0/+2
| | | | | | | In the pbl the regular bootsource_get cannot be used. Add a function which returns the bootsource directly with values from the hardware. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: imx5: add imx5_cpu_lowlevel_init and use in all boardsLucas Stach2014-11-071-0/+1
| | | | | | | | This is similar to what we do on imx6 and makes sure we apply the errata workarounds early. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: imx6: add cpu lowlevel init functionLucas Stach2014-06-261-0/+2
| | | | | | | | Enables all relevant errata workarounds for the i.MX6 SoC. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: adopt cpu_is_* for multiple SoCsSascha Hauer2013-06-251-18/+84
| | | | | | | | This makes cpu_is_* functions when necessary for upcoming multisoc support. When only one SoC type is compiled in cpu_is_* still expand to static values. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: centralize i.MX startupSascha Hauer2013-06-241-0/+20
| | | | | | | Each i.MX SoC has its own SoC initcall. To ease multi SoC support move it to a single initcall. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* treewide include/: Add missing includesSascha Hauer2013-05-311-0/+3
| | | | | | | This adds several missing includes to files under include/ which we relied on being included implicitly. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/misc-arm'Sascha Hauer2013-04-041-0/+4
|\
| * ARM i.MX: Add double include protection for generic.hSascha Hauer2013-03-101-0/+4
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | bootsource: create arch independent bootsource frameworkMarc Kleine-Budde2013-04-041-15/+0
| | | | | | | | | | | | | | | | | | | | | | | | This patch seperates the imx independent from the arch independent code. The following functions and enums are renamed: - imx_bootsource() -> bootsource_get() - imx_set_bootsource() -> bootsource_set() - enum imx_bootsource -> enum bootsource Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM i.MX bootsource: add separate function for mx25 and mx35Marc Kleine-Budde2013-03-261-1/+2
| | | | | | | | | | | | | | | | This patch creates a seperate function for mx25 and mx35 to save it's bootsource. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM i.MX bootsource: rename imx_27_boot_save_loc -> imx27_boot_save_locMarc Kleine-Budde2013-03-261-1/+1
| | | | | | | | | | | | | | | | This patch renames imx_27_boot_save_loc() to imx27_boot_save_loc(), so that all imx*_boot_save_loc() functions follow the same nameing sheme. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM i.MX bootsource: convert all imx*_boot_save_loc functions to voidMarc Kleine-Budde2013-03-261-4/+4
| | | | | | | | | | | | | | This function gives all functions a common, i.e. void, return value. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM i.MX bootsource: convert enums from enum imx_bootsource to uppercaseMarc Kleine-Budde2013-03-261-9/+9
|/ | | | | | | Enums are in the same way as defines, so write them in uppercase. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX6: save boot locationSascha Hauer2012-12-061-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX53: set bootsource locationSascha Hauer2012-10-171-0/+2
| | | | | | | To be able to set the environment location based on the bootsource. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX: get rid of imx-regs.hSascha Hauer2012-10-171-0/+4
| | | | | | | | | - remove now unused __REG definitions - include individual SoC register files instead of imx-regs.h - move IMX_GPIO_NR to generic.h - finally remove imx-regs.h Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX: rework bootsource settingSascha Hauer2012-10-151-0/+17
| | | | | | | | | | This moves the known i.MX bootsource settings to a single file so that the code can be shared. Also we add a enum for the different boot sources so that it can be used in C Code and not only on the shell. The pcm038 board is changed to use it instead of digging in the registers manually. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX: streamline imx_silicon_revisionSascha Hauer2012-10-051-2/+0
| | | | | | | | 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.MX27: Use standard IMX_CHIP_REV_* definesSascha Hauer2012-10-051-2/+0
| | | | | | | We have IMX_CHIP_REV_* defines which are used for most i.MX SoCs. Use them for i.MX27 aswell. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'pu/mx6-v2' into nextSascha Hauer2012-04-241-0/+6
|\ | | | | | | | | | | | | | | Conflicts: arch/arm/Makefile arch/arm/mach-imx/Kconfig Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: add initial i.MX6 supportSascha Hauer2012-04-241-0/+6
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge silicon definitions i.MX35, i.MX51 and i.MX53Alexander Shiyan2012-04-191-3/+0
|/ | | | | | | | | Also definition can be modified in arch/arm/boards/pcm043/lowlevel.c, but I am not sure is we can call imx_silicon_revision() from board_init_lowlevel(). Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX: Add missing cpu_is_mx53()Sascha Hauer2011-07-291-0/+6
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* IMX: Ignore i.MX23/i.MX28 related code in shared devicesJuergen Beisert2010-12-141-0/+2
| | | | | | | | | At least the FEC and the CAN controller drivers can also be used by the i.MX28. When still used by IMX, the i.MX28 (and maybe i.MX23) related code must be ignored. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX: Add basic i.MX51 supportSascha Hauer2010-10-111-0/+6
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx25: add support for UID read from eFuseBaruch Siach2010-08-041-0/+1
| | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx35: add detection of silicon revisionMarc Reilly2010-05-171-0/+5
| | | | | | | Implemented imx_silicon_revision() for imx35. Signed-off-by: Marc Reilly <marc@cpdesign.com.au> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/machJean-Christophe PLAGNIOL-VILLARD2009-10-221-0/+41
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>