summaryrefslogtreecommitdiffstats
path: root/arch
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | eukrea_cpuimx35: add display choice in environmentEric Bénard2012-05-181-1/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | eukrea_cpuimx25: add display choice in environmentEric Bénard2012-05-181-1/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | eukrea_cpuimx25: workaround ENGcm09152Eric Bénard2012-05-181-0/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | else USB device doesn't work as the hardware fix is present on the boards Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | MIPS: add defconfig for Ritmix RZX-50 boardAntony Pavlov2012-05-171-0/+29
| | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | MIPS: XBurst: add Ritmix RZX-50 board supportAntony Pavlov2012-05-179-1/+157
| | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | MIPS: XBurst: add JZ4755 CPU supportAntony Pavlov2012-05-176-0/+220
| | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | MIPS: add XBurst processor family supportAntony Pavlov2012-05-176-0/+55
| | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | i.MX51: Added helper for SDHC3 registration.Alexander Shiyan2012-05-171-0/+5
| | | | | | | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | i.MX51: Changed naming registers and procedures for SPIAlexander Shiyan2012-05-172-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | This patch reflects real naming of SPI by Freescale. We have two ECSPI channels and one CSPI. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | Merge branch 'master' into nextSascha Hauer2012-05-1612-84/+39
| |\ \
| * | | arch/arm: mioa701 improve barebox_update scriptRobert Jarzmik2012-05-161-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a check to verify if /barebox.BIP0 exists, and if so, unlock the protection area, flash barebox, and reprotect the area. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | arch/arm: mioa701 use maximum CPU frequencyRobert Jarzmik2012-05-161-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To speed-up linux kernel loading, switch the PXA cpu to the maximum allowed frequency (520 MHz). This improves the load time from several seconds to less than a second from the MTD. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | arch/arm: mioa701 add IPL and DPS1 updaterRobert Jarzmik2012-05-163-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order for barebox to be functional, the docg3 DPS1 has to protect barebox from writes, and have its embedded IPL coded to load barebox (as barebox is the SPL). Add a raw DPS1, which : - protects the area from block 6 to block 123 This is DPS1 + barebox + barebox-logo - encodes the 2048 bytes IPL Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | arch/arm: mioa701 make autoboot of Linux workRobert Jarzmik2012-05-161-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make the autoboot work : - if no USB cuable is plugged, continue directly to autoboot - if an USB cable is plugged, wait for 3 seconds for any input on the USB serial gadget, and if none happens, continue to autoboot linux kernel - else interrupt autoboot and interact on barebox console Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | arm/board: mioa701 align kernel options with kernel mtdRobert Jarzmik2012-05-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recent evolutions of linux kernel's drivers for docg3 chip, ie. it's renaming for mtdparts option, is handled by this patch. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | PCM038: Remove now unused preset for SPI chipselect.Alexander Shiyan2012-05-161-2/+0
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | PCM038: Removed unnecessary call to gpio_set_valueAlexander Shiyan2012-05-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The value already is set by calling gpio_direction_output. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | Support most Samsung SoCs in S3C serial driverAlexey Galakhov2012-05-142-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ok, I assume this should go into separate series. It fits both S5PV210 and S3C6410. This adds support for S3C and S5P architectures (all of my knowledge) to the serial driver. Since the only difference between them is in clock handling, this is moved to an arch-dependent separate function. Most modern architectures should define S3C_UART_HAS_UBRDIVSLOT and S3C_UART_HAS_UINTM. This adds support for most Signed-off-by: Alexey Galakhov <agalakhov@gmail.com> Signed-off-by: Juergen Beisewrt <kernel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | Merge branch 'pu/globalvar' into nextSascha Hauer2012-05-144-4/+5
| |\ \ \
| | * | | booting: more flexible Linux bootargs generationSascha Hauer2012-05-144-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We currently use the environment variable 'bootargs' to get the Linux bootargs. This patch allows for a more flexible bootargs generation using global variables. With it the Linux bootargs are concatenated from multiple variables. This allows to replace parts of the bootargs string without having to reconstruct it completely. With this bootargs can be constructed like: global linux.bootargs.base="console=ttyS0,115200" global linux.bootargs.ip="ip=dhcp" global linux.mtdparts="physmap-flash.0:512K(nor0.barebox),-(root)" This will then automatically be combined into a kernel bootargs string during boot. If the 'linux.bootargs.' variables are all empty the old standard 'bootargs' way will be used. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | PCM038: Move USBH2 initialization to PCM970Alexander Shiyan2012-05-142-40/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Actually ISP1504 ULPI chip are installed on PCM970 development board. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | arm: update mach-typesJan Luebbe2012-05-141-4/+189
| |/ / / | | | | | | | | | | | | | | | | Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | fix typo funtion -> functionAntony Pavlov2012-05-132-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | Removed duplicate definition for DEVFS_PARTITION_xxxAlexander Shiyan2012-05-1350-127/+127
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | PCM038: Initial PCM970 development board supportAlexander Shiyan2012-05-134-6/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some devices need to be moved to the PCM970 source file later, because in fact these devices are not installed on the main unit PCM038. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | PCM038: Remove unused includesAlexander Shiyan2012-05-131-3/+0
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | PCM038: Call power_init() after initializing SPI.Alexander Shiyan2012-05-131-77/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Power and frequency should be setup before initialize other devices. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | PCM038: Update board descriptionAlexander Shiyan2012-05-131-2/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: malta: use common DEBUG_LL code for NS16550Antony Pavlov2012-05-132-10/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: add common header file for DEBUG_LL via NS16550Antony Pavlov2012-05-131-0/+40
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | fix typo addreee -> addressUwe Kleine-König2012-05-136-6/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ppc reloc.S: use a common trap relocation functionRenaud Barbier2012-05-113-14/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The trap relocation function trap_reloc can be used across several PPC platforms and is added to the ppc library. Accordingly, the definition of trap_reloc is removed from mach-mpc5xxx/start.S Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ppc io.h: update following MMIO primitives fixRenaud Barbier2012-05-111-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Following the MMIO primitives fix, the definitions of __raw_* function is sourced from Linux and added. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: bootm: add "MIPS barebox" handlerAntony Pavlov2012-05-112-0/+44
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: start.S: add "barebox" label at _start + 0x10Antony Pavlov2012-05-111-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: put a valid "barebox" signature in the header on big-endian systems.Krzysztof Halasa2012-05-101-2/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: remove unused struct param_struct and related info.Krzysztof Halasa2012-05-061-53/+0
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | ARM i.MX: Possible bug fixed due misspelling when copy/pasteAlexander Shiyan2012-05-292-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We must check pointer to function rather than result. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | at91sam9260ek/9260ek/9g20ek: drop bootz and fat write support to fit in flashJean-Christophe PLAGNIOL-VILLARD2012-05-293-3/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | at91: switch uart registration to inlineJean-Christophe PLAGNIOL-VILLARD2012-05-2913-234/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | this allow to save between 100 to 300 bytes Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | add Calao QIL A9260 support and MB-QIL A9260 Motherboard supportJean-Christophe PLAGNIOL-VILLARD2012-05-299-1/+471
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with: - led - USB Device - uart - net - mmc - MMU dfu support detect it at boot time if the user button is pressed 5s and the vbus is 1 start the dfu otherwise the vbus is 1 start usb serial Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | panda: fix crash when not using barebox as second stageAnand Gadiyar2012-05-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If barebox is not used as the MLO, then it crashes during boot with the below error message: Board: Texas Instrument's Panda PandaBoard Revision: 003 omap-hsmmc@mci0: registered as mci0 unable to handle paging request at address 0x4a064010 pc : [<8f01e820>] lr : [<8f0049a0>] sp : 8cffff80 ip : 00000016 fp : 00100103 r10: 00000000 r9 : 00000ae7 r8 : 4030b76c r7 : 40300200 r6 : e28f8028 r5 : 0000003e r4 : 00000000 r3 : 4a064000 r2 : 00000014 r1 : 00000001 r0 : 00000001 Flags: nzCv IRQs off FIQs off Mode SVC_32 [<8f01e820>] (panda_devices_init+0x17c/0x1e0) from [<8f006300>] (start_barebox+0x18/0x10c) [<8f006300>] (start_barebox+0x18/0x10c) from [<8200006c>] (0x8200006c) [<8f021248>] (unwind_backtrace+0x0/0x98) from [<8f011a00>] (panic+0x28/0x3c) [<8f011a00>] (panic+0x28/0x3c) from [<8f02171c>] (do_exception+0x10/0x14) [<8f02171c>] (do_exception+0x10/0x14) from [<8f021784>] (do_data_abort+0x2c/0x38) [<8f021784>] (do_data_abort+0x2c/0x38) from [<8f021470>] (data_abort+0x50/0x60) This is because the USBHOST module is not enabled. The module enable is is normally done in mach-omap/xload.c which never gets called. Since we're configuring the USBHOST CLKCTRL register in the board file anyway, we might as well explicitly enable the module in the same place. Signed-off-by: Anand Gadiyar <gadiyar@ti.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | ARM i.MX51 babbage: move fec init after power initSascha Hauer2012-05-171-4/+4
| |/ / |/| | | | | | | | | | | | | | | | | Among other things the power initialization also turns on power for the ethernet phy, so register the fec after power init. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | ARM i.MX51 babbage: use dedicated chipselect for PMIC spiSascha Hauer2012-05-161-1/+1
| | | | | | | | | | | | | | | | | | | | | This got broken while updating the iomux definitions from the kernel. Since then the PMIC did not work anymore. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'next'Sascha Hauer2012-05-03182-1288/+11972
|\| | | | | | | | | | | | | | | | | | | | Conflicts: common/hush.c Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | Preparation stage to support multiple PPC architecturesRenaud Barbier2012-05-0214-265/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | arch/ppc/Kconfig is reworked to make the configuration environment architecture neutral. All MPC5200 configuration is moved to the MPC5200 architecture specific configuration file. These modifications are reflected in the PCM030 board support. arch/ppc/Makefile compilation directives are updated in preparation for the introduction of future cpus/machines. lib/time.c is moved to the architecture specific directory and the building instructions updated in the Make files. The file is cleaned up of unused code. The definition of L1_CACHE_... is updated and CACHELINE_SIZE is defined in ppc/include/asm/cache.h for future use by the mpc85xx. The file mach-mpc5xxx/pci_mpc5200.c and mach-mpc5xxx/start.S are updated accordingly. The declaration of search_exception_table is moved in include/asm/common.h because it is used across architectures. mach-mpc5xxx/traps.c is also updated to reflect this change. The definition of exception in asm/ppc_asm.tmpl is updated for future use by the mpc85xx. The file starts.S in mach-mpc5xxx is updated accordingly. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ppc mmu.h: update for future mpc85xx supportSascha Hauer2012-05-021-8/+27
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ppc processor.h: Update for future mpc85xx supportSascha Hauer2012-05-021-0/+44
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ppc: add clr/setbits operationsSascha Hauer2012-05-021-0/+20
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ppc: Add fls, fls64, __ilog2_u64 and ffs64 bitopsSascha Hauer2012-05-021-0/+42
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>