summaryrefslogtreecommitdiffstats
path: root/arch
Commit message (Collapse)AuthorAgeFilesLines
* ARM: i.MX: Make mxc_iomux_v3_setup_multiple_pads argument constSascha Hauer2014-02-201-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX6: sabresd: set USB PHY and DR modeLucas Stach2014-02-191-0/+4
| | | | | Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* video: imx: Add a name to perclkSascha Hauer2014-02-102-2/+2
| | | | | | perclk should be named 'per' to make sure we get the correct clock. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX25: Fix LCDC clocksSascha Hauer2014-02-101-6/+21
| | | | | | | | | | | | | - Make sure the LCDC ipg clock is turned off during startup - register all LCDC clocks (ahb, ipg, per) and pass them to driver This is necessary because the LCDC doesn't have an enable bit. It just starts working once the clocks are turned on. If the registers have invalid values at that time the controller goes into some error state. So we have to make sure the clocks are turned off during startup and only turned on in the driver. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: mx53-qsrb: enable sataEric Bénard2014-02-101-0/+4
| | | | | | | | | | | | tested on i.MX53 START-R : barebox@Freescale i.MX53 Quick Start-R Board:/ ata0.probe=1 imx-sata 10000000.sata: port 0: SATA link ok imx-sata 10000000.sata: port 0: Spinning up device... imx-sata 10000000.sata: port 0: ok. ata0: registered /dev/ata0 Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: mx53-qsrb: enable USB OTG in host modeEric Bénard2014-02-101-1/+2
| | | | | | | | | | | | | | tested on i.MX53 START-R : barebox@Freescale i.MX53 Quick Start-R Board:/ usb -f USB: scanning bus for devices... Using index 0 for the new disk Bus 001 Device 002: ID 0951:1654 DT R500 Bus 001 Device 001: ID 0000:0000 EHCI Host Controller Bus 002 Device 003: ID 0000:0000 EHCI Host Controller 3 USB Device(s) found Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: mx53-qsrb: enable USB hostEric Bénard2014-02-101-1/+4
| | | | | | | | | | | | | | | | | - declare the rigth mux for the GPIO used to enable the USB's 5V - enable USB host controller tested on i.MX53 START-R : barebox@Freescale i.MX53 Quick Start-R Board:/ usb -f USB: scanning bus for devices... Bus 001 Device 001: ID 0000:0000 EHCI Host Controller Using index 0 for the new disk Bus 002 Device 003: ID 0951:1654 DT R500 Bus 002 Device 002: ID 0000:0000 EHCI Host Controller 3 USB Device(s) found Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: mx53-qsrb: fix USBEric Bénard2014-02-101-0/+45
| | | | | | | | | - configure the MC34708 properly so that USB can work (the sequence is taken from u-boot) - add the required defines to the mc13xxx include file Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX53: Add sata to devicetreeEric Bénard2014-02-101-0/+9
| | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX21 ADS defconfig: set CONFIG_NAND_IMX since this board has a 64MBi NAND ↵Cristiano De Alti2014-02-041-7/+5
| | | | | | | flash Signed-off-by: Cristiano De Alti <cristiano_dealti@hotmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: omap3: Add missing includeSascha Hauer2014-02-031-0/+1
| | | | | | omap3-generic.h needs memcpy, include linux/string.h for this. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX21 ads: remove garbage at end of #ifdefSascha Hauer2014-02-031-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: rename boards to more consistent namingSascha Hauer2014-02-03142-32/+32
| | | | | | | | | | This renames the Freescale and Phytec board directories and defconfig files to a common naming scheme. The board directories are named <vendor>-<board> and the defconfig files are named <vendor>-<board>_defconfig. Also the DataModul realq7 is renamed to its Marketing Name eDM-QMX6. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/tegra'Sascha Hauer2014-02-034-34/+1303
|\
| * ARM: dts: pull in complete DTs from Linux 3.13Lucas Stach2014-01-294-34/+1303
| | | | | | | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/pxa'Sascha Hauer2014-02-0318-22/+343
|\ \
| * | reset_source: rename set_reset_source to reset_source_setSascha Hauer2014-01-293-11/+11
| | | | | | | | | | | | | | | | | | | | | To get all reset source related functions into the same function namespace. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: mioa701: poweroff the board on long power pressRobert Jarzmik2014-01-202-1/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the board is on console, a way is added to manually power off the board, on a long power key press (4s). This enables to be able to poweroff the board whatever the state, and is the only manual way (no mechanical possibility). Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: mioa701 change MTD layoutRobert Jarzmik2014-01-206-12/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As barebox has grown up in size, because UBI support is now embedded in barebox, and because the IPL is at least rewritten to be fully GPL, modify mioa701 support to take into account this new layout : - IPL is version 0.5 - MTD layout is fully changed - the boot sequence is rewritten : - the volume up button triggers console mode - upon PowerOn or Sleep exit, power key is debounced and if not help board is powered off back - sdcard environment override can now stop the autoboot sequence - mtd environment override can now stop the autoboot sequence Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: mioa701 defconfig updateRobert Jarzmik2014-01-201-3/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update mioa701 board for new setup : - double the barebox size to 524288 bytes - add new commands - add device tree support, for future PXA port to devicetree - add reset source Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: pxa: add poweroff capabilityRobert Jarzmik2014-01-205-0/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the capability for the PXA architecture to poweroff. As there is no true poweroff, ie. the power regulator is not available for shut off from the core, the poweroff puts the SoC into a deep sleep mode (mode 7), where almost no current is sunk. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: pxa: add reset source detectionRobert Jarzmik2014-01-203-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | Use PXA register RCSR to detect which is the reset cause. When triggering a reset, clear the former reset source first. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: mioa701: fix frequence speedup codeRobert Jarzmik2014-01-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As barebox has become the true SPL of mioa701 board (no intermediate SPL), a bug was uncovered in the init procedure, where the CPU voltage was to be increased by commanding the I2C voltage regulator, while the I2C was shut down. Fix it by unclock-gating the power I2C bus before using it. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/ppc'Sascha Hauer2014-02-0314-321/+359
|\ \ \
| * | | cpu-85xx: start.S: clean up imported codeRenaud Barbier2014-01-161-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Correct double spaces, indentation and vocabulary in the imported start-up code. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ppc: cpu-85xx: import U-Boot start-up codeRenaud Barbier2014-01-165-129/+277
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Import U-Boot start-up code from version git-9407c3fc to include the latest CPUs errata and make future U-Boot code inclusion easier. The code import is limited to the currently supported CPUs P2020/MPC8544. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ppc: mpc85xx: change bss relocationRenaud Barbier2014-01-162-24/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The linker script and start up code are updated so that the bss section is located above the barebox binary in memory. This removes the reliance on a hard-coded value. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ppc: mpc85xx: use common linker scriptRenaud Barbier2014-01-167-143/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates to use a common linker script for all mpc85xx boards, avoiding duplication. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ppc: cpu-85xx: upgrade MMU support to v2 pages sizesRenaud Barbier2014-01-164-25/+49
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TLB support for the 85xx CPUs has been upgraded to support the MMUv2 page size definitions. This has been imported from U-Boot version git-9407c3fc. This allows for future CPUs to make use of the new MMU support. Also the definition of MAX_MEM_MAPPED has been changed to avoid type casting with "min" macro. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/mtd'Sascha Hauer2014-02-036-45/+42
|\ \ \
| * | | DA923RC: enable UBI/UBIFS configurationRenaud Barbier2014-01-302-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The UBI/UBIFS support is enabled and a script is added to attach the UBI device and mount the UBIFS partition. This allows the loading of firmware images from the NOR flash. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ppc: remove bit operation headers file conflictRenaud Barbier2014-01-304-45/+24
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed the ppc bit operation functions and definitions in the ppc file asm/bitops.h since these are already defined in the asm-generic header files. Moved ffs64 definition to the mpc85xx header files because the function requires the inclusion of linux/log2.h which also includes asm/bitops.h. The conflict was noted when UBIFS was enabled in barebox. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/misc'Sascha Hauer2014-02-0310-29/+22
|\ \ \
| * | | sandbox: update to new environmentMichael Grzeschik2014-02-033-15/+11
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | sandbox: update defconfig to use new environmentMichael Grzeschik2014-02-031-4/+5
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: uncompress: Remove unused variableAlexander Shiyan2014-01-291-4/+0
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | environment: Use accessor functions for default environment pathSascha Hauer2014-01-275-6/+6
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | default_environment_path only exists when CONFIG_ENV_HANDLING is enabled. Boards would have to #ifdef this if they wanted to use default_environment_path. Use accessor functions instead which can be ifdeffed on a single place. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/mips'Sascha Hauer2014-02-0319-1/+398
|\ \ \
| * | | MIPS: csrc-r4k: use CLOCKSOURCE_MASK() macroAntony Pavlov2014-01-301-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: add loongson-ls1b_defconfigAntony Pavlov2014-01-301-0/+42
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: loongson-ls1b: add documentationAntony Pavlov2014-01-302-0/+49
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: loongson-ls1b: add NMON supportAntony Pavlov2014-01-302-0/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: loongson-ls1b: add PBL supportAntony Pavlov2014-01-302-0/+40
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: loongson-ls1b: add ns16550-based consoleAntony Pavlov2014-01-303-0/+24
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: loongson-ls1b: add DEBUG_LL supportAntony Pavlov2014-01-302-0/+35
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: mach-loongson: add DEBUG_LL supportAntony Pavlov2014-01-301-0/+27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: mach-loongson: add loongson-ls1b boardAntony Pavlov2014-01-304-0/+26
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: add initial Loongson-1X SoC stuffAntony Pavlov2014-01-303-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | This code is based on linux-3.6 code. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: add Loongson-1B processor constants and CPU probeAntony Pavlov2014-01-212-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit is based on this linux commit: commit 2fa36399e63c911134f28b6878aada9b395c4209 Author: Kelvin Cheung <keguang.zhang@gmail.com> Date: Wed Jun 20 20:05:32 2012 +0100 MIPS: Add CPU support for Loongson1B Loongson 1B is a 32-bit SoC designed by Institute of Computing Technology (ICT) and the Chinese Academy of Sciences (CAS), which implements the MIPS32 release 2 instruction set. [ralf@linux-mips.org: But which is not strictly a MIPS32 compliant device which also is why it identifies itself with the Legacy Vendor ID in the PrID register. When applying the patch I shoveled some code around to keep things in alphabetical order and avoid forward declarations.] Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: add Loongson-1B CPU Kbuild stuffAntony Pavlov2014-01-212-0/+20
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>