summaryrefslogtreecommitdiffstats
path: root/arch
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge branch 'for-next/socfpga'Sascha Hauer2013-12-062-21/+44
|\ \ \
| * | | ARM: socfgpa: sockit: update sequencer_definesSteffen Trumtrar2013-12-041-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the new Quartus II v13.1 generated sequencer_defines.h file. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: socfgpa: update sequencerSteffen Trumtrar2013-12-041-18/+41
| |/ / | | | | | | | | | | | | | | | | | | | | | Quartus II v13.1 generates updated sequencer.[ch] files. Integrate the changes into the current driver. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/ppc'Sascha Hauer2013-12-063-2/+10
|\ \ \
| * | | ppc: DA923RC: update board initialisationRenaud Barbier2013-11-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pull the board device reset GPIO pin high as this prevents PCI bus probing. The function da923rc_board_init_r is called at the postcore initcall level so that the udelay function can take advantage of the core initialisation. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ppc: mpc85xx: add fsl,mpic node frequency propertyRenaud Barbier2013-11-182-0/+8
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | The clock frequency property of the device tree node fsl,mpic is added as it is needed by the PCI driver to function in newer Linux version. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/omap-drivers'Sascha Hauer2013-12-066-171/+20
|\ \ \
| * | | bus: Add omap gpmc driverSascha Hauer2013-11-271-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a devicetree-only driver for to configure the gpmc and its child devices from dt. Currently only NAND is supported. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | omap: gpmc: some refactoringSascha Hauer2013-11-271-11/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - make debug messages more meaningful - calculate value once and use it to print and configure instead of calculating it twice Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | gpio: omap: move to drivers/gpio/Sascha Hauer2013-11-272-157/+0
| | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | spi: omap: encode register offset into device_idSascha Hauer2013-11-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The omap3 and omap4/am33xx spi cores differ in the offset of the registers in the address space. Instead of encoding this into the resources use the platform_device_id mechanism. This is done in preparation for devicetree probe support where the address space is in the devicetree and can't be adjusted. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | serial: ns16550: Add device ids for omapSascha Hauer2013-11-221-2/+2
| |/ / | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/omap-devicetree-prepare'Sascha Hauer2013-12-0624-128/+1057
|\ \ \
| * | | ARM: dts: am33xx: Add mmc aliasesSascha Hauer2013-11-251-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | barebox needs these for persistent mmc device names. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: OMAP: let UART selection depend on its only userSascha Hauer2013-11-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The UART selection is only meaningful to omap3evm, so hide it from other users. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: am33xx: compile SoC files for pbl aswellSascha Hauer2013-11-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This is necessary for successful pbl compilation on am33xx. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: OMAP: centralize omap startupSascha Hauer2013-11-228-24/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This introduces a single omap_init function which detects the SoC and does all further SoC initialization. This is done to get rid of initcalls without proper SoC protection. The same has been done for i.MX already. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: OMAP: Make debug_ll UART Kconfig selectableSascha Hauer2013-11-222-37/+36
| | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: am33xx: Add am33xx_ prefix to SoC specific functionsSascha Hauer2013-11-225-8/+8
| | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: dts: AM33xx: Add gpio aliasesSascha Hauer2013-11-221-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | barebox depends on these to number the gpio banks correctly. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: am335x: Add reg-shift property to uartsSascha Hauer2013-11-221-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since we use the generic ns16550 driver we need the regshift property to correcty access the UART. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: Add am33xx SoC dtsi fileSascha Hauer2013-11-221-0/+796
| | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: dtb: create dt-bindings linkSascha Hauer2013-11-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For making #include <dt-bindings/...> work We already have the necessary -I flag in dtc_cpp_flags, no nothing needs to be done here. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: OMAP: Make cpu_is_* macros runtime if necessarySascha Hauer2013-11-222-15/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently unused, just preparation for the next steps when we'll get multiarch support for OMAP. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: OMAP: select correct reset_cpu function at runtimeSascha Hauer2013-11-227-3/+23
| | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: OMAP: Add SoC prefix to running_in_* functionsSascha Hauer2013-11-2212-24/+30
| | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: OMAP: select SoC variant from boardsSascha Hauer2013-11-221-18/+13
| |/ / | | | | | | | | | | | | | | | To be able to compile multiple SoC types later. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/misc'Sascha Hauer2013-12-0659-73/+76
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: scripts/Makefile
| * | | barebox: remove double semicolonsAlexander Aring2013-11-181-1/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: i.MX boards: Remove duplicate dependency of ARCH_IMX21 for IMX_IIMAlexander Shiyan2013-11-131-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: i.MX boards: Remove useless selectAlexander Shiyan2013-11-131-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Symbols HAVE_DEFAULT_ENVIRONMENT_NEW & HAVE_PBL_MULTI_IMAGES are already selected by IMX_MULTI_BOARDS. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | mci: mxs: support overwriting the device name via platform dataUwe Kleine-König2013-11-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current implementation of the bootloader specification depends on the hardware name and the name of the device in /dev to match. As the default hardware name is mciX and the device name is diskY the bootloader spec cannot be used as is. This patch implements a way to overwrite the device name similar to what is possible for the imx-esdhc driver. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: mxs: Fix signed/unsigned arguments for printfAlexander Shiyan2013-11-112-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "%d" in format string requires a signed integer. "%u" in format string requires a unsigned integer. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | Cleanup Kconfig filesAlexander Shiyan2013-11-114-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch provides a global cleanup barebox Kconfig files. This includes replacing spaces to tabs, formatting in accordance format. No functional changes. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: at91: Fix signed/unsigned arguments for printfAlexander Shiyan2013-11-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | "%d" in format string requires a signed integer. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: remove asm/hardware.hSascha Hauer2013-11-0834-51/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | asm/hardware.h does not have any content except including mach/hardware.h. include mach/hardware.h directly where needed and get rid of asm/hardware.h Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: Phytec pfla02: Add I2C EEPROM to devicetreeSascha Hauer2013-11-081-0/+11
| | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | treewide: Add missing includesSascha Hauer2013-11-0815-1/+15
| |/ / | | | | | | | | | | | | | | | | | | | | | A lot of files rely on include/driver.h including include/of.h (and this including include/errno.h. include the files explicitly so we can eventually get rid of including of.h from driver.h Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/mips'Sascha Hauer2013-12-067-7/+286
|\ \ \
| * | | MIPS: import exception registers saving from linux kernelAntony Pavlov2013-12-043-7/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Checking registers saving: $ make qemu-malta_defconfig $ make ... $ qemu-system-mips -nodefaults -M malta -m 256 \ -nographic -serial stdio -bios ./barebox-flash-image ... barebox:/ md -l 0x03 Ooops, address error on load or ifetch! $ 0 : 00000000 00000000 ffffffff 0000003f $ 4 : 00000000 ffffffff 00000004 00000004 $ 8 : 00000003 a0404d50 00000001 00000002 $12 : a0404d50 0000000a a0840000 00000003 $16 : 00000100 a0404d50 00000100 00000003 $20 : 00000000 a0406cd8 00000000 00000000 $24 : a083b4d8 a083058c $28 : 00000000 a03ffca8 a0406ab0 a0830604 Hi : 00000000 Lo : 00000040 epc : a083056c ra : a0830604 Status: 00000006 Cause : 00000410 Config: 80008482 ### ERROR ### Please RESET the board ### Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: add asm-offsets.h generationAntony Pavlov2013-12-044-0/+140
| | |/ | |/| | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/imx'Sascha Hauer2013-12-0628-202/+1172
|\ \ \
| * | | ARM: i.MX6: add initial support for SolidRun Cubox-i Carrier-1Lucas Stach2013-12-0311-1/+457
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tested to work: - MMC - USB - Ethernet Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: Karo TX25: Enable debug uart earlySascha Hauer2013-12-021-0/+23
| | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: imx: karo tx25: Add config file for imx-imageSascha Hauer2013-11-271-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently unused in barebox, but useful for bootstrapping a tx25 from USB where a imx-image is needed. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: i.mx53: Support for Voipac board with X53-DMM-668 module.Rostislav Lisovy2013-11-2510-1/+491
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Device definitions is read from the devicetree description. The board support is using 'multiboard' approach. Signed-off-by: Rostislav Lisovy <lisovy@gmail.com> create mode 100644 arch/arm/boards/freescale-mx53-vmx53/Makefile create mode 100644 arch/arm/boards/freescale-mx53-vmx53/board.c create mode 100644 arch/arm/boards/freescale-mx53-vmx53/env/config-board create mode 100644 arch/arm/boards/freescale-mx53-vmx53/flash-header-imx53-vmx53.imxcfg create mode 100644 arch/arm/boards/freescale-mx53-vmx53/lowlevel.c create mode 100644 arch/arm/dts/imx53-voipac-bsb.dts create mode 100644 arch/arm/dts/imx53-voipac-dmm-668.dtsi Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: dts: i.mx53: Internal keyboard controller + i2c pinmuxRostislav Lisovy2013-11-221-0/+15
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Rostislav Lisovy <lisovy@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM i.MX6: sabrelite: register SPI flash barebox update handlerPhilipp Zabel2013-11-201-0/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM i.MX6: sabrelite: move flash partitions into device treePhilipp Zabel2013-11-202-2/+17
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM i.MX6: sabrelite: usb is probed from device treePhilipp Zabel2013-11-202-5/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>