summaryrefslogtreecommitdiffstats
path: root/arch
Commit message (Collapse)AuthorAgeFilesLines
* ARM Chumby-Falconwing: Add a user for video graphics support on i.MX23Juergen Beisert2010-12-212-23/+68
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM KARO-TX28-STK5: Add a user for video graphics support on i.MX28Juergen Beisert2010-12-212-0/+152
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM STM/i.MX: Add video driver for i.MX23/i.MX28Juergen Beisert2010-12-212-0/+44
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM STM/i.MX: Add a pixel clock calculation routine for i.MX23/i.MX28Juergen Beisert2010-12-214-0/+154
| | | | | | | | In order to support video graphics output on i.MX23/i.MX28 based platforms, a calculation routine for the pixel clock is required. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM Chumby: Just fix some typosJuergen Beisert2010-12-211-3/+3
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM Chumby: Fix unit of the clocks after the change to HzJuergen Beisert2010-12-211-2/+2
| | | | | | | | With the change to Hz as the main clock unit on the STM architecture the Chumby must also use this unit. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM Chumby: Fix memory indexJuergen Beisert2010-12-211-0/+1
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'led' into nextSascha Hauer2010-12-212-1/+10
|\
| * ARM pcm043 board: Add LED supportSascha Hauer2010-12-201-1/+9
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Merge branch 'next'Sascha Hauer2010-12-03200-19231/+3084
| |\
| * | arm: mini2440: Add memory size.Marek Belisko2010-12-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | MINI240 board has available always 64M of memory so add size to memory device structure. Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | ARM tx28stk5_defconfig: update configSascha Hauer2010-12-141-0/+3
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | ARM STM/i.MX: remove GENERIC_GPIO from ARCH_STMSascha Hauer2010-12-141-1/+0
| | | | | | | | | | | | | | | | | | This architecture does not have gpio support yet. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | STM378x: Add the TX28 Starterkit-5 baseboardJuergen Beisert2010-12-146-0/+367
| | | | | | | | | | | | | | | | | | | | | This file is to be used in conjunction with the TX28 CPU module. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | STM378x: Add TX28 CPU moduleJuergen Beisert2010-12-145-0/+153
| | | | | | | | | | | | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | MX28: add FEC supportJuergen Beisert2010-12-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | The i.MX28 comes with an extended ethernet controller (ENET/FEC) which is backwards compatible to the FEC known from other i.MX CPUs. Add a few adaptions to the existing driver to make it work with the MX28 FEC. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | STM378x: Add i.MX28 architectureJuergen Beisert2010-12-1414-6/+1142
| | | | | | | | | | | | | | | | | | | | | | | | | | | The i.MX28 shares a lot of functionality with its predecessor, the i.MX23 (formerly known as stm378x). This patch adds some files to support both CPUs. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> 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>
* | | STM378x: Separate i.MX23 clock handlingJuergen Beisert2010-12-142-13/+32
| | | | | | | | | | | | | | | | | | | | | Separate i.MX23 clock handling to simplify the addition of the upcoming i.MX28. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | STM378x: Parameterize the max. possible GPIO numberJuergen Beisert2010-12-141-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | This is for easier integration of the i.MX28 architecture (to share the code later on). Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | STM378x: Use Hz as the clock unit like in all other archJuergen Beisert2010-12-141-25/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | i.MX23 currently uses kHz as the unit for its clock handling and calculation to avoid overflows when calculation with the internal 480 MHz PLL and its fractional divider. This patch changes all routines to accept Hz and deliver Hz as the clock unit. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Make DIV_ROUND_UP macro globally availableJuergen Beisert2010-12-141-2/+1
| | | | | | | | | | | | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Add basic support from ARM Versatile/PBAlexey Zaytsev2010-12-1215-0/+888
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tested with qemu only qemu-system-arm -M versatilepb -monitor null -kernel barebox -net nic -net user -tftp "<uImage-path>/" -serial stdio add -nographic if you do not want the lcd via sdl Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com> update: - use default env - move arm_timer.h as in the kernel - add nor flash support - udpate defconfig - fix copyright copy from linux - fix ARCH_TEXT_BASE Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | imx: add IMX_GPIO_NR macro.Marc Reilly2010-12-121-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Simplifies specifying gpio numbers from bank/number info. From linux kernel. Signed-off-by: Marc Reilly <marc@cpdesign.com.au> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | arm: update mach-typesMarc Reilly2010-12-101-13/+372
| |/ |/| | | | | | | Signed-off-by: Marc Reilly <marc@cpdesign.com.au> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | clocksource: switch mask to CLOCKSOURCE_MASKJean-Christophe PLAGNIOL-VILLARD2010-11-2912-12/+12
| | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | i.MX device macros: Fix esdhciSascha Hauer2010-11-185-6/+12
| | | | | | | | | | | | | | | | The patch introducing device macros for i.MX accidently registered a imx-mmc device for i.MX25/35/51. It should be a imx-esdhc device. This patch fixes tis Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'master' into nextSascha Hauer2010-11-172-2/+3
|\|
| * x86: add 64bit host build supportJean-Christophe PLAGNIOL-VILLARD2010-11-171-1/+2
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * mini2440: Fix compilation error.Marek Belisko2010-11-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Patch fix following compilation error: ../mini2440.c:33:28: error: asm/mach-types.h: No such file or directory ../mini2440.c: In function 'mini2440_devices_init': ../mini2440.c:113: error: 'MACH_TYPE_MINI2440' undeclared (first use in this function) ../mini2440.c:113: error: (Each undeclared identifier is reported only once ../mini2440.c:113: error: for each function it appears in.) Signed-off-by: Marek Belisko <marek.belisko@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Remove m68k supportSascha Hauer2010-11-17123-18831/+0
| | | | | | | | | | | | | | | | | | The m68k support is compile broken for a long time now and nobody cared so far. We cannot keep the architecture uptodate with current development wihtout being able to compile it. It's still in the archives and can be re-added anytime once somebody cares for. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | pcm037: Enable nand driver in defaultconfigSascha Hauer2010-11-151-1/+5
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | pcm037: set nand_device in default environmentSascha Hauer2010-11-151-0/+1
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | pcm037: Fix compilation warning.Marek Belisko2010-11-151-1/+1
| | | | | | | | | | | | | | | | | | | | This patch fix following compilation warning: ../devices-imx31.h: In function 'imx31_add_fb': ../devices-imx31.h:34: warning: passing argument 2 of 'imx_add_ipufb' from incompatible pointer type Signed-off-by: Marek Belisko <marek.belisko@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'master' into nextSascha Hauer2010-11-1214-2/+617
|\|
| * Add basic support for mini2440 dev board.Marek Belisko2010-11-0413-0/+614
| | | | | | | | | | | | | | | | | | | | | | This work is mainly based on a9m2440 board implementation from Juergen Beisert <jbe@pengutronix.de>. Functionality was tested only running barebox from ram. Loading to flash and booting will not work because missing lowlevel_init functionality (lack of jtag debugger on my side ;)). Signed-off-by: Marek Belisko <marek.belisko@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * eukrea_cpuimx35: fix flash headerEric Bénard2010-11-031-2/+3
| | | | | | | | | | | | | | commit f0e62e69a58e249e11fc33f993e4cdb95eac6ea3 broke the header. Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM i.MX51: Add nand deviceSascha Hauer2010-11-121-0/+5
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | imx nand: Add v3 (i.MX51) supportSascha Hauer2010-11-122-0/+11
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | at91: add Ronetix pm9g45 supportJean-Christophe PLAGNIOL-VILLARD2010-11-117-0/+218
| | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Ilko Iliev <iliev@ronetix.at>
* | at91: Support for at91sam9g10: core chip & board supportJean-Christophe PLAGNIOL-VILLARD2010-11-117-3/+73
| | | | | | | | | | | | | | | | | | | | Here are the modification to at91sam9261 files dedicated to the support of at91sam9g10. This direction has been adopted to minimize code duplication. All at91sam9261 drivers are enabled in _devices and board files. Modificaton to peripherals that support at91sam9g10 will be added in future patches. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | at91sam9260/at91sam9263: use the same id as in the kernel for the uart devicesJean-Christophe PLAGNIOL-VILLARD2010-11-112-11/+11
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | at91: Support for at91sam9g45 and at91sam9m10 series: core chip & board supportJean-Christophe PLAGNIOL-VILLARD2010-11-1114-1/+1086
| | | | | | | | | | | | | | | | | | | | | | Here are the at91 specific files dedicated to the at91sam9g45 series. They mimic the traditional at91 way of managing chips & boards. The first board that embeds at91sam9g45 chip is the AT91SAM9M10G45-EK. In the future, we will add the m10 and other boards revisions Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
* | at91: add Ronetix pm9261 board supportJean-Christophe PLAGNIOL-VILLARD2010-11-107-0/+381
| | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Ilko Iliev <iliev@ronetix.at>
* | at91: Introduction of at91sam9261 SOC.Jean-Christophe PLAGNIOL-VILLARD2010-11-1012-0/+872
| | | | | | | | | | | | | | | | | | | | | | AT91sam9261 series is an ARM 926ej-s SOC family clocked at 190/100MHz. The first board that embeds at91sam9261 chip is the AT91SAM9261-EK. http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3820 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Nicolas Ferre <nicolas.ferre@atmel.com> Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
* | i.MX device macros: Fix typoSascha Hauer2010-11-101-1/+1
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM eukrea cpuimx25: Use device functionsSascha Hauer2010-11-021-47/+7
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM eukrea cpuimx27: Use device functionsSascha Hauer2010-11-021-23/+4
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM eukrea cpuimx35: Use device functionsSascha Hauer2010-11-021-46/+7
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM mx25 3ds: Use device functionsSascha Hauer2010-11-021-31/+5
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>