summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* 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>
* Merge branch 'for-next/imx'Sascha Hauer2016-08-0318-17/+150
|\
| * ARM: i.MX: pcm043: add a flash-header.imxcfgUwe Kleine-König2016-08-031-0/+37
| | | | | | | | | | | | | | This creates an image that can be booted via USB. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: nitrogen: rename to nitrogen6Lucas Stach2016-08-0315-1/+1
| | | | | | | | | | | | | | | | Now that the MAX variant of the board is also supported by the same code, rename the board directory to the more generic nitrogen6. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: add support for Nitrogen6MAX QP variantLucas Stach2016-08-034-3/+98
| | | | | | | | | | Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: nitrogen6x: disable address mirroringLucas Stach2016-08-031-2/+2
| | | | | | | | | | | | | | | | The Nitrogen boards don't need it and it's actively wrong on the 4GB variants of those boards. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: nitrogen6x: use imx6q_barebox_entryLucas Stach2016-08-031-6/+5
| | | | | | | | | | | | | | | | Saves some boilerplate code by calculating the DRAM size automatically. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: nitrogen6x: use upstream DTsLucas Stach2016-08-031-4/+4
| | | | | | | | | | | | | | | | This gets rid of the (mostly) stub top level DTs in barebox and switches the compatible to the proper "boundary" one. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: dts: i.MX6: update RIoTboard device treeUlrich Ölmann2016-08-031-1/+1
| | | | | | | | | | | | | | | | | | Barebox and kernel version diverged therefore bring the device tree up to date with respect to the kernel being the reference. Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: phytec-som-am335x: Remove kernel and oftree partiton in NANDTeresa Remmet2016-07-131-2/+4
| | | | | | | | | | | | | | | | We store kernel and oftree in static UBI volumes now. No need for seperate partitions any more. Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/clps711x'Sascha Hauer2016-08-0310-12/+9
|\ \