summaryrefslogtreecommitdiffstats
path: root/arch
Commit message (Collapse)AuthorAgeFilesLines
* efi: include and execute exit callsMichael Olbrich2017-01-243-2/+5
| | | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/vybrid'Sascha Hauer2017-01-1221-4304/+62
|\
| * i.MX: ocotp: Add Vybrid supportAndrey Smirnov2017-01-111-0/+16
| | | | | | | | | | Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * i.MX: ocotp: Account for shadow memory gapsAndrey Smirnov2017-01-111-3/+31
| | | | | | | | | | | | | | | | | | | | Shadow memory does not have a true 1:1 mapping to fuse address space. All i.MX6 devices, with exception of i.MX6SL have a 0x100 byte gap between banks 5 and 6 (or addresses 0x2f and 0x30), so we need to account for that when reading data from shadow memory. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * i.MX: ocotp: Remove unused #defineAndrey Smirnov2017-01-111-1/+0
| | | | | | | | | | Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * i.MX: Kconfig: Enable OCOTP on VybridAndrey Smirnov2017-01-111-1/+1
| | | | | | | | | | | | | | Enable OCOTP driver on Vybrid as well as i.MX6 Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * vf610: Give enet_osc explicit "enet_ext" nameAndrey Smirnov2017-01-111-0/+4
| | | | | | | | | | | | | | | | Give enet_osc explicit "enet_ext" name, since without it, Barebox version of clk_set_parent fails when trying to re-parent "enet_sel". Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * i.MX: Move clk code from 'mach-imx' to 'drivers'Andrey Smirnov2017-01-1117-3872/+10
| | | | | | | | | | | | | | | | | | Move clk code from 'mach-imx' to 'drivers' to keep the code tree structure closer to that of analogous one from Linux kernel and, arguably although subjective, to keep 'mach-imx' less cluttered. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/mvebu'Sascha Hauer2017-01-113-1/+3
|\ \
| * | ARM: mvebu: enable MMU in defconfigUwe Kleine-König2017-01-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Enabling the MMU (and so the caches) gives a nice performance boost, so opt in for mvebu_defconfig. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | x86: update boot message "UBOOT2" to "BAREBOX"Ulrich Ölmann2017-01-101-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | MIPS: qemu-malta_defconfig: set MAX_IMAGE_SIZE = 4 MiBAntony Pavlov2017-01-101-0/+1
| |/ | | | | | | | | | | | | | | If barebox binary image size exceeds the 4 MiB then qemu exits with the 'Could not load MIPS bios' message. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/misc'Sascha Hauer2017-01-1113-83/+46
|\ \
| * | MIPS: drop redundant debug_ll_outhexw macro definesAntony Pavlov2017-01-103-64/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The debug_ll_outhexw macro has no dependency on UART model so we can remove it from UART-dependent header files (debug_ll_ns16550.h and mach-ath79/.../debug_ll.h). On the other hand the only debug_ll_outhexw user is MIPS nmon monitor so we can move the debug_ll_outhexw macro to pbl_nmon.h. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | arm: baltos: prolong global resetYegor Yefremov2017-01-101-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | Prolong global reset to the max. value of 0xff. Such a long reset is required for some peripherals found on Baltos devices. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | arm: am33xx: add reset duration control register address definitionYegor Yefremov2017-01-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | PRM_RSTTIME register provides settings for global and power domain reset durations. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: i.MX53 Vincell: change dialog compatible to proper vendor prefixMichael Grzeschik2017-01-102-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | The compatible vendor prefix for dialog pmic is dlg. We fix it in the devicetrees using the wrong one. Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: socfpga: dtsi: remove fpgamgr+sysmgr entrySteffen Trumtrar2017-01-101-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | The fpgamgr and sysmgr bindings are now in the upstream dtsi. Remove them. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: socfpga: remove unused entry from MakefileSteffen Trumtrar2017-01-101-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | There is no fpga.c file. Remove the entry. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | arm: at91 bootstrap: Fix menu titleSascha Hauer2017-01-101-1/+2
| | | | | | | | | | | | | | | | | | | | | It's no longer possible to assign a string to menu->display, instead menu_add_title() must be called. Fix this. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: socfpga: fix compiler warningSascha Hauer2017-01-101-1/+1
| | | | | | | | | | | | | | | | | | | | | Fixes: arch/arm/mach-socfpga/xload.c:121:13: warning: assignment discards 'const' qualifier from pointer target type Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | nios2: Fix compiler warningSascha Hauer2017-01-101-1/+1
| | | | | | | | | | | | | | | | | | An initcall function needs to return a value, so return one. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | nios2: Fix out of tree buildSascha Hauer2017-01-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | nios2 links the board specific nios_sopc.h to include/. The relative pathes used do not work with an out of tree build. Use absolute pathes instead. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: socfpga: fix compiler warningSascha Hauer2017-01-101-1/+1
| |/ | | | | | | | | | | | | Fixes: arm/mach-socfpga/xload.c:31:52: warning: initialization from incompatible pointer type Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARCH: ARM: Add support for phytec-phycore-imx6ulChristian Hemp2017-01-1010-5/+362
| | | | | | | | | | | | | | | | | | | | | | Add support for the phycore i.MX6 UltraLite. - 512MB RAM - 512MB NAND - 10/100 Mbit Ethernet Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Stefan Lengfeld <s.lengfeld@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: dts: phycore-imx6: remove unnecessary includeStefan Lengfeld2017-01-101-1/+0
| | | | | | | | | | | | | | | | | | The file 'imx6qdl.dtsi' is already included by DualLite/Solo and Dual/Quad specific files 'imx6dl.dtsi' and 'imx6q.dtsi'. So the include is not needed here. Signed-off-by: Stefan Lengfeld <s.lengfeld@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: dts: phycore-imx6: fix missing ?xc-skew-ps settings for ethphyStefan Lengfeld2017-01-101-0/+2
| | | | | | | | | | | | | | | | | | | | Add the missing txc-skew-ps and rxc-skew-ps settings for the Micrel PHY. I have seen problems with 1GBit ethernet on a phyCORE-i.MX6 Solo. Oddly enough the missing skew values are no problems for all our other modules. Signed-off-by: Stefan Lengfeld <s.lengfeld@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: dts: phycore-imx6: refactor fec nodesStefan Lengfeld2017-01-105-52/+29
| | | | | | | | | | | | | | | | | | Refactor the common settings for device tree node 'fec' into the generic phycore i.MX6 device tree file. This avoid redundant settings and makes common fixes easier. Our kernel device tree files have the same layout. Signed-off-by: Stefan Lengfeld <s.lengfeld@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | imx6qdl-phytec-phycore-som.dtsi: rename eepromJan Remmet2017-01-101-2/+2
| | | | | | | | | | | | | | | | Chose name according to kernel. This is needed for bootstate. Signed-off-by: Jan Remmet <j.remmet@phytec.de> Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: i.MX: Add src fixupSascha Hauer2017-01-103-0/+62
| | | | | | | | | | | | | | | | | | Some boards or SoCs need the SRC_SCR[WARM_RESET_ENABLE] bit cleared, otherwise they won't come up after a watchdog reset. This was observed on one i.MX6ul based custom board. The Linux Kernel does the same since 2012: 0575fb7 ARM: 7198/1: arm/imx6: add restart support for imx6q. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | pcm049: Add 1 GByte RAM with DUAL DIE Single RankMaik Otto2017-01-101-1/+31
|/ | | | | | | tested with Micron MT42L128M64D2LL-25WT and MT42L128M64D2LL-25WT Signed-off-by: Maik Otto <m.otto@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: Fix a bug in stack's "top" initializationAndrey Smirnov2017-01-093-3/+9
| | | | | | | | | | | | | | | | | | | Code-paths responsible for initializing CPU's stack pointer and variable used in stack memory resource reservation got out of sync which resulted in actual stack being 64K off from what "stack" struct resource registered by arm_request_stack() thought it was. At least one issue resulting from that can be easily triggered by running: memtest -t This commit unifies the aforementioned code to a certain degree which solves the problem and hopefuly makes it less likely to become an issue again. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: pbl: rename linker script for uncompressed image dataLucas Stach2017-01-092-6/+6
| | | | | | | | This has been missed in commit 5e61dd3fb550 (Add comp_copy function for use with CONFIG_IMAGE_COMPRESSION_NONE). Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm64: disable PBL supportLucas Stach2017-01-092-1/+1
| | | | | | | PBL is another feature, which needs some love to work on ARM64. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX25/35: Fix bootsource detectionDaniel Krüger2016-11-231-6/+6
| | | | | | | | This fixes commit 0b47f95340d801a26643e5e1f4ee05287e8ae90e for i.MX25/35. Otherwise the bootsource was just "unknown". Signed-off-by: Daniel Krueger <daniel.krueger@systec-electronic.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/vybrid'Sascha Hauer2016-11-1415-1/+912
|\
| * i.MX: Add support for VF610 Tower boardAndrey Smirnov2016-11-117-0/+346
| | | | | | | | | | | | | | Add support for VF610 Tower board. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * i.MX: Add DEBUG_LL hooks for VF610Andrey Smirnov2016-11-111-1/+26
| | | | | | | | | | | | | | Add code to support DEBUG_LL functionality on VF610/Vybrid platform. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * i.MX: Add register definitions for VF610 SoCAndrey Smirnov2016-11-113-0/+507
| | | | | | | | | | Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * i.MX: Add primitive functions for VF610 familyAndrey Smirnov2016-11-115-0/+33
| | | | | | | | | | | | | | Add very basic functions to support VF610 family. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/socfpga'Sascha Hauer2016-11-141-0/+8
|\ \
| * | ARM: socfpga: dtsi: add dw-wdt reset linesSteffen Trumtrar2016-11-031-0/+8
| | | | | | | | | | | | | | | Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/misc'Sascha Hauer2016-11-145-36/+2
|\ \ \
| * | | mfd: mc13892: more descriptive charger register definesAlexander Kurz2016-11-071-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make access to the mc13892 charger parameter voltage, current and max power dissipation readable in terms of millivolts, milliamps and milliwatts. Signed-off-by: Alexander Kurz <akurz@blala.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | sandbox: eliminate sdl_init()Antony Pavlov2016-10-192-7/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | sandbox: drop unused header filesAntony Pavlov2016-10-122-26/+0
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | Merge branch 'for-next/mips'Sascha Hauer2016-11-141-1/+0
|\ \ \ \
| * | | | MIPS: drop redundant start_barebox() declarationAntony Pavlov2016-11-081-1/+0
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | The start_barebox() function is defined in the <common.h> header file. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | Merge branch 'for-next/imx'Sascha Hauer2016-11-1412-0/+612
|\ \ \ \
| * | | | ARM: i.MX6 esdctl: Add i.MX6ul supportSascha Hauer2016-11-082-0/+20
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>