summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'for-next/stm32'Sascha Hauer2019-11-071-0/+13
|\
| * ARM: stm32mp: dk2: add barebox SD-Card update handlerAhmad Fatoum2019-11-061-0/+13
| | | | | | | | | | | | | | | | Now with the SD/MMC controller supported, lets add a bbu handler, so we can use it to update the second stage boot loader partition. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/imx'Sascha Hauer2019-11-071-1/+2
|\ \ | |/ |/|
| * ARM: zii-common: setup Linux cmdline network config on RDU3Lucas Stach2019-11-041-1/+2
| | | | | | | | | | | | | | Works the same way as with the older units. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: zii-commmon: Fix NULL pointer dereference in do_rdu1_switch_reset()Andrey Smirnov2019-11-041-1/+1
|/ | | | | | | | | | We need to go to parent's private data to get a pointer to struct rave_sp. Fix that. Fixes: 493e2ee38f ("ARM: zii-common: add support for switch reset on RDU1") Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Reviewed-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/mxs'Sascha Hauer2019-10-1713-9/+61
|\
| * ARM: mxs: chumby: Switch to multi image supportSascha Hauer2019-10-021-1/+1
| | | | | | | | | | | | Build the Chumby as multi image. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: mxs: imx23-evk: Switch to multi image supportSascha Hauer2019-10-021-1/+1
| | | | | | | | | | | | Build the i.MX23 EVK as multi image. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: mxs: cfa10036: Switch to multi image supportSascha Hauer2019-10-021-1/+1
| | | | | | | | | | | | Build the cfa10036 as multi image. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: Freescale i.MX23 evk: Check machine type in initcallsSascha Hauer2019-10-022-1/+9
| | | | | | | | | | | | | | Check for the right machine type in initcalls before executing them to make the board multi image safe. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: i.MX23 Chumby: Check machine type in initcallsSascha Hauer2019-10-022-1/+9
| | | | | | | | | | | | | | Check for the right machine type in initcalls before executing them to make the board multi image safe. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: Crytalfonts cfa10036: Check machine type in initcallsSascha Hauer2019-10-022-1/+9
| | | | | | | | | | | | | | Check for the right machine type in initcalls before executing them to make the board multi image safe. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: i.MX23 olinuxino: Check machine type in initcallsSascha Hauer2019-10-022-1/+10
| | | | | | | | | | | | | | Check for the right machine type in initcalls before executing them to make the board multi image safe. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: Freescale mx28evk: Check machine type in initcallsSascha Hauer2019-10-021-0/+3
| | | | | | | | | | | | | | Check for the right machine type in initcalls before executing them to make the board multi image safe. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: duckbill: Check machine type in initcallsSascha Hauer2019-10-021-0/+6
| | | | | | | | | | | | | | Check for the right machine type in initcalls before executing them to make the board multi image safe. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: tx28: Make locally used function staticSascha Hauer2019-10-021-1/+1
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: tx28: Pass and check machine typeSascha Hauer2019-10-023-1/+11
| | | | | | | | | | | | | | Pass MACH_TYPE_TX28 to barebox_arm_entry() and check for it in initcalls to make the board multi image safe. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/misc'Sascha Hauer2019-10-173-12/+8
|\ \
| * | ARM: stm32mp: dk2: rename function according to init levelAhmad Fatoum2019-10-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | dk2_postcore_init is not at postcore init level like the name would suggest, but at mem init level. Rename it accordingly. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | trivial: fix typo lenght -> lengthUwe Kleine-König2019-10-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generated by perl -p -i -e 's/lenghte?/length/' arch/arm/boards/chumby_falconwing/falconwing.c arch/arm/mach-samsung/mem-s3c64xx.c fs/ext4/ext_common.h lib/gui/lodepng.c include/jtag.h There is another instance in dts/Bindings/usb/s3c2410-usb.txt, this is fixed in Linux v5.3-rc1 so supposed to be fixed soon in barebox, too. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | Convert latin1 files to utf-8Uwe Kleine-König2019-10-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The source files are parsed by $(make docs). Currently this is done using python2 (actually 'python' which is still python2 on most machines). When using python3 however (which has a stricter encoding handling) it is easier if all input is in utf-8 encoding. So convert the few remaining latin1 encoded files to utf-8. This only affects code comments. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| * | state: provide dummy implementations for some functions when STATE is disabledUwe Kleine-König2019-10-141-9/+5
| |/ | | | | | | | | | | | | | | | | This allows to simplify some callers as can be seen from the phytec-som-am335x/board.c change. (The check for state != NULL could be dropped already before.) 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/layerscape'Sascha Hauer2019-10-172-0/+2
|\ \
| * | ARM: layerscape: tqmls1046a: disable all SGMII PHYsAhmad Fatoum2019-09-182-0/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | We already disable PHYs 4-7, which are currently unusable as they hang off SGMII, which barebox' FMan driver does not yet support. Follow suit for the SGMII eth0 and eth1 as well, so they don't unnecessarily clutter the barebox output with Unable to find a PHY (unknown ID?) messages. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/imx'Sascha Hauer2019-10-1720-213/+421
|\ \
| * | ARM: i.MX: phytec-som-imx6: phycore: fix updating pmic regulatorsMarco Felsch2019-10-141-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the fixup code assumes that only one i2c bus is active. If we reuse the board code for other boards this isn't always true. Fix that by using of_find_i2c_adapter_by_node() to address both cases. Fixes: b6bebb7aca ("ARM: i.MX: phytec-som-imx6: phycore: Set BUCK mode to SYNC") Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: zii-common: Share MAC address configuration between RDU2/3Andrey Smirnov2019-09-172-55/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both RDU2 and RDU3 share the same MAC address configuration mechanism. Reflect that by moving that code into zii-common and changing it to be executed on both platforms. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Cc: Chris Healy <cphealy@gmail.com> Cc: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: zii-imx51-rdu1: Swith to using compressed DTBAndrey Smirnov2019-09-171-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | Reduces image size by 58K (from 642K to 584K) on my test configuration. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: zii-imx7d-dev: Swith to using compressed DTBAndrey Smirnov2019-09-171-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Reduces image size by 68K (from 652K to 584K) on my test configuration. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: zii-imx6-rdu2: Swith to using compressed DTBAndrey Smirnov2019-09-171-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Reduces image size by ~100K (from 699K to 598K) on my test configuration. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: zii-vf610-dev: Swith to using compressed DTBAndrey Smirnov2019-09-171-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | Reduces image size by ~150K (from 765K to 612K) on my test configuration. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: zii-imx8mq-dev: Switch to using compressed DTBAndrey Smirnov2019-09-171-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Reduces image size by ~50K (from 547K to 496K) on my test configuration. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: zii-imx8mq-dev: Drop extra relocation codeAndrey Smirnov2019-09-171-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 3ce6447849 ("ARM: zii-imx8mq-dev: Do setup_c() before accessing global variables") appropriate relocation will be done unconditionally, so we don't need to do it again in this corner case. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: imx6: add Embest MarSBoard supportAhmad Fatoum2019-09-176-0/+214
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This board is produced by Embest/Element 14 and is based on i.MX6 Dual. For more informations on this board : http://www.embest-tech.com/shop/star/marsboard.html Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Tested-by: Stefan Lengfeld <contact@stefanchrist.eu> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | video: imxfb: make pcr and bpp per-display settingsUwe Kleine-König2019-09-126-122/+111
| |/ | | | | | | | | | | | | | | | | | | | | | | These settings used to be specified per-mode. But the device tree bindings have these two values attached to the display and not to each mode. Also for the supported boards it doesn't matter as they all only have a single mode. This is preparatory work to add devicetree support for the imxfb driver. 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/at91'Sascha Hauer2019-10-176-8/+118
|\ \
| * | ARM: at91: add basic sama5d2-som1-ek1 supportAhmad Fatoum2019-10-143-0/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ATSAMA5D27-SOM1-EK1 is Microchip's evaluation kit for the SAMA5D2 System in Packages (SiPs). The ATSAMA5D27C-D1G-CU SIP embeds 128 MB of DDR2 DRAM and the SoM has a PMIC, QSPI flash and a 100Mbps PHY. barebox already supports the sama5d2 clocks, GPIO/Pinctrl, QSPI controller and Ethernet MAC. Most notable omission is the sama5d2 variant of the SDHCI, which differs from the MCI used by previous AT91 boards, but we kernel boot over the network works, so lets add the board now and have the SDHCI follow later. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: at91: microchip-ksz9477-evb: add debug_ll UARTAhmad Fatoum2019-10-141-2/+28
| | | | | | | | | | | | | | | | | | | | | | | | The EVB has the dbgu TX on PB31. Pinmux and set up the UART on it when DEBUG_LL is enabled, so early barebox boot messages can be printed. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: at91: use compressed DTB for AT91_MULTI_BOARDSAhmad Fatoum2019-10-143-6/+7
| |/ | | | | | | | | | | | | | | | | | | | | To offset the size increase by using multi-image have the DTBs be compressed. This reduces e.g. the microchip_ksz9477_evb_defconfig by about 22K from 244K to 222K. This will also come in handy when implementing first stage support later on. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: drop bultin DTBSascha Hauer2019-10-014-4/+30
| | | | | | | | | | | | | | | | We can build multiple DTBs into the binary and board code can select which one to use. Drop the single builtin DTB and let the boards using it pass the correct one. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: NETX: remove architectureSascha Hauer2019-09-234-115/+0
|/ | | | | | | NETX support has been removed from the Kernel, so there's no point in supporting it in barebox any longer. Remove the architecture. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/socfpga'Sascha Hauer2019-09-121-0/+26
|\
| * ARM: achilles: add bbu handlerSteffen Trumtrar2019-08-191-0/+26
| | | | | | | | | | Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/misc'Sascha Hauer2019-09-121-0/+1
|\ \
| * | ARM: zii-vf610-dev: Use CTRL-C as autoboot abortCory Tusar2019-09-021-0/+1
| |/ | | | | | | | | | | | | | | This brings the various VF610-based units in line with other ZII platforms. Signed-off-by: Cory Tusar <cory.tusar@zii.aero> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/imx'Sascha Hauer2019-09-121-1/+1
|\ \
| * | ARM: zii-vf610-dev: Re-align SCU4's hostname with upstream kernelAndrey Smirnov2019-09-091-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/arm'Sascha Hauer2019-09-1265-79/+79
|\ \ \ | |/ / |/| |
| * | ARM: Cleanup stack offset cargo cultSascha Hauer2019-09-0965-79/+79
| |/ | | | | | | | | | | | | | | | | Most callers of arm_setup_stack substract a fixed offset of 8, 12 or 16 bytes from the stack top. This is unnecessary as on ARM we have a stack that decrements before storing values. Substracting this offset probably goes back to the U-Boot version we forked from. Stop this now. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: nxp-imx8mq-evk: Update commentsSascha Hauer2019-08-231-5/+4
| | | | | | | | | | | | | | | | The comments mention contents of register r0, this is outdated. We base our decisions on the current EL. Update the comments. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Reviewed-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>