summaryrefslogtreecommitdiffstats
path: root/board
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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>
* | ARM: omap3logic: Specify DM serial driver as omap_serialAdam Ford2018-10-221-1/+1
| | | | | | | | | | | | | | | | With the new omap_serial driver, this patch uses this instead from the former ns16550_serial driver. Even though the omap_serial driver is essentially the same. Signed-off-by: Adam Ford <aford173@gmail.com>
* | ARM: omap3logic: Encapsulate the MUSB functions in check for DMAdam Ford2018-10-221-2/+4
| | | | | | | | | | | | | | | | With the DM_USB working for USB host features, encapsulate the USB gadget initialization in a precomiler check. If DM is enabled, we don't need to manually initialize the MUSB driver. Signed-off-by: Adam Ford <aford173@gmail.com>
* | ARM: omap3_logic.c: Optimize DDR timings based on OMAP35 or 36/37Adam Ford2018-10-221-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | The default timings are assumming an OMAP36 / AM37 / DM37, but the OMAP35 controller is a bit slower, so DDR may operate out of spec when under stress. This patch checks the processor type and sets the DDR timings according to processor type. Fixes: 5ad4212ce0d5 ("ARM: DTS: Add Logic PD OMAP35/DM37 SOM-LV and OMAP35 Torpedo") Signed-off-by: Adam Ford <aford173@gmail.com>
* | arm: lpc32xx: add CONFIG_ARCH_LPC32XX build optionVladimir Zapolskiy2018-10-192-6/+0
| | | | | | | | | | | | | | | | | | | | The explicit arch specific build symbol allows to group supported boards, generalize common config options and it will serve as a dependency for platform only drivers. Two related board defconfigs are resynced after the change. Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
* | ARM: rmobile: Fix module clock controls refer status on Gen3Hiroyuki Yokoyama2018-10-183-6/+6
| | | | | | | | | | | | | | | | | | When referring to the MSTPSR register, it contains the clock status of SYS, RT, SECURE, and controlling SMSTPCR using this value has the problem of being affected by the RT and SECURE status.This patch changes the reference register to SMSTPCR. Signed-off-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
* | ARM: rmobile: Tidy up SYSC_PWRx define of 3DG on Gen3Hiroyuki Yokoyama2018-10-183-18/+0
| | | | | | | | | | | | Tidy up unused definition related to power control of 3DG. Signed-off-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
* | ARM: rmobile: salvator-x: Remove GSX clock force supplyHiroyuki Yokoyama2018-10-181-12/+0
| | | | | | | | | | | | | | GSX clock force supply code is unnecessary at U-Boot, because GSX clock control is supported at the kernel driver. Signed-off-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
* | ARM: rmobile: Remove Watchdog and CPG settings on Gen3Hiroyuki Yokoyama2018-10-183-39/+0
| | | | | | | | | | | | | | This code is unnecessary, because these registers are set by the initial program loader (IPL). Signed-off-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
* | ARM: rmobile: Remove TMU0/TMU1 settings on Gen3Hiroyuki Yokoyama2018-10-185-25/+0
| | | | | | | | | | | | U-Boot uses ARM generic timer, TMU0 and TMU1 are not used, remove them. Signed-off-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
* | ARM: rmobile: Fix CPGWPR Address define and Settings on Gen3Hiroyuki Yokoyama2018-10-183-6/+6
| | | | | | | | | | | | This patch fixes the write-protect control of CPG. Signed-off-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
* | arm64: zynqmp: Add new command for TCM initializationSiva Durga Prasad Paladugu2018-10-161-1/+36
| | | | | | | | | | | | | | | | | | | | | | This patch adds new zynqmp command "zynqmp tcminit mode" to initialize TCM. TCM needs to be initialized before accessing to avoid ECC errors. This new command helps to perform the same. It also makes tcm_init() as global and uses it for doing the TCM initialization. Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* | arm64: versal: Add support for new Xilinx Versal ACAPsMichal Simek2018-10-163-0/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Xilinx is introducing Versal, an adaptive compute acceleration platform (ACAP), built on 7nm FinFET process technology. Versal ACAPs combine Scalar Processing Engines, Adaptable Hardware Engines, and Intelligent Engines with leading-edge memory and interfacing technologies to deliver powerful heterogeneous acceleration for any application. The Versal AI Core series has five devices, offering 128 to 400 AI Engines. The series includes dual-core Arm Cortex™-A72 application processors, dual-core Arm Cortex-R5 real-time processors, 256KB of on-chip memory with ECC, more than 1,900 DSP engines optimized for high-precision floating point with low latency. The patch is adding necessary infrastructure in place without enabling platform which is done in separate patch. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* | arm: zynq: Add support for DLC20 boardMichal Simek2018-10-161-0/+280
| | | | | | | | | | | | | | | | | | Xilinx DLC20 has I2C0 with EEPROM(1KB), UART1, GPIO, SD0 (EMMC 4GB), USB0 device, ENET0, QSPI (16MB) and DDR(two of 256MB each). Boards have mix of Winbond/ST QSPIs. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* | Merge tag 'arc-more-updates-for-2018.11-rc2-2' of git://git.denx.de/u-boot-arcTom Rini2018-10-154-5/+67
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | More fixes and improvements for ARC here: Fixes (this time included for real): * Take care of global uninitialized variables They used to be put right after .bss section and were never zeroed as they should be. Now merged with normal .bss Improvements: * Print more verbose CPU info for boards built on real silicon * Add support for SD-card detection on all ARC boards * Quite a few fixes for IoT DK - Support reset by command - Print of CPU freq on boot - Link for eFlash etc
| * | axs10x/emdk/hsdk/iot_dk: Implement board_mmc_getcd()Alexey Brodkin2018-10-124-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So now we may detect MMC/SD-card existence and instead of completely misleading message on missing card: ------------------------>8----------------------- Loading Environment from FAT... Card did not respond to voltage select! ------------------------>8----------------------- we now get very clear one: ------------------------>8----------------------- Loading Environment from FAT... MMC: no card present ------------------------>8----------------------- Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
| * | iot_dk: Save CPU clock value to gd->cpu_clkAlexey Brodkin2018-10-121-6/+8
| | | | | | | | | | | | | | | | | | | | | Since gd->cpu_clk is a global item we may once populate it from .dtb ans use it then in other places like for printing CPU info etc. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
| * | iot_dk: Add support of 136 MHz clockAlexey Brodkin2018-10-121-0/+8
| | | | | | | | | | | | Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
| * | iot_dk: Implement board resetAlexey Brodkin2018-10-121-0/+8
| | | | | | | | | | | | | | | | | | It is done by writing some magic sequence in a special register. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
| * | iot_dk/hsdk: Implement its own print_cpuinfo()Alexey Brodkin2018-10-122-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | ARC IDENTITY register only encodes major architecture type and version while for a particular board/silicon we may know better which template was used and so we may identify CPU more precise, which exactly we do here. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* | | Merge branch 'master' of git://git.denx.de/u-boot-spiTom Rini2018-10-121-0/+27
|\ \ \
| * | | board: da8xxevm: Add SPL DM for serial, spiJagan Teki2018-10-101-0/+27
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | This patch add SPL DM support for da8xxevm boards with SPL serial, SPI drivers supported via platdata. Cc: Adam Ford <aford173@gmail.com> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Tested-by: Adam Ford <aford173@gmail.com> #da850evm
* | | Merge branch 'master' of git://git.denx.de/u-boot-netTom Rini2018-10-115-45/+45
|\ \ \ | |_|/ |/| |
| * | driver: net: fsl-mc: Add support of multiple phys for dpmacPankaj Bansal2018-10-104-44/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Till now we have had cases where we had one phy device per dpmac. Now, with the upcoming products (LX2160AQDS), we have cases, where there are sometimes two phy devices for one dpmac. One phy for TX lanes and one phy for RX lanes. to handle such cases, add the support for multiple phys in ethernet driver. The ethernet link is up if all the phy devices connected to one dpmac report link up. also the link capabilities are limited by the weakest phy device. i.e. say if there are two phys for one dpmac. one operates at 10G without autoneg and other operate at 1G with autoneg. Then the ethernet interface will operate at 1G without autoneg. Signed-off-by: Pankaj Bansal <pankaj.bansal@nxp.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
| * | net.h: Include linux/if_ether.h to avoid duplicationBin Meng2018-10-101-1/+0
| |/ | | | | | | | | | | | | | | | | There are plenty of existing drivers that have macros like ETH_ALEN defined in their own source files. Now that we imported the kernel's if_ether.h to U-Boot we can reduce some duplication. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
* | Merge tag 'dm-9oct18' of git://git.denx.de/u-boot-dmTom Rini2018-10-101-1/+4
|\ \ | | | | | | | | | | | | | | | Test improvements to tidy up output and drop duplicate tests Sandbox SPL/TPL support Various dm-related improvements
| * | video: at91: Adjust vidconsole_position_cursor() to use char posSimon Glass2018-10-091-1/+4
| |/ | | | | | | | | | | | | | | | | | | | | | | At present this function uses pixels but it seems more useful for it to position in terms of characters on the screen. This also matches the comment to the function. Update this. Unfortunately there is one user of this function (at91). Have a crack at fixing this, since I cannot test it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Anatolij Gustschin <agust@denx.de>
* | arm: remove prototype for get_timer_maskedPatrick Delaunay2018-10-101-22/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The interruption support had be removed for ARM architecture and the function get_timer_masked() is no more used except in some the timer.c files. This patch clean each timer.c which implement this function and remove the associated prototype in u-boot-arm.h For timer.c, I don't verify if the weak version of get_timer (in lib/time.c) can be used Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
* | arm: remove prototype for udelay_maskedPatrick Delaunay2018-10-101-6/+0
| | | | | | | | | | | | | | | | | | | | | | The interruption support had be removed for ARM architecture and the function udelay_masked() is no more used except in some timer.c files and have the same content than udelay() or __udelay(). This patch update each timer.c implementing this function and remove the associated prototype in u-boot-arm.h. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
* | gpio: da8xx: Push generic defines of gpio.h out of mach-davinciKeerthy2018-10-101-0/+1
| | | | | | | | | | | | | | | | | | | | Push generic defines of gpio.h out of mach-davinci to drivers/gpio now that non-davinci architectures are beginning to use this IP. Signed-off-by: Keerthy <j-keerthy@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> [trini: Fix calimain build] Signed-off-by: Tom Rini <trini@konsulko.com>
* | board: ks2: move uinitrd fixup logic inside ft_board_setup_exNicholas Faustini2018-10-101-22/+22
| | | | | | | | | | | | | | | | The uinitrd fixup logic should be executed after the FDT /chosen node has been properly populated by fdt_initrd() Signed-off-by: Nicholas Faustini <nicholas.faustini@azcomtech.com> Reviewed-by: Tom Rini <trini@konsulko.com>
* | ARM: meson: Add Khadas VIM2 board supportLoic Devulder2018-10-105-0/+189
|/ | | | | | | | | | | | | | | This adds platform code for the Khadas VIM2 board based on a Meson GXM (S912) SoC with the Meson GXM configuration. This initial submission supports UART, MMC/SDCard and Ethernet. USB is partially supported. All the code is from Neil Armstrong! I just rebased the code, do some cleanup and tested on my board. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Loic Devulder <ldevulder@suse.de> Acked-by: Neil Armstrong <narmstrong@baylibre.com>
* ARM: LogicPD: omap3logic: Remove Torpedo/SOM-LV autodectionAdam Ford2018-10-062-103/+7
| | | | | | | | | With there now being four device tree files, and 4 separate defconfig files, the code necessary to determine which board is being used is no longer necessary as the corresponding pin-muxing and board names are determined by the device tree. Signed-off-by: Adam Ford <aford173@gmail.com>
* ARM: DTS: Add Logic PD OMAP35/DM37 SOM-LV and OMAP35 TorpedoAdam Ford2018-10-061-0/+3
| | | | | | | | | | | With the device trees doing most of the work of pin-muxing and DM doing much of the peripheral initialization, this creates new defconfig files for each of the Logic PD variants with proper register settings/pin-muxing. Signed-off-by: Adam Ford <aford173@gmail.com> [trini: Update MAINTAINERS entry] Signed-off-by: Tom Rini <trini@konsulko.com>
* arc: Add support for IoT development kitAlexey Brodkin2018-10-056-0/+271
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The DesignWare ARC IoT Development Kit is a versatile platform that includes the necessary hardware and software to accelerate software development and debugging of sensor fusion, voice recognition and face detection designs. More information is avaialble here [1] and here [2]. The board is based on real silicon with ARC EM9D-based Data Fusion IP Subsystem. It sports a rich set of I/O including * DW USB OTG * DW MobileStorage (used for micro SD-card) * GPIO * multiple serial interface including DW APB UART * ADC, PWM and eFlash, SRAM and SPI Flash memory * Real-Time Clock (RTC) * Bluetooth module with worldwide regulatory compliance (FCC, IC, CE, ETSI, TELEC) * On-board 9-axis sensor (gyro, accelerometer and compass) Extensible with Arduino, Pmod, mikroBUS connectors and a 2x18 extension header. One of the most interesting features for developers is built-in Digilent USB JTAG probe so only micro-USB cable is needed! [1] https://www.synopsys.com/dw/ipdir.php?ds=arc_iot_development_kit [2] https://www.synopsys.com/dw/doc.php/ds/cc/iot_dev_kit.pdf Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* riscv: Add QEMU virt board supportBin Meng2018-10-034-0/+57
| | | | | | | | | | | | | | | | | | This adds QEMU RISC-V 'virt' board target support, with the hope of helping people easily test U-Boot on RISC-V. The QEMU virt machine models a generic RISC-V virtual machine with support for the VirtIO standard networking and block storage devices. It has CLINT, PLIC, 16550A UART devices in addition to VirtIO and it also uses device-tree to pass configuration information to guest software. It implements RISC-V privileged architecture spec v1.10. Both 32-bit and 64-bit builds are supported. Support is pretty much preliminary, only booting to U-Boot shell with the UART driver on a single core. Booting Linux is not supported yet. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
* riscv: Remove mach typeBin Meng2018-10-031-2/+0
| | | | | | | Since the mach_id is not used by RISC-V, remove it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
* MAINTAINERS: at91: update entry for at91 boardsEugen Hristev2018-10-0110-10/+10
| | | | | | Updated the maintainership for the at91 boards. Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
* Merge git://git.denx.de/u-boot-dmTom Rini2018-09-301-0/+24
|\
| * sandbox: Add an explanation of the sandbox variantsSimon Glass2018-09-291-0/+24
| | | | | | | | | | | | | | There are quite a few builds of sandbox now. Add information about these to the README. Signed-off-by: Simon Glass <sjg@chromium.org>
* | MAINTAINERS: Update some entries for missed boardsTom Rini2018-09-303-1/+3
| | | | | | | | Signed-off-by: Tom Rini <trini@konsulko.com>
* | db410c: automatically launch fastbootRamon Fried2018-09-301-1/+2
| | | | | | | | | | | | | | If during boot the key-vol-down press is detected we'll fall back to fastboot. Signed-off-by: Ramon Fried <ramon.fried@gmail.com>
* | db410c: serial# env using msm board serialRamon Fried2018-09-301-0/+10
| | | | | | | | | | | | | | | | The serial# environment variable needs to be defined so it will be used by fastboot as serial for the endpoint descriptor. Signed-off-by: Ramon Fried <ramon.fried@gmail.com>
* | ehci: Replace board_prepare_usb with board_usb_initRamon Fried2018-09-301-2/+2
| | | | | | | | | | | | Use standard board_usb_init() instead of the specific board_prepare_usb. Signed-off-by: Ramon Fried <ramon.fried@gmail.com>