summaryrefslogtreecommitdiffstats
path: root/arch
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'next'Sascha Hauer2012-01-05245-2326/+6433
|\
| * arm: update mach-typesJuergen Kilb2012-01-051-3/+63
| | | | | | | | | | Signed-off-by: Juergen Kilb <J.Kilb@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * video imx: specify num_modes in platform_dataSascha Hauer2012-01-056-0/+6
| | | | | | | | | | | | | | | | Without num_modes the imx fb driver won't work. Specify this in the boards and also bail out in the driver when num_modes is unspecified. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * at91rm9200_devices: add missing sizes.hJean-Christophe PLAGNIOL-VILLARD2012-01-051-0/+1
| | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * at91rm9200: fix lowlovel init PIOC baseJean-Christophe PLAGNIOL-VILLARD2012-01-051-3/+3
| | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * boards: mx23evk: add MMC supportWolfram Sang2012-01-041-0/+31
| | | | | | | | | | | | | | Using SSP1 since this is the default configuration. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * eukrea_cpuimx35: fix compilation when CONFIG_USB_GADGET is enabledEric Bénard2012-01-041-0/+3
| | | | | | | | | | | | | | this was introduced in "6b3e01a arm: eukrea: Fix compilation warning" Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * calao/usb-926x: update usb gadget supportJean-Christophe PLAGNIOL-VILLARD2012-01-046-14/+40
| | | | | | | | | | | | | | | | | | | | | | | | enable serial and dfu at the same time senario if the usb device is plugged and the BP is not pressed at boot time during 5s the usbserial will be enable disable zlib support to fit in the 256K Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Mini2440: enable more working devices for a more broad compile time testJuergen Beisert2012-01-041-1/+4
| | | | | | | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM i.MX5 loco/smd: fix compilationSascha Hauer2012-01-032-2/+2
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * defconfig updateSascha Hauer2012-01-0216-19/+257
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM cache-armv7: use thumb-2 instructions where necessarySascha Hauer2012-01-021-2/+6
| | | | | | | | | | | | Copied from the Kernel Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: update string functions from Linux KernelSascha Hauer2012-01-024-41/+85
| | | | | | | | | | | | The newer versions contain fixes for Thumb-2 mode. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM eukrea i.MX51: use generic lowlevel initSascha Hauer2012-01-024-218/+3
| | | | | | | | | | | | | | | | | | The lowlevel init function was a 1:1 copy from the babbage baord, so it should be safe to switch to the generic C lowlevel init. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Cc: Eric Benard <eric@eukrea.com>
| * ARM i.MX51 babbage: use generic lowlevel init functionSascha Hauer2012-01-024-218/+3
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM i.MX51: implement a imx51_lowlevel_initSascha Hauer2012-01-023-1/+107
| | | | | | | | | | | | | | | | 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-027-63/+76
| | | | | | | | | | | | | | | | - 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>
| * MACH SAMSUNG/S3C: Re-work the GPIO handling for S3C24xx CPUsJuergen Beisert2012-01-029-128/+152
| | | | | | | | | | | | | | | | | | a) use the more CPU specific S3C* macro names b) move the register description out of the way, as more recent CPUs using a different layout and more features Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * MACH SAMSUNG/S3C: Re-work the memory detection and handlingJuergen Beisert2012-01-0213-116/+119
| | | | | | | | | | | | | | | | Keep common code in the MACH instead of re-inventing it in each platform. Also use S3C* macros for all memory related register. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * MACH SAMSUNG/S3C: Unify the UART driver for the S3C family of CPUsJuergen Beisert2012-01-024-11/+10
| | | | | | | | | | | | | | | | The UART is one of the units which differs only slightly inside the S3C family. Prepare this driver to share it with more recent CPUs. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * MACH SAMSUNG/S3C: Prepare watchdog unit to be shared in the S3C familyJuergen Beisert2012-01-023-10/+9
| | | | | | | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * MACH SAMSUNG/S3C: Re-work the S3C family timer driverJuergen Beisert2012-01-021-18/+60
| | | | | | | | | | | | | | | | | | | | | | | | After separation and after all S3C macros are now present, change the driver to be more generic for future additions. The timer registers in the S3C24XX family are only 16 bit wide. But these registers can be read and written in a 32 bit manner. This is important to share code with more recent CPUs which comes with 32 bit registers. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * MACH SAMSUNG/S3C: Rename register macros to reflect the MACH they are valid forJuergen Beisert2012-01-022-27/+26
| | | | | | | | | | | | | | | | | | Most members of the S3Cxxxx family share similar timer units. But they are not really register compatible. To reflect this, use a separate name space for the S3C family. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * MACH SAMSUNG/S3C: Separate the clocksource for the S3C familyJuergen Beisert2012-01-023-34/+56
| | | | | | | | | | | | | | | | This patch just move the clocksource functions out of the generic.c source file to handle it on a per CPU base later on. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * MACH SAMSUNG/S3C: Separate S3C24XX clock managementJuergen Beisert2012-01-027-133/+179
| | | | | | | | | | | | | | | | | | | | There are major differences in the clock tree of the S3C24xx family and the more recent CPUs of the S3C family. Keep the S3C24XX clock routines separate to avoid an ifdef hell. But also use generic function names to be able to share drivers among the S3C family. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * MACH SAMSUNG/S3C: Reflect the CPU name the LCD driver is forJuergen Beisert2012-01-022-1/+1
| | | | | | | | | | | | | | | | | | This LCD driver is for the LCD controller in the S3C2410/S3C2440 CPUs only. Change its name to reflect its usage and free the way to add LCD controller drivers for more recent Samsung CPUs. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * MACH SAMSUNG/S3C: Parts of the SDHC driver can be shared in the S3C CPU familyJuergen Beisert2012-01-022-1/+1
| | | | | | | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * MACH SAMSUNG/S3C: Use the correct CPU family name to reflect NAND driver's usageJuergen Beisert2012-01-025-4/+4
| | | | | | | | | | | | | | | | | | The aready existing NAND controller driver in Barebox is for the S3C24XX family only. Change the name of the file to reflect this fact (and free the way to add more recent Samsung NAND controllers) Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * MACH SAMSUNG/S3C: Make it more generic for future updatesJuergen Beisert2012-01-0213-18/+13
| | | | | | | | | | | | | | Start with renaming files to share them in the S3C CPU family, Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * MACH SAMSUNG/S3C: Do not compile S3C24xx's GPIO support unconditionallyJuergen Beisert2012-01-021-1/+2
| | | | | | | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * MACH SAMSUNG: Rename the whole mach to add more CPUs in futureJuergen Beisert2012-01-0214-5/+15
| | | | | | | | | | | | | | | | | | The S3Cxxxx family consists of ARMv4, ARMv5 and ARMv6 types of CPU cores. The S3C24xx sub family is only one of it. To be able to handle all CPUs in one mach directory, use a more generic name for it. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * mxs: add support for mx28-evkWolfram Sang2012-01-028-0/+266
| | | | | | | | | | | | | | | | | | This patch adds basic support for the mx28-evk board. Debug UART, MMC and FEC have been successfully used. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Add a generic boardFranck Jullien2012-01-024-0/+68
| | | | | | | | | | | | | | | | | | In this generic configuration, the board can be run in the or1ksim simulator with the linux configuration file using the UART to print the console. Signed-off-by: Franck Jullien <franck.jullien@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Add OpenRISC archFranck Jullien2012-01-0234-0/+2486
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OpenRISC is the original flagship project of the OpenCores community. This project aims to develop a series of general purpose open source RISC CPU architectures. A team from OpenCores provided the first implementation, the OpenRISC 1200, written in the Verilog hardware description language. Even though I should have created an mach-or1200 directory, it is not necessary for now. The OpenRISC 1200 CPU is the only one available and it will be for some time. Signed-off-by: Franck Jullien <franck.jullien@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * usb-a926x: update defconfigJean-Christophe PLAGNIOL-VILLARD2012-01-025-20/+80
| | | | | | | | | | | | | | enable led, triggers, uimage, oftree, dfu, etc... Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * usb-a926x: add dfu supportJean-Christophe PLAGNIOL-VILLARD2012-01-022-0/+52
| | | | | | | | | | | | | | | | | | detect it at boot time if the user button is pressed 5s and the vbus is 1 start the dfu Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * usb-a926x: add led supportJean-Christophe PLAGNIOL-VILLARD2012-01-021-0/+18
| | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * at91/gpio: simplify resourcesJean-Christophe PLAGNIOL-VILLARD2012-01-0213-80/+52
| | | | | | | | | | | | | | drop irq id and rebase instead of of offset Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * at91sam9x: switch lowlevel init to cJean-Christophe PLAGNIOL-VILLARD2012-01-026-350/+171
| | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * at91sam9263ek: add nor partitionJean-Christophe PLAGNIOL-VILLARD2012-01-021-0/+2
| | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * at91: add sram memory devicesJean-Christophe PLAGNIOL-VILLARD2012-01-027-0/+40
| | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: import memcpy_from/toio and memset_io from linuxJean-Christophe PLAGNIOL-VILLARD2012-01-023-0/+58
| | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * atmel: reference boards and Caloa boards bbt option enabledJean-Christophe PLAGNIOL-VILLARD2012-01-025-0/+5
| | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Add support for the Phytec phyCARD-A-L1 (PCA-A-L1).Juergen Kilb2012-01-0211-1/+820
| | | | | | | | | | Signed-off-by: Juergen Kilb <J.Kilb@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * at91: add at91_udc resourceJean-Christophe PLAGNIOL-VILLARD2011-12-234-0/+78
| | | | | | | | | | | | | | | | | | this device controller is present on rm9200/9260/9g20/9261/9g10/9263 the 9g45 use an other IP Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * pcm049-i2c: add i2c and twlcore to pcm049Alexander Aring2011-12-211-0/+11
| | | | | | | | | | | | | | Add i2c-omap and twlcore driver to pcm049 board. Signed-off-by: Alexander Aring <a.aring@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * omap_hsmmc: setup mmc voltage on twl6030Alexander Aring2011-12-213-0/+61
| | | | | | | | | | | | | | | | Support the setup of the mmc voltage, when booting OMAP4 with twl6030 from nand. Signed-off-by: Alexander Aring <a.aring@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * i2c-omap: add i2c omap4 supportAlexander Aring2011-12-211-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Added i2c support for omap4. Tested on pcm049. Driver based on linux kernel implementation. Also added a shift to access 16-bit registers to make support for OMAP730/850 possible. If accessing a non existing slave the bus will go into arbitration mode. It's unable to recover from it. Signed-off-by: Alexander Aring <a.aring@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM zImage: fix missing setting of load_addressSascha Hauer2011-12-211-0/+1
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * arch/arm: mmu: add map_io_range()Robert Jarzmik2011-12-212-0/+18
| | | | | | | | | | | | | | | | | | Add a function to remap an IO range into a virtual addresses range. This is particulary usefull for the few devices mapped at physical address 0, as the MTD boot devices. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>