summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'for-next/imx'Sascha Hauer2017-02-1322-12/+1219
|\
| * i.MX: vf610: Add support for ZII VF610 Dev FamilyAndrey Smirnov2017-02-078-0/+554
| | | | | | | | | | | | | | | | | | | | | | | | | | Add support for ZII VF610 Dev based designs such as: - VF610 Dev, revision B - VF610 Dev, revision C - CFU1, revision A - SPU3, revision A - SCU4 AIB, revision C Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: i.MX7: add AIPS base address definesAlexander Kurz2017-01-301-1/+1
| | | | | | | | | | | | | | Import the ARM IP bus base addresses from IMX7DRM 05/2016 AIPS Memory Map Signed-off-by: Alexander Kurz <akurz@blala.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: vf610-twr: remove unused variableSascha Hauer2017-01-201-1/+0
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: i.MX: Add WaRP7 board supportJuergen Borleis2017-01-205-0/+167
| | | | | | | | | | Signed-off-by Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: rdu2: support QP variantLucas Stach2017-01-182-0/+145
| | | | | | | | | | | | | | | | This adds support for the QuadPlus variant of the board as a separate Barebox binary. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: imx: Add support for ZII RDU2 boardAndrey Smirnov2017-01-188-0/+350
| | | | | | | | | | | | | | | | Add support for RDU2 board from Zodiac Inflight Innovations. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * i.MX: vf610-twr: Remove MSCM setup codeAndrey Smirnov2017-01-121-5/+0
| | | | | | | | | | | | | | | | | | Recent kernel versions should have appropriate driver code that sets up interrupt rounting correctly, so there's no need for that to be done in the bootloader. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * i.MX6: sabresd: Remove magic numbers in setup_uartAndrey Smirnov2017-01-121-6/+3
| | | | | | | | | | | | | | | | Remove magic numbers in setup_uart and replace them with calls to iomuxv3 helper functions. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: phycore-rk3288: Use UART2 as debug outputWadim Egorov2017-02-101-6/+5
| | | | | | | | | | | | | | RK3288's UART2 is the default debug uart interface. Signed-off-by: Wadim Egorov <w.egorov@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: start: Fix image size calculationSascha Hauer2017-02-082-3/+3
| | | | | | | | | | | | | | | | | | | | In barebox_non_pbl_start() we do not run at the address we are linked at, so we must read linker variables using ld_var(). Since ld_var() current is not available on arm64 we create two zero sized arrays, one at the begin of the image and one at the end. The difference between both is the image size we are looking for. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | arm: am33xx: Initialize EMIF REG_PR_OLD_COUNTDaniel Schultz2017-01-302-0/+13
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is based on a patch from the U-Boot and fixes two errors with the LCDC. Original commit message from Jyri Sarha [1]: "Initialize EMIF OCP_CONFIG registers REG_COS_COUNT_1, REG_COS_COUNT_2, and REG_PR_OLD_COUNT field for Beaglebone-Black and am335x-evm. With the default values LCDC suffers from DMA FIFO underflows and frame synchronization lost errors. The initialization values are the highest that work flawlessly when heavy memory load is generated by CPU. 32bpp colors were used in the test. On BBB the video mode used 110MHz pixel clock. The mode supported by the panel of am335x-evm uses 30MHz pixel clock." The register values are generated by testing, because there is no formula to calculate them. Also from Jyri Sarha [1]: "In practice the only rule to find an optimal value is to find as high as possible REG_PR_OLD_COUNT value that does not produce LCDC FIFO underflows under worst case scenario. The worst case happens when the highest pixel clock videomode with maximum bpp is used while memory subsystem is stressed by endless stream of writes hitting the same memory memory bank (can be the same address)." It only contains the BeagleBone Black and the Phytec SoM, because I don't have other boards. [1] https://patchwork.ozlabs.org/patch/704013/ Signed-off-by: Daniel Schultz <d.schultz@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/misc'Sascha Hauer2017-01-111-0/+6
|\
| * 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>
* | ARCH: ARM: Add support for phytec-phycore-imx6ulChristian Hemp2017-01-107-4/+174
| | | | | | | | | | | | | | | | | | | | | | 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>
* | 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>
* Merge branch 'for-next/vybrid'Sascha Hauer2016-11-144-0/+327
|\
| * i.MX: Add support for VF610 Tower boardAndrey Smirnov2016-11-114-0/+327
| | | | | | | | | | | | | | Add support for VF610 Tower board. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/misc'Sascha Hauer2016-11-141-3/+1
|\ \
| * | 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>
* | | arm: Baltos: don't invoke baltos_read_eeprom in MLOYegor Yefremov2016-10-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | EEPROM information is needed in barebox.bin in order to setup MACs and select appropriate DTB from kernel-fit.itb, so disable this initcall in MLO. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | arm: Baltos: setup MPU PLL to run at 600MHzYegor Yefremov2016-10-191-1/+1
| |/ |/| | | | | | | Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: i.MX Freescale Sabrelite: Use correct device tree for dl variantSascha Hauer2016-10-171-2/+2
|/ | | | | | | The i.MX6dl variant also uses the i.MX6q device tree which is wrong. Use the correct one. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: imx6: add support for Auvidea H100Lucas Stach2016-10-112-1/+26
| | | | | | | | | | | The Auvidea H100 is a baseboard for the SolidRun MicroSOM, which provides HDMI IN/OUT capabilities. Currently supported is only a combination of the H100 baseboard with a i2eX MicroSOM. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: microsom: use imx6q_barebox_entryLucas Stach2016-10-111-7/+6
| | | | | | | Instead of hardcoding the different RAM sizes. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/mvebu'Sascha Hauer2016-10-105-0/+139
|\
| * ARM: mvebu: add support for Netgear RN2120Uwe Kleine-König2016-10-075-0/+139
| | | | | | | | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/imx'Sascha Hauer2016-10-102-33/+39
|\ \
| * | ARM: i.MX53 Vincell: Add NAND xload supportSascha Hauer2016-09-221-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | The Vincell boards do the SDRAM setup from board init code, so the image size is limited to the internal SRAM size. To overcome this limitation use the NAND xload support. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: i.MX53 Vincell: Add PBL console supportSascha Hauer2016-09-221-21/+29
| | | | | | | | | | | | | | | | | | | | | PBL console support is more useful than debug_ll. Add support for it to the Vincell Board. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: i.MX53 Vincell: Adjust bbu handler partition size to real partition sizeSascha Hauer2016-09-221-1/+1
| | | | | | | | | | | | | | | | | | | | | The bootloader partition size was increased to 0xe0000, so adjust the barebox update handler partition size accordingly. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: i.MX53 Vincell: Reset phy consistently from device treeSascha Hauer2016-09-221-11/+0
| |/ | | | | | | | | | | | | | | | | | | | | | | The phy reset for the Vincell board is done from device tree whereas the Vincell-LT resets the phy from board init code. Since both boards share the same code base the regular Vincell board ends up with a duplicated phy reset, with the second reset being done after the FEC has been initialized. Fix this by removing the phy reset from the board code and adding the phy reset to the Vincell-LT dts file. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/defenv'Sascha Hauer2016-10-10138-8/+157
|\ \
| * | defaultenv: add defaultenv-1 in boards via defaultenv_append_directory()Sascha Hauer2016-10-10138-0/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently it's hardcoded for each board which defaultenv version is used. This is unfortunate since some people like the other defaultenv version better and may want to select it. This patch removes the board specific environment path CONFIG_DEFAULT_ENVIRONMENT_PATH and instead adds it via: if (IS_ENABLED(CONFIG_DEFAULT_ENVIRONMENT_GENERIC)) defaultenv_append_directory(defaultenv_<board>); This way we can make sure that the defaultenv-1 board specific bits are only compiled in when defaultenv-1 is actually in use. The next step is to make the defaultenv version selection a user visible choice. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | defenv-1: remove unused variable kernelimage_typeSascha Hauer2016-09-142-8/+0
| | | | | | | | | | | | | | | | | | kernelimage_type is used nowwhere, remove it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/bootchooser'Sascha Hauer2016-10-101-1/+1
|\ \ \
| * | | global: Make 'global' command behaviour consistent to 'nv'Sascha Hauer2016-09-221-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'nv' command can add/remove multiple variables. Implement that for the 'global' command aswell. Also with the 'nv' command the -r option is for removal of variables, not for "set match". Looking at the users of "global -r" the only user uses the command for removal of variables and not for "Setting multiple variables to the same value" as stated in the command help text. Let "global -r" remove variables aswell. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Add support for Baltos systemsYegor Yefremov2016-10-074-0/+269
| | | | | | | | | | | | | | | | | | | | | | | | OnRISC Baltos devices are based on a am335x SoC and can be booted either from MMC or NAND. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | ARM: i.MX6: Sabrelite: Add PBL console supportSascha Hauer2016-09-151-8/+49
|/ / | | | | | | | | | | Add PBL console support to allow for better debugging. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/socfpga'Sascha Hauer2016-09-131-0/+36
|\ \
| * | ARM: socfpga: socrates: register bbu handlersSteffen Trumtrar2016-08-181-0/+36
| |/ | | | | | | | | Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/rockchip'Sascha Hauer2016-09-139-1/+100
|\ \
| * | ARM: Add phyCORE-RK3288 SOM supportWadim Egorov2016-09-018-0/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | The phyCORE-RK3288 aka PCM-059 is a SoM (System on Module) containing a RK3288 SoC. The module can be connected to different carrier boards. Signed-off-by: Wadim Egorov <w.egorov@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: rockchip: Add basic RK3288 supportWadim Egorov2016-08-261-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | The RK3288 SoC is a low power, high performance processor for mobile phones, personal mobile internet devices and other digital multimedia applications. It has an integrated quad-core cortex-A17 with separate NEON coprocessor. Prepare mach-rockchip infrastructure for Rockchip RK3288 support. Let's seperate the RK3188 and RK3288 SoCs. Later we will have two different configs. Signed-off-by: Wadim Egorov <w.egorov@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/imx'Sascha Hauer2016-09-131-10/+21
|\ \
| * | ARM: i.MX6 Santaro: Add PBL console supportSascha Hauer2016-08-291-10/+21
| |/ | | | | | | | | | | | | | | To be able to use PBL console do the usual relocate_to_current_adr()/setup_c() dance and call pbl_set_putc() to tell the PBL console where the UART is. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/defenv-2'Sascha Hauer2016-09-1336-192/+0
|\ \
| * | defaultenv-2: remove unused *-menu-add-entry callsSascha Hauer2016-08-2632-160/+0
| | | | | | | | | | | | | | | | | | | | | The *-menu-add-entry functions no longer exist in defaultenv-2, so remove the calls to these functions. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | defaultenv-2: remove ps1 duplicatesSascha Hauer2016-08-264-32/+0
| |/ | | | | | | | | | | | | | | Some boards duplicate the PS1 initialization to add a '#' at the end of the prompt. It's not worth duplicating this for this purpose. Remove them. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | of_unflatten_dtb(): Check return value with IS_ERRAndrey Smirnov2016-09-051-1/+1
|/ | | | | | | | Of_unflatten_dtb returns a ERR_PTR value so checking it against NULL is incorrect. Fix it in all of the places where this was happening. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>