summaryrefslogtreecommitdiffstats
path: root/arch
Commit message (Collapse)AuthorAgeFilesLines
* arch/MPC5xxx: fix linker script for MPC5200Juergen Borleis2014-10-091-11/+15
| | | | | | | | | | | | | | | | | | | Without this change the barebox.bin ends up with: 00000000 79 ba 8f 79 00 00 00 00 75 39 6e d1 74 27 00 00 |y..y....u9n.t'..| 00000010 01 00 00 00 00 00 00 00 28 80 ad db 8d c7 a8 67 |........(......g| 00000020 4e 07 00 00 10 00 00 00 2f 63 6f 6e 66 69 67 00 |N......./config.| 00000030 8d c7 a8 68 ff 01 00 00 23 21 2f 62 69 6e 2f 73 |...h....#!/bin/s| 00000040 68 0a 0a 68 6f 73 74 6e 61 6d 65 3d 46 49 58 4d |h..hostname=FIXM| 00000050 45 0a 69 66 20 5b 20 2d 7a 20 22 24 75 73 65 72 |E.if [ -z "$user| 00000060 22 20 5d 3b 20 74 68 65 6e 0a 23 09 75 73 65 72 |" ]; then.#.user| 00000070 3d 0a 66 69 0a 0a 23 20 45 6e 74 65 72 20 4d 41 |=.fi..# Enter MA| [...] which means it starts with the default environment instead of the reset vector area. Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/resource-err-ptr'Sascha Hauer2014-10-0219-16/+44
|\
| * resource: Let dev_request_mem_region return an error pointerSascha Hauer2014-09-1619-16/+44
| | | | | | | | | | | | For all users fix or add the error check. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/phycore-imx6'Sascha Hauer2014-10-0230-260/+340
|\ \
| * | ARM:phyFLEX-iMX6 New Ram Timings for Q/DLMaik Otto2014-09-177-130/+146
| | | | | | | | | | | | | | | | | | Signed-off-by: Maik Otto <m.otto@phytec.de> Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM:phyFLEX-iMX6: Remove mmd_write_reg from boardChristian Hemp2014-09-171-9/+1
| | | | | | | | | | | | | | | | | | | | | Remove mmd_write_reg function from board file and use phy_write_mmd_indirect. Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM:phyFLEX-iMX6: Remove eth phy reset form boardChristian Hemp2014-09-171-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove ethernet phy reset from board file. The reset is now made by the fec driver since commit: |commit 5c1846b625247f4b99eb429dcd5b0854699a4298 |Author: Rostislav Lisovy <lisovy@gmail.com> |Date: Wed Nov 20 22:22:25 2013 +0100 | | ARM: i.mx53: Parse Reset GPIO pin in FEC driver from Devicetree | | Signed-off-by: Rostislav Lisovy <lisovy@gmail.com> | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM:phyFLEX-iMX6: Add bootsource detectionChristian Hemp2014-09-151-0/+15
| | | | | | | | | | | | | | | Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | dts:imx6:pfla02: Add env node for SPI-NOR and NANDChristian Hemp2014-09-154-19/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add environment node for NAND and SPI-NOR Move the environment property to the module file. Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | dts:imx6:pfla02:Move spi partitions imx6qdl-phytec-pfla02Christian Hemp2014-09-153-30/+14
| | | | | | | | | | | | | | | | | | | | | Move the spi partition definition to imx6qdl-phytec-pfla02.dtsi Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | dts:imx6:pfla02: move mac read to moduleChristian Hemp2014-09-152-4/+4
| | | | | | | | | | | | | | | | | | | | | Move mac read to module. Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | dts:imx6:pfla02: Remove memory nodeChristian Hemp2014-09-153-12/+0
| | | | | | | | | | | | | | | Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM:imx6:pfla02: Remove redundant codeChristian Hemp2014-09-151-27/+19
| | | | | | | | | | | | | | | | | | | | | Move redundant code to a common function. Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM:imx6:phyflex: Add defaultenvChristian Hemp2014-09-156-0/+39
| | | | | | | | | | | | | | | | | | | | | Add defaultenv_append_directory to phyFLEX-i.MX6. Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM:imx6:phycard: Switch env to defaultenv_append_directoryChristian Hemp2014-09-158-13/+33
| | | | | | | | | | | | | | | Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | dts:imx6q:pcaaxl3: Add oftree partition to nandChristian Hemp2014-09-151-3/+8
| | | | | | | | | | | | | | | | | | | | | Add oftree partiton to nand. Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | dts:imx6:pfla02: Add nand partitionsChristian Hemp2014-09-151-0/+27
| |/ | | | | | | | | Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/openrisc'Sascha Hauer2014-10-0210-42/+145
|\ \
| * | openrisc: generic_defconfig: enable device tree stuffAntony Pavlov2014-09-091-13/+22
| | | | | | | | | | | | | | | | | | | | | | | | Also enable iomem and miitool. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Cc: Franck Jullien <franck.jullien@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | openrisc: generic board: reduce platform codeAntony Pavlov2014-09-092-27/+2
| | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Cc: Franck Jullien <franck.jullien@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | openrisc: dts: import or1ksim.dts from linux-3.16Antony Pavlov2014-09-091-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are some minor changes with original linux-3.16 file: * the 'model' attribute is added (it used for barebox banner board name); * all "opencores,*-rtlsvn*" 'compatible' attribute values are dropped; these values are not actually used in the device drivers. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Cc: Franck Jullien <franck.jullien@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | openrisc: add initial device tree supportAntony Pavlov2014-09-096-0/+68
| | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Cc: Franck Jullien <franck.jullien@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | openrisc: generic board: reserve 512K for bareboxAntony Pavlov2014-09-091-2/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Here is a linker's error message for some configurations: or1k-elf-ld: barebox section `.eh_frame' will not fit in region `ram' or1k-elf-ld: region `ram' overflowed by 16868 bytes This patch increases space reserved for barebox from 256K to 512K so the error's probability is dramatically decreased. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Cc: Franck Jullien <franck.jullien@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/omap'Sascha Hauer2014-10-022-61/+100
|\ \
| * | ARM: phyCORE-AM335x: Update partition tableTeresa Gámez2014-09-091-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | Added device tree partition and made rootfs partition variable size depending on nand flash size. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: phyCORE-AM335x: Add support for 2x512MB RAMTeresa Gámez2014-09-091-0/+25
| | | | | | | | | | | | | | | | | | | | | Added settings for 1GB RAM option. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: phyCORE-AM335x: Fixup RAM setting namingTeresa Gámez2014-09-091-15/+15
| | | | | | | | | | | | | | | | | | | | | Naming is confusing and wrong. Fixed it up. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: phyCORE-AM335x: Update RAM TimingsTeresa Gámez2014-09-091-35/+35
| | | | | | | | | | | | | | | | | | | | | | | | Increased the RAM frequency to 400MHz. Recalculation of the RAM timing values was needed. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: phyCORE-AM335x: Updated SPI NOR dts entriesTeresa Gámez2014-09-091-7/+7
| |/ | | | | | | | | | | | | | | | | | | | | | | | | Updated the SPI NOR flash entries. NOR flash got detected but did not work. - Updated muxing - Fixed frequency - Fixed CS - Removed first compatible entry (the flashes used is changing frequently) Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/musb'Sascha Hauer2014-10-026-21/+50
|\ \
| * | ARM: am335x_defconfig: Enable USB supportSascha Hauer2014-09-261-0/+13
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: dts: Update am335x-bone-common.dtsiSascha Hauer2014-09-261-19/+19
| | | | | | | | | | | | | | | | | | | | | Update from current upstream dtsi. This enables the USB control module. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: AM33xx: Enable USB and USB phy clocksRolf Evers-Fischer2014-09-264-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | These are necessary for USB support. To make sure they are actually enabled when a USB capable barebox is started call the clock enable function during startup also for the full barebox, not only the MLO. Signed-off-by: Rolf Evers-Fischer <rolf.evers.fischer@delphi.com>
* | | Merge branch 'for-next/misc'Sascha Hauer2014-10-027-9/+4
|\ \ \
| * | | pinctrl: fix Kconfig dependenciesSascha Hauer2014-09-153-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove OFDEVICE dependency from PINCTRL. It won't do much then, so add a comment to Kconfig when PINCTRL is selected without OFDEVICE - Let Architectures only select PINCTRL instead of the particular driver. Change the drivers to 'default y if $SOC' to make sure the drivers are still compiled if the corresponding SoC is selected This fixes Kconfig warnings like: warning: (PINCTRL_ARMADA_370 && PINCTRL_ARMADA_XP && PINCTRL_DOVE && PINCTRL_KIRKWOOD) selects PINCTRL which has unmet direct dependencies (OFDEVICE) Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
| * | | Add some .gitignore filesSascha Hauer2014-09-122-0/+2
| | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: remove nonexisting env directories from defconfigsSascha Hauer2014-09-122-2/+0
| | |/ | |/| | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/mips'Sascha Hauer2014-10-0221-48/+379
|\ \ \
| * | | MIPS: ritmix-rzx50_defconfig: update DEBUG_LL; enable IMDAntony Pavlov2014-09-151-1/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: xburst: Kconfig: add commentAntony Pavlov2014-09-151-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: add img-ci20_defconfigAntony Pavlov2014-09-111-0/+42
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: add MIPS Creator CI20 board supportAntony Pavlov2014-09-117-0/+134
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: dts: add jz4780.dtsiAntony Pavlov2014-09-111-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on file from https://github.com/MIPS/CI20_linux/tree/ci20-v3.16 Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: xburst: debug_ll: rework common code, add JZ4780 supportAntony Pavlov2014-09-114-8/+98
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: add (another) Ingenic vendor IDAntony Pavlov2014-09-112-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The latest Ingenic CPUs (e.g. JZ4780) use new vendor ID. Based on commit from https://github.com/MIPS/CI20_linux/tree/ci20-v3.16 commit 00b672aa52f299f1d67ab18274c3f5e5d5a15767 Author: Paul Burton <paul.burton@imgtec.com> Date: Mon Jul 8 12:14:28 2013 +0100 MIPS: add (another) Ingenic vendor ID Ingenic have switched to a new vendor ID for the Xburst core used in their current SoCs such as the jz4780. Add this vendor ID and handle it in addition to their former vendor ID. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: xburst: add JZ4780 SoC supportAntony Pavlov2014-09-112-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Old Ingenic SoCs (JZ4755, JZ4740) use MIPS32r1 ISA CPU cores than latest ones (JZ4770, JZ4780) use MIPS32r2. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: dts: use physical addresses (as Linux does)Antony Pavlov2014-09-115-37/+37
| |/ / | | | | | | | | | | | | | | | | | | | | | With IOMEM() adapted for MIPS we can use physical addresses in device tree reg property. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/marvell'Sascha Hauer2014-10-0211-152/+169
|\ \ \
| * | | ARM: defconfig: remove board specific mvebu defconfigsSascha Hauer2014-10-025-135/+0
| | | | | | | | | | | | | | | | | | | | | | | | The boards are now covered by mvebu_defconfig Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: Add mvebu_defconfigSascha Hauer2014-10-021-0/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a mvebu_defconfig which enables all mvebu based boards. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>