summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx
Commit message (Collapse)AuthorAgeFilesLines
* rename U-Boot-v2 project to bareboxSascha Hauer2009-12-153-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | This has been done with the following script: find -path ./.git -prune -o -type f -print0 | xargs -0 -r sed -i \ -e 's/u2boot/barebox/g' \ -e 's/U2Boot/barebox/g' \ -e 's/U-boot V2/barebox/g' \ -e 's/u-boot v2/barebox/g' \ -e 's/U-Boot V2/barebox/g' \ -e 's/U-Boot-v2/barebox/g' \ -e 's/U_BOOT/BAREBOX/g' \ -e 's/UBOOT/BAREBOX/g' \ -e 's/uboot/barebox/g' \ -e 's/u-boot/barebox/g' \ -e 's/u_boot/barebox/g' \ -e 's/U-Boot/barebox/g' \ -e 's/U-boot/barebox/g' \ -e 's/U-BOOT/barebox/g' find -path ./.git -prune -o \( -name "*u-boot*" -o -name "*uboot*" -o -name "*u_boot*" \) -print0 | \ xargs -0 -r rename 's/u[-_]?boot/barebox/' It needs some manual fixup following in the next patch Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX Nand: fix bit clearingSascha Hauer2009-12-101-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX31: Fix CCM_UPCTL register offsetSascha Hauer2009-12-101-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm043: Add MMU supportSascha Hauer2009-12-101-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm043: add display supportSascha Hauer2009-12-101-0/+10
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* complete i.MX GPIO supportSascha Hauer2009-12-1012-38/+271
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX: split out iomux-v1 supportSascha Hauer2009-12-103-63/+90
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fb: Add a i.MX IPU framebuffer driverJuergen nogit Beisert2009-12-091-0/+34
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Fix imx_nand_set_layout for i.MX27Eric Benard2009-12-091-2/+2
| | | | | | | | FMCR is (*((volatile u32 *)(x))) (0x10027814) and thus this leads to a data abort. Signed-off-by: Eric Benard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX flash header: make it work on i.MX35Sascha Hauer2009-12-034-49/+70
| | | | | | | | | The flash header is used on different i.MXs other than the i.MX25, so rename it. Also, add a possibility to put a flash header on different offsets (0x100, 0x400 and 0x1000), needed for different boot mediums. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX Nand: Set correct datawidth/pagesize in CCM moduleSascha Hauer2009-12-033-0/+107
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Eukrea CPUIMX27 : Add MMU supportEric Benard2009-12-031-0/+1
| | | | | Signed-off-by: Eric Benard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Eukrea CPUIMX27 : add console on Quad UART supportEric Benard2009-12-031-0/+12
| | | | | | | | The SOM can integrate a 16550 Quad UART which can be used for serial console. Signed-off-by: Eric Benard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Eukrea CPUIMX27 : add NOR flash size configurationEric Benard2009-12-031-0/+7
| | | | | | | | | | 64MB strataflash consist in 2x256Mb flashs. So we must declare 2 cfi_flash in order to have both 256Mb flash geometry properly detected. For flash <= 32 MB we prefer not to register the second cfi_flash which would be an alias of the first one. Signed-off-by: Eric Benard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Eukrea CPUIMX27 : add SDRAM size choiceEric Benard2009-12-031-0/+9
| | | | | | | | Add a menu entry and proper settings for 128MB and 256MB RAM size. Signed-off-by: Eric Benard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Adding IPU clock query functions for i.MX31 and i.MX35Juergen Beisert2009-11-252-0/+43
| | | | | | | | | | | | Adding IPU clock query functions for i.MX31 and i.MX35 (used to generate their LCD timing). BTW: All functions are declared with the 'ulong' return type, but some are defined with 'unsigned long'. And yes, its the same, but IMHO one type should be used for all. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Adding some documentationJuergen Beisert2009-11-251-0/+9
| | | | | | | | Add some (helpful?) comments about the meaning of 'framebuffer' and 'framebuffer_ovl' structure members. Signed-off-by: Juergenn Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx35-regs: add CGR1 helper valuesMarc Kleine-Budde2009-11-241-0/+3
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* imx35-regs: add base address for I2C1Marc Kleine-Budde2009-11-241-0/+1
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* imx-regs: define IMX_FEC_BASEMarc Kleine-Budde2009-11-242-0/+2
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* speed-imx35: add function imx_get_i2cclkMarc Kleine-Budde2009-11-242-0/+7
| | | | | | | Because i2c is connected to ipg_perclk om MX35 it's calls imx_get_ipg_perclk(). Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* speed-imx35: the gptclk is connected to the ipgclkMarc Kleine-Budde2009-11-241-2/+8
| | | | | | | | | | The gpt clock on MX35 is connected to the ipg clock. But the implementation uses the ipg_per clock. This patch lets the gpt use the ipg clock and introduces the ipg_per clock. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* arm: introduce CPU CONFIG from linuxJean-Christophe PLAGNIOL-VILLARD2009-11-031-4/+4
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: move config ARCH_TEXT_BASE and BOARDINFO to mach KconfigJean-Christophe PLAGNIOL-VILLARD2009-11-021-0/+26
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* imx/kconfig: inverse the board selectionJean-Christophe PLAGNIOL-VILLARD2009-11-021-19/+182
| | | | | | | instead of select first the board which will select the arch, now first choice the arch to filter the possible boards Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* i.MX1: do not try to print non existent reg CIDSascha Hauer2009-10-281-6/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX21: fix compiler warningSascha Hauer2009-10-281-1/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-sascha' of git://uboot.jcrosoft.org/u-boot-v2 into from-jeanSascha Hauer2009-10-2836-25/+4454
|\ | | | | | | | | | | | | | | | | Conflicts: board/a9m2440/a9m2440.c board/pcm043/pcm043.c drivers/nand/nand_imx.c Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/machJean-Christophe PLAGNIOL-VILLARD2009-10-2236-25/+4454
|/ | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* commands: remove maxargsSascha Hauer2009-10-192-2/+0
| | | | | | | No need to check for maximum argument counts. The commands are safe to be called with more arguments, so lets safe some bytes. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* call getopt_reset only onceSascha Hauer2009-10-191-2/+0
| | | | | | | instead of calling getopt_reset in each command, call it only once before calling the command. Signed-off-by: Sascha Hauer <sha@pengutronix.de>
* commands: return COMMAND_ERROR_USAGESascha Hauer2009-10-191-4/+2
| | | | | | | instead of calling u_boot_cmd_usage in each command to safe space. Signed-off-by: Sascha Hauer <sha@pengutronix.de>
* imx: replace imx specific gpio functions with generic onesSascha Hauer2009-10-021-4/+4
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx25: remove duplicate function, fix perclk valuesSascha Hauer2009-09-251-18/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx25: implement clko commandSascha Hauer2009-09-252-1/+41
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add MX25 supportSascha Hauer2009-09-083-0/+108
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX: Use more accurate decode pll function from kernelSascha Hauer2009-09-081-11/+27
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX: Do not dump clocks on startup.Sascha Hauer2009-08-196-15/+41
| | | | | | | Instead, add a command dump_clocks to print the clocks during runtime. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.mx35 fix clock calcJan Weitzel2009-08-031-2/+4
| | | | | | | | | | u-boot-2.0.0-rc8 Correct arm and ahb clock calculation. Write CLKO divider to register Signed-off-by: Andreas Adam <A.Adam@phytec.de> Signed-off-by: Jan Weitzel <J.Weitzel@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mx27: Add lcd clock functionSascha Hauer2009-07-301-0/+5
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* IMX regression: fix GPIO_DR usageLuotao Fu2009-07-081-2/+2
| | | | | | | | | GPIO_DR ist defined already as GPIO_GPIO in imx-regs.h. There's no need to define archdependent GPIO_DR. This one fixes a regression brought in by d5ec92129e1c67ac86e92c22d54bb090fb00d616 Signed-off-by: Luotao Fu <l.fu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Reorganizing the i.MX menu, to be only visible for a selected i.MX platformJuergen Beisert2009-07-011-2/+7
| | | | Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
* mx2: add gpio direction/value setting callsLuotao Fu2009-06-251-0/+23
| | | | Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
* i.MX1: Fix gpt clock speedSascha Hauer2009-05-251-49/+1
| | | | | | | | | | | | | | got broken in commit: commit 309a75baafc307c77aab2ebe6055ee89a963c626 Author: Sascha Hauer <s.hauer@pengutronix.de> Date: Fri Feb 20 18:14:52 2009 +0100 i.MX use fecclk for fec and gtpclk for gpt Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX35: Add iomux support from kernelSascha Hauer2009-05-193-28/+59
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx clocksource: add frequency change supportSascha Hauer2009-05-131-0/+13
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX21: Fixes HCLK decoding for i.MX21, reports NFC clockIvo Clarysse2009-04-071-1/+22
| | | | | Signed-off-by: Ivo Clarysse <ivo.clarysse@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add Freescale i.MX21 supportIvo Clarysse2009-04-075-4/+209
| | | | | Signed-off-by: Ivo Clarysse <ivo.clarysse@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX31:Sascha Hauer2009-04-063-35/+100
| | | | | | | | | | Rework iomux support for i.MX31: - rename gpio-imx31.c to iomux-v2.c - add pin definitions from Kernel - fixup pcm037 board Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX FEC Kconfig: add a ARCH_HAS_FEC_IMX symbolSascha Hauer2009-03-311-0/+5
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>