summaryrefslogtreecommitdiffstats
path: root/arch
Commit message (Collapse)AuthorAgeFilesLines
* ARM: cache-l2x0: honour aux_val when determing way sizeSascha Hauer2017-04-211-4/+3
| | | | | | | | | | | | | | l2x0_init() allows to overwrite bits in the AUX_CTRL register using the aux_val/aux_mask arguments. On i.MX35 this is used to pass a correct AUX_CTRL value to overwrite bogus reset values for this register. To make this work we have to apply aux_val/aux_mask before using the AUX_CTRL value to determine the way size. This fixes: 3f7e890da7 ARM: l2x0: Implement L310 support Before this commit the way size was hardcoded to 8. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: imx: HAB needs fuse driver supportLucas Stach2017-04-191-0/+2
| | | | | Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/tegra'Sascha Hauer2017-04-073-6/+41
|\
| * ARM: tegra: enable Tegra124 memory controller driver in defconfigLucas Stach2017-03-301-0/+1
| | | | | | | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: tegra: jetson-tk1: use phandle for stdout pathLucas Stach2017-03-301-1/+1
| | | | | | | | | | | | | | | | Now that the UARTs have phandles in the upstream DT, we can make use of them in Barebox. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: tegra124: use old XUSB bindingLucas Stach2017-03-301-0/+34
| | | | | | | | | | | | | | | | | | | | The XUSB binding was changed upstream, to allow for more flexibility needed to support USB3. The barebox driver has not been adapted to this change. Add back the old DT properties in the Barebox internal DT to keep the existing PCIe functionality working. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: tegra: jetson-tk1: adapt internal DT paths to changed upstream DTLucas Stach2017-03-302-5/+5
| | | | | | | | | | | | | | | | The upstream DT changed the node names, so the barebox internal references didn't work anymore. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/ofpart'Sascha Hauer2017-04-073-12/+6
|\ \
| * | treewide: Use of_property_write_string() where appropriateSascha Hauer2017-03-303-12/+6
| |/ | | | | | | | | | | | | Replace users which use of_set_property() to set a property to a string with of_property_write_string(). Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/misc'Sascha Hauer2017-04-078-20/+49
|\ \
| * | sandbox_defconfig: enable squashfs supportAntony Pavlov2017-04-061-0/+1
| | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: mvebu: remove obsolete selectUlrich Ölmann2017-03-301-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | This is a user choice now and has been removed for all other boards in commit 790980bf18af ("Make generic default environment type a use choice"). Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | poweroff: Allow to register poweroff handlersSascha Hauer2017-03-307-19/+48
| |/ | | | | | | | | | | | | | | | | | | Allow to register handlers for poweroff. This allows to have multiple poweroff implementations in a single binary. The implementation is close to the restart handlers. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/imx'Sascha Hauer2017-04-072-1/+102
|\ \
| * | ARM Kindle3 defconfig: add clock manipulation commandAlexander Kurz2017-04-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | The clock manipulation command provides usefull information for a potential kernel developper. Just add it for kindle3 defconfig. Signed-off-by: Alexander Kurz <akurz@blala.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: i.MX: GuF Santaro: Detect and enable touch controllerSascha Hauer2017-04-031-0/+100
| |/ | | | | | | | | | | | | | | | | The Santaro has two different possible Touchscreen controllers. Both are on different I2C addresses. Let's probe both of them and enable in the device tree the one that's actually found on the hardware. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/at91'Sascha Hauer2017-04-0714-534/+199
|\ \
| * | at91sam9x5ek: Configure NAND in DTAndrey Smirnov2017-03-311-31/+16
| | | | | | | | | | | | | | | Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | at91sam9x5ek: Configure Ethernet in DTAndrey Smirnov2017-03-312-10/+15
| | | | | | | | | | | | | | | Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | at91sam9x5ek: Configure USB in DTAndrey Smirnov2017-03-311-19/+0
| | | | | | | | | | | | | | | Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | at91sam9x5ek: Configure 1-wire in DTAndrey Smirnov2017-03-314-18/+20
| | | | | | | | | | | | | | | Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | at91sam9x5ek: Configure SPI in DTAndrey Smirnov2017-03-312-36/+24
| | | | | | | | | | | | | | | Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | at91sam9x5ek: Configure MMC in DTAndrey Smirnov2017-03-312-20/+5
| | | | | | | | | | | | | | | Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | at91sam9x5ek: Configure I2C via DTAndrey Smirnov2017-03-312-21/+10
| | | | | | | | | | | | | | | Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | at91sam9x5ek: Configure LEDs in DTAndrey Smirnov2017-03-312-27/+1
| | | | | | | | | | | | | | | Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | at91: Enable PINCTRL for SOC_AT91SAM9Andrey Smirnov2017-03-311-0/+1
| | | | | | | | | | | | | | | Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | at91sam9x5ek: Remove at91sam9x5ek_mem_init()Andrey Smirnov2017-03-311-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | RAM device is created based on OF data now, so there's no need to call this function. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | at91sam9x5ek: Convert to use DT clock treeAndrey Smirnov2017-03-315-322/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | Convert board code to use clock tree form DT as well as converting UART, GPIO and PIT devices to be instantiated from it (to make sure codebase is still bootable). Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | at91sam9x5ek: Add preliminary device tree supportAndrey Smirnov2017-03-305-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | Add basic code to build and pass board device tree blob to Barebox initialization code. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | at91sam9x5ek: Add CONFIG_KALLSYMS to defconfigAndrey Smirnov2017-03-301-0/+1
| | | | | | | | | | | | | | | Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | at91sam9x5ek: Convert to mult-image buildAndrey Smirnov2017-03-305-19/+43
| | | | | | | | | | | | | | | | | | | | | | | | Convert AT91SAM9X5-EK board code to multi-image build process, similar to how majority of i.MX board code is built. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | usb: ohci-at91: Add DT supportAndrey Smirnov2017-03-301-2/+4
| | | | | | | | | | | | | | | | | | Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | clk: at91: Port at91 DT clock codeAndrey Smirnov2017-03-303-1/+27
| |/ | | | | | | | | | | | | | | Port at91 DT clock code from Linux 4.9-rc3. Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* / arm: baltos: enable mPCIe slot and configure external GPIO controllerYegor Yefremov2017-03-301-0/+12
|/ | | | | | | | | | | | Baltos devices provide a mPCIe slot, whose power is turned off by default. This patch activates mPCIe slot in barebox, so that for example GSM modem can be already available in user space. Also configure external GPIO controller via setting its output pins to low. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* openrisc: fix call to restart_handler_register_fnFranck Jullien2017-03-301-1/+1
| | | | | Signed-off-by: Franck Jullien <franck.jullien@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: mvebu: only build kwbootimage support if BOOTM is enabledLucas Stach2017-03-221-1/+1
| | | | | | | | As this is the bootm image handler implementation for the kwbootimage it is of no use if BOOTM is missing and fails to link. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: add AFLAGS for secure monitor filesLucas Stach2017-03-221-0/+2
| | | | | | | The instructions used in those files are only supported on ARMv7. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: dts: i.MX7 WaRP7: remove wdog1 pinctrl workaroundAlexander Kurz2017-03-201-17/+0
| | | | | | | | | The wdog1 pinctrl got fixed with linux upstream commit 213e51ca8df1 ("ARM: dts: imx7: Add "LPSR" to LPSR iomux pin names"). Remove the old workaround, since it triggers a build error. Signed-off-by: Alexander Kurz <akurz@blala.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX7: Kconfig: ARCH_IMX7 selects PINCTRL_IMX_IOMUX_V3Alexander Kurz2017-03-201-0/+1
| | | | | | | | fsl,imx7d-iomuxc is provided by selecting PINCTRL_IMX_IOMUX_V3. Select it since a system without it will not be very usefull. Signed-off-by: Alexander Kurz <akurz@blala.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: baltos: define baltos_sram_init() return type as voidYegor Yefremov2017-03-131-1/+1
| | | | | | | | As stated in the routine's description this routine is to return void, hence fix its declaration to remove compiler warning. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/rpi'Sascha Hauer2017-03-1322-280/+283
|\
| * ARM: rpi: switch to DT probe and multi-image buildLucas Stach2017-03-0212-173/+75
| | | | | | | | | | | | | | | | This commit switches the RaspberryPi arch over to probe Barebox from the builtin DT and enables multi-image builds. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: rpi: move debug UART base selection to KconfigLucas Stach2017-03-022-1/+25
| | | | | | | | | | | | | | To let the user select the right base, when building multi-image. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: rpi: always build relocatable imageLucas Stach2017-03-022-1/+2
| | | | | | | | | | | | | | | | Makes more space available for the malloc area and will allow to switch to multi-image later on. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: rpi: convert watchdog/reset to regular driverLucas Stach2017-03-026-21/+85
| | | | | | | | | | | | | | This way it can be probed from DT later on. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: rpi: convert mailbox interface to regular driverLucas Stach2017-03-025-20/+63
| | | | | | | | | | | | | | In prepareation for devicetree probing. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: rpi: move model detection before console initLucas Stach2017-03-021-2/+2
| | | | | | | | | | | | | | This way we can print the correct model in the Barebox banner. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: rpi: move model initialisation to rpi-commonEnrico Joerns2017-03-025-79/+48
| | | | | | | | | | | | | | | | | | | | | | The Raspberry PIs use different versions schemes for the older and newer variants. The decoding arrays for these schemes were split up in rpi.c and rpi2.c. This is not required, as the appropriate versioning scheme can be determined programmatically. Signed-off-by: Enrico Joerns <ejo@pengutronix.de> Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/mvebu'Sascha Hauer2017-03-1321-261/+333
|\ \
| * | mvebu: netgear-rn2120: make use of mvebu_get_initial_int_reg_baseUwe Kleine-König2017-03-021-5/+7
| | | | | | | | | | | | | | | | | | | | | This is necessary to make second stage booting work when the register window is already moved. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>