summaryrefslogtreecommitdiff
path: root/board
Commit message (Collapse)AuthorAgeFilesLines
* sandbox: cros_ec: exynos: Drop use of cros_ec_get_error()Simon Glass2018-11-202-7/+12
| | | | | | | | This function is really just a call to uclass_get_device() and there is no reason why the caller cannot do it. Update sandbox and snow accordingly. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Minkyu Kang <mk7.kang@samsung.com>
* sandbox: README: use setenv ethrotate noHeinrich Schuchardt2018-11-201-0/+4
| | | | | | | | | If we want to control which network interface is actually used, we have to issue 'setenv ethrotate no'. If ethrotate is not set any interface may be used. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
* sandbox: README: setting environment variablesHeinrich Schuchardt2018-11-201-8/+8
| | | | | | | The command to set environment variables is setenv. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
* Merge git://git.denx.de/u-boot-marvellTom Rini2018-11-201-0/+1
| | | | | | - Clearfog GT-8K support added by Baruch / Raheeb - const and sizes cleanup (also in MIPS) from Baruch - Minor cleanup to db-88f6820 from Chris
* mips: mt76xx: linkit-smart-7688: Use ioremap_nocache to get addressStefan Roese2018-11-181-2/+5
| | | | | | | | Use the correct function to get the uncached address to access the SoC registers. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
* mips: mt76xx: gardena-smart-gateway: Add board_late_init() to set LED def stateStefan Roese2018-11-181-0/+9
| | | | | | | | This is needed to set the LEDs automatically to a default state, as configured in the dts. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
* mips: mt76xx: gardena-smart-gateway: Configure GPIOs (digital vs analog)Stefan Roese2018-11-181-6/+9
| | | | | | | Configure digital vs analog GPIOs as needed on this board. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
* sunxi: Update MAINTAINERS file for recent boardsTom Rini2018-11-161-0/+6
| | | | | | | | Add entries for the pine64-lts and pinebook configs. Cc: Vasily Khoruzhick <anarsoul@gmail.com> Cc: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Tom Rini <trini@konsulko.com>
* board: ti: am65x: Update README to add R5 build supportLokesh Vutla2018-11-161-22/+92
| | | | | | | | | Update the README file to add r5 build support and system firmware support. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
* configs: am65x_evm_r5: Add initial supportLokesh Vutla2018-11-161-0/+1
| | | | | | | | | | Add initial defconfig support for AM65x that runs on R5. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Signed-off-by: Keerthy <j-keerthy@ti.com>
* board: ti: am654: r5: Add initial support for am654Lokesh Vutla2018-11-161-0/+24
| | | | | | | | Add initial support for AM654 based EVM running on R5. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
* bcm968580xref: add initial supportPhilippe Reynes2018-11-164-0/+87
| | | | | | | | | | This add the initial support of the broadcom reference board bcm968580xref with a bcm6858 SoC. This board has 512 MB of ram, 256 MB of flash (nand), 2 usb port, 1 uart, 4 ethernet ports (LAN), 1 ethernet port (WAN). Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
* Merge tag 'pull-14nov18' of git://git.denx.de/u-boot-dmTom Rini2018-11-165-0/+46
|\ | | | | | | | | | | | | - virtio implementation and supporting patches - DM_FLAG_PRE_RELOC fixes - regmap improvements - minor buildman and sandbox things
| * x86: qemu: Imply virtio PCI transport and device driversBin Meng2018-11-141-0/+3
| | | | | | | | | | | | | | Add virtio drivers for QEMU x86 targets. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
| * arm: qemu: Enumerate virtio bus during early bootBin Meng2018-11-142-0/+14
| | | | | | | | | | | | | | | | | | Currently devices on the virtio bus is not automatically enumerated, which means peripherals on the virtio bus are not discovered by their drivers. This uses board_init() to do the virtio enumeration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
| * arm: qemu: Add a Kconfig in the board directoryBin Meng2018-11-141-0/+9
| | | | | | | | | | | | | | | | This adds a Kconfig file in the board directory, so that some board-specific options can be specified there. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
| * riscv: qemu: Include some useful commandsBin Meng2018-11-141-0/+8
| | | | | | | | | | | | | | | | With the virtio net and blk drivers, we can do more stuff with some useful commands. Imply those in the board Kconfig. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
| * riscv: qemu: Enumerate virtio bus during early bootBin Meng2018-11-142-0/+12
| | | | | | | | | | | | | | | | | | Currently devices on the virtio bus is not automatically enumerated, which means peripherals on the virtio bus are not discovered by their drivers. This uses board_init() to do the virtio enumeration. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
* | Merge branch 'master' of git://git.denx.de/u-boot-sunxiTom Rini2018-11-142-0/+16
|\ \ | |/ |/|
| * board: allwinner: sun50i-h6: Add Orangepi Lite2 supportJagan Teki2018-11-131-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OrangePi Lite2 is Allwinner H6 based open-source SBC, which support: - Allwinner H6 Quad-core 64-bit ARM Cortex-A53 - GPU Mali-T720 - 1GB LPDDR3 RAM - AXP805 PMIC - AP6356S Wifi/BT - USB 2.0, USB 3.0 Host, OTG - HDMI port - 5V/2A DC power supply Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
| * sun50i: A64: add support for R_I2C controllerVasily Khoruzhick2018-11-131-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Allwinner A64 has a I2C controller, which is in the R_ MMIO zone and has two groups of pinmuxes on PL bank, so it's called R_I2C. Add support for this I2C controller and the pinmux which doesn't conflict with RSB. Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Tested-by: Maxime Ripard <maxime.ripard@bootlin.com> Cc: Vagrant Cascadian <vagrant@debian.org> Acked-by: Jagan Teki <jagan@openedev.com>
| * sunxi: add support for Banana Pi M2 Zero boardJun Nie2018-10-311-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Banana Pi M2 Zero is a board by Sinovoip with Allwinner H2+ SoC, 16-bit 512MiB DDR3 memory, a MicroSD slot, two MicroUSB ports (one OTG and one powering-only) and a miniHDMI port. Signed-off-by: Icenowy Zheng <icenowy@aosc.io> Signed-off-by: Jun Nie <jun.nie@linaro.org> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> [jagan: Fixed board MAINTAINERS file] Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
* | Merge branch 'next'Tom Rini2018-11-146-232/+0
|\ \ | | | | | | | | | This brings in the u-boot-net PR from Joe.
| * | drivers: net: keystone_net: drop non dm codeGrygorii Strashko2018-11-056-232/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Networking support for all TI K2 boards converted to use DM model and CONFIG_DM_ETH enabled in all corresponding defconfig files, hence drop unused non DM K2 networking code. Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
* | | MAINTAINERS: Update stm32mp entryPatrick Delaunay2018-11-091-0/+1
| | | | | | | | | | | | | | | | | | Add mailing list for stm32mp architecture and board. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
* | | mx8mq_evk: README: Delete file introduced by mistakeFabio Estevam2018-11-061-81/+0
|/ / | | | | | | | | | | | | | | | | | | | | | | board/freescale/mx8mq_evk/README has been introduced by mistake in commit d0dd73974c61 ("imx: add i.MX8QXP MEK board support") Remove it for now as this should be introduced when mx8mq_evk support is in place. Reported-by: Tim Harvey <tharvey@gateworks.com> Signed-off-by: Fabio Estevam <festevam@gmail.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
* | iot_dk: Add READMEAlexey Brodkin2018-11-011-0/+145
| | | | | | | | Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* | emdk->emsdp: Rename boardAlexey Brodkin2018-11-015-20/+22
|/ | | | | | | | Real marketing name of the board was recently updated so to accommodate that change renaming the board and all related to it. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* Merge branch 'master' of git://git.denx.de/u-boot-sunxiTom Rini2018-10-293-16/+64
|\
| * sunxi: store DRAM size in SPL headerAndre Przywara2018-10-291-1/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At the moment we rely on the infamous get_ram_size() function to learn the actual DRAM size in U-Boot proper. This function has two issues: 1) It only works if the DRAM size is a power of two. We start to see boards which have 3GB of (usable) DRAM, so this does not fit anymore. 2) As U-Boot has no notion of reserved memory so far, it will happily ride through the DRAM, possibly stepping on secure-only memory. This could be a region of DRAM reserved for OP-TEE or some other secure payload, for instance. It will most likely crash in that case. As the SPL DRAM init routine has very accurate knowledge of the actual DRAM size, lets propagate this wisdom to U-Boot proper. We re-purpose a currently reserved word in our SPL header for that. The SPL itself stores the detected DRAM size there, and bumps the SPL header version number in that case. U-Boot proper checks for a valid SPL header and a high enough version number, then uses the DRAM size from there. If the SPL header field is not sufficient, we fall back to the old DRAM scanning routine. Part of the DRAM might be present and probed by SPL, but not accessible by the CPU. They're restricted in the main U-Boot binary, when accessing the DRAM size from SPL header. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Icenowy Zheng <icenowy@aosc.io> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Reviewed-by: Jagan Teki <jagan@openedev.com>
| * sunxi: board.c: refactor SPL header checksAndre Przywara2018-10-291-11/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | So far we have two users which want to look at the SPL header. We will get more in the future. Refactor the existing SPL header checks into a common function, to simplify reusing the code. Now that this is easy, add proper version checks to the DT name parsing. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Icenowy Zheng <icenowy@aosc.io> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Jagan Teki <jagan@openedev.com>
| * sunxi: Extend SPL header versioningAndre Przywara2018-10-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Allwinner SoCs we use some free bytes at the beginning of the SPL image to store various information. We have a version byte to allow updates, but changing this always requires all tools to be updated as well. Introduce the concept of semantic versioning [1] to the SPL header: The major part of the version number only changes on incompatible updates, a minor number bump indicates backward compatibility. This patch just documents the major/minor split, adds some comments to the header file and uses the versioning information for the existing users. [1] https://semver.org Signed-off-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Icenowy Zheng <icenowy@aosc.io> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Jagan Teki <jagan@openedev.com>
| * sunxi: disable Pine A64 model detection code on other boardsIcenowy Zheng2018-10-291-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Pine A64 Plus/non-Plus model detection code is now built on all 64-bit ARM SoCs, even if the code cannot be triggered when H5/H6 is in use. Disable them when the board is Pine A64 by adding a Kconfig option that is only selected on Pine A64. On GCC 7.3.1 this makes the size of the function reduces 184 bytes, and saves a 104 byte strstr() function, then makes SPL on H6 succeed to build. Signed-off-by: Icenowy Zheng <icenowy@aosc.io> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Reviewed-by: Jagan Teki <jagan@openedev.com>
| * sunxi: docs: Mention CONFIG_NAND requirementPriit Laes2018-10-241-3/+3
| | | | | | | | | | | | Signed-off-by: Priit Laes <plaes@plaes.org> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Reviewed-by: Jagan Teki <jagan@openedev.com>
| * sunxi: Fix typos of spelling AllwinnerPriit Laes2018-10-241-1/+1
| | | | | | | | | | | | Signed-off-by: Priit Laes <plaes@plaes.org> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Reviewed-by: Jagan Teki <jagan@openedev.com>
* | Merge tag 'u-boot-imx-20181025' of git://git.denx.de/u-boot-imxTom Rini2018-10-2517-19/+1046
|\ \ | |/ |/| | | Merged imx8 architecture, fix build for imx8 + warnings
| * warp7: MAINTAINERS: Add an entry for warp7_bl33_defconfigFabio Estevam2018-10-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Add an entry for the warp7_bl33_defconfig target. This fixes the following warnings: WARNING: no status info for 'warp7_bl33' WARNING: no maintainers for 'warp7_bl33' Reported-by: Tom Rini <trini@konsulko.com> Signed-off-by: Fabio Estevam <festevam@gmail.com>
| * board: ge: bx50v3: fix initialization of i2c bus0Dan Cimpoca2018-10-221-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I2C bus 0 was not initialized correctly. There is an offset between i2c index and the structure number of pad info. So i2c bus 0 can be in an inconsistent state. This problem become visible on B{4,6}50v3 with the CPUC HW watchdog enabled. Sometimes when the CPUC HW watchdog interrupted the boot process, U-Boot was not able to read VPD from I2C/EEPROM and the system failed to boot up again, because a device connected to that bus was stuck in data transfer state (from previous boot attempt) and there was no method to recover (struct mxc_i2c_bus::idle_bus_fn was not set) courtesy of incorrect initialization. Signed-off-by: Dan Cimpoca <dan.I.cimpoca@ge.com> Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.com>
| * board: ge: bx50v3: b{4,6}50v3 modelineIan Ray2018-10-221-0/+2
| | | | | | | | | | | | | | | | The b{4,6}50v3 kernel framebuffer console requires a modeline otherwise the LVDS panel shows garbage. Signed-off-by: Ian Ray <ian.ray@ge.com> Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.com>
| * board: ge: bx50v3: correct LDB clockIan Ray2018-10-221-13/+17
| | | | | | | | | | | | | | Use Video PLL to provide 65MHz for all displays. Signed-off-by: Ian Ray <ian.ray@ge.com> Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.com>
| * board: ge: bx50v3: Change maintainerFabien Lahoudere2018-10-221-1/+1
| | | | | | | | | | | | | | | | While using ./scripts/get_maintainer.pl I detect that the Maintainer name and address for bx50v3 boards are not valid. The new maintainer for GE bx50v3 products must be Ian Ray. Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.com>
| * imx: imx8qxp_mek: update to build image in U-BootPeng Fan2018-10-222-29/+37
| | | | | | | | | | | | | | | | Update README Add imximage.cfg Update defconfig to include imximage.cfg Signed-off-by: Peng Fan <peng.fan@nxp.com>
| * imx: add i.MX8QXP MEK board supportPeng Fan2018-10-226-0/+350
| | | | | | | | | | | | | | | | | | | | | | Add i.MX8QXP MEK board support Enabled pinctrl/clk/power-domain/mmc/i2c/fec driver. Added README file. Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Anatolij Gustschin <agust@denx.de> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com>
| * arm: mx5: Add M53Menlo boardMarek Vasut2018-10-165-0/+635
| | | | | | | | | | | | | | | | Add Menlosystems M53 board, based on the M53 SoM. This board has Ethernet, USB host, USB gadget, UART and LCD on it. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Stefano Babic <sbabic@denx.de>
| * colibri_imx7: prime get_ram_size() using imx_ddr_size()Fabio Estevam2018-10-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rather than passing a hardcoded maxsize to the generic get_ram_size() function use the i.MX 7 specific imx_ddr_size() function, which extracts the memory size at runtime by reading the DDR controller registers. This is a purely cosmetic change as the generic get_ram_size() function already took care of properly automatically detecting 256MB, 512MB or 1GB modules. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
| * pico-imx7d: Add USB Host supportFabio Estevam2018-10-091-1/+28
| | | | | | | | | | | | | | | | | | USB OTG2 port is connected to the USB host connector. Add support for it. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* | ARM: Samsung: Add Exynos5422-based Odroid HC2 supportDirk Meul2018-10-232-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Odroid HC2 board is based on Odroid XU4 board, like the Odroid HC1. The linux kernel does not provide a hc2 DTB so the hc1 DTB is also used for the Odroid HC2. Resend because MUA changed whitespace. Signed-off-by: Dirk Meul <dirk.meul@rwth-aachen.de> Acked-by: Marek Szyprowski <m.szyprowski@samsung.com> Reviewed-by: Lukasz Majewski <lukma@denx.de> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
* | ARM: omap3_logic: Add NOR Flash Support for SOM-LVAdam Ford2018-10-221-1/+48
| | | | | | | | | | | | | | | | | | The DM37 and OMAP35 SOM-LV SOM-LV products both support a NOR flash part connected to CS2 in addition to the NAND part on CS0. This patch setups the GPMC timings for the MT28 NOR Flash and enables the CFI-Flash driver now that the CFI stuff is in Kconfig Signed-off-by: Adam Ford <aford173@gmail.com>
* | board: at91sam9x5: add environment var for cpu typeEugen Hristev2018-10-222-0/+11
| | | | | | | | | | | | | | When booting and CPU is detected from cpuid, we also need an environment variable that will be used in boot commands to load the proper devicetree. Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
* | ARM: omap3logic: Fix MMC nameAdam Ford2018-10-221-1/+1
| | | | | | | | | | | | | | | | In my haste to migrate SPL to DM, I copied the wrong name. While it really doesn't matter, I'd prefer the name to match the board, so am335x_mmc0 is now called omap3_logic_mmc0 Signed-off-by: Adam Ford <aford173@gmail.com>