summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ARM: i.MX: Make mxc_iomux_v3_setup_multiple_pads argument constSascha Hauer2014-02-202-3/+3
| | | | 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>
* ARM: i.MX: Karo-tx25: build image for internal bootSascha Hauer2014-02-191-0/+5
| | | | | | | This adds an image for the TX25 in internal boot mode. This can be used for USB booting. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* video: imx: Add a name to perclkSascha Hauer2014-02-103-3/+3
| | | | | | 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-102-0/+56
| | | | | | | | | - 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>
* sata-imx: i.MX53, use the internal 120MHz clock by defaultEric Bénard2014-02-101-1/+1
| | | | | | | | | | | | | | | | | this allows SATA to work on i.MX53 QSB-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 before this fix the log was : barebox@Freescale i.MX53 Quick Start-R Board:/ ata0.probe=1 imx-sata 10000000.sata: port 0: SATA link timeout set parameter: Connection timed out 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>
* cfi_flash.c: correct calculation of region erasesize and offset for multiple ↵Cristiano De Alti2014-02-041-2/+2
| | | | | | | (size_ratio > 1) chips in parallel 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-03143-38/+38
| | | | | | | | | | 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-037-34/+1533
|\
| * 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>
| * dt-bindings: add Tegra CARLucas Stach2014-01-291-0/+158
| | | | | | | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * dt-bindings: add Tegra GPIOLucas Stach2014-01-291-0/+50
| | | | | | | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * dt-bindings: add ARM GICLucas Stach2014-01-292-0/+41
| | | | | | | | | | 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-0322-35/+372
|\ \
| * | reset_source: add reset_source_getSascha Hauer2014-01-292-0/+16
| | | | | | | | | | | | | | | | | | To get reset_source from C code, not only from shell. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | reset_source: rename set_reset_source to reset_source_setSascha Hauer2014-01-297-24/+24
| | | | | | | | | | | | | | | | | | | | | 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/net'Sascha Hauer2014-02-035-7/+134
|\ \ \ \
| * | | | net usb asix: add AX88772B USB IDPhilipp Zabel2014-01-291-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | net usb asix: read MAC from EEPROM on AX88772BPhilipp Zabel2014-01-291-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | net usb asix: Use only 11 bits of header for data sizeMarek Vasut2014-01-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The AX88772B uses only 11 bits of the header for the actual size. The other bits are used for something else. This causes dmesg full of messages: asix_rx_fixup() Bad Header Length This patch trims the check to only 11 bits. I believe on older chips, the remaining 5 top bits are unused. Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | net usb asix: Simplify condition in rx_fixup()Marek Vasut2014-01-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | net: Fix error return value for string_to_ethaddrSascha Hauer2014-01-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Return a proper error code instead of -1 which would be -EPERM. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | net/phy: add driver for National Semiconductor DP83865 PHYAntony Pavlov2014-01-203-0/+101
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | Based on Linux kernel 3.12 driver. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | Merge branch 'for-next/mtd'Sascha Hauer2014-02-039-53/+88
|\ \ \ \
| * | | | 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>
| * | | | UBIFS: implement readlink entry pointRenaud Barbier2014-01-301-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement the readlink entry point for future use by the DA923RC. 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>
| * | | | fs ubifs: Use pr_* for printing messagesSascha Hauer2014-01-162-8/+8
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | Unline the printk(KERN_* the pr_* functions cooperate with the barebox loglevel. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | Merge branch 'for-next/misc'Sascha Hauer2014-02-0330-60/+213
|\ \ \ \
| * | | | 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>