summaryrefslogtreecommitdiffstats
path: root/board
Commit message (Collapse)AuthorAgeFilesLines
...
* | | env: Fix missed getenv_ulong to env_get_ulong conversionAndrew F. Davis2018-02-231-1/+1
|/ / | | | | | | | | | | | | | | | | This seems to have been missed, possibly due to the inability to enable TI_SECURE_DEVICE on Keystone2 devices previously. Fixes: bfebc8c965e4 ("env: Rename getenv_hex(), getenv_yesno(), getenv_ulong()") Signed-off-by: Andrew F. Davis <afd@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
* | Merge git://git.denx.de/u-boot-mmcTom Rini2018-02-192-0/+59
|\ \
| * | ARM: DRA7x/AM57x: Add MMC/SD fixups for rev1.0 and rev 1.1Kishon Vijay Abraham I2018-02-192-0/+59
| |/ | | | | | | | | | | | | | | | | | | Since DRA7xx/AM57xx SR1.1 and SR1.0 has errata to limit the frequency of MMC1 to 96MHz and frequency of MMC2 to 48MHz for AM572x SR1.1, limit the frequency and disable higher speed modes for those revision. Also use the recommended IO delays (those tagged with "rev11") Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
* | Merge git://git.denx.de/u-boot-dmTom Rini2018-02-192-2/+13
|\ \
| * | sandbox: Add 64-bit sandboxMario Six2018-02-182-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To debug device tree issues involving 32- and 64-bit platforms, it is useful to have a generic 64-bit platform available. Add a version of the sandbox that uses 64-bit integers for its physical addresses as well as a modified device tree. Signed-off-by: Mario Six <mario.six@gdsys.cc> Added CONFIG_SYS_TEXT_BASE to configs/sandbox64_defconfig Signed-off-by: Simon Glass <sjg@chromium.org>
* | | vexpress: Sign up as maintainerLinus Walleij2018-02-191-6/+2
| |/ |/| | | | | | | | | | | These ARM boards are in nice shape and still being used a lot with e.g. QEMU, so I can maintain them. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* | ARM: rmobile: Fix broken reset code on PorterMarek Vasut2018-02-171-5/+18
| | | | | | | | | | | | | | | | | | | | The 'reset' command did not work on Porter because the reset code was accessing the wrong PMIC address over broken I2C bus driver. Replace the code with DM-aware code and fix up the PMIC address. This makes the 'reset' command work again. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* | ARM: rmobile: Reset ethernet PHYMarek Vasut2018-02-171-0/+8
| | | | | | | | | | | | | | | | | | | | Toggle the PHY reset GPIO to bring the ethernet PHY out of reset properly. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> --- NOTE: This should be moved to the SH ethernet driver, but it's quite late in the cycle, so this is something to be done in 2018.05.
* | Merge git://git.denx.de/u-boot-shTom Rini2018-02-161-0/+22
|\ \
| * | ARM: rmobile: Convert Porter to SPLMarek Vasut2018-02-161-0/+22
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to size limitations of the MERAM, switch U-Boot to SPL. The SPL is loaded by the SPI_LOADER into MERAM and then loads U-Boot proper into DRAM. This way U-Boot can freely grow in size in DRAM, as there is plenty of it. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> --- NOTE: To update U-Boot, first install u-boot.img to 0x140000 in SPI NOR, then use the Minimon to flash u-boot-spl.srec using ls,2,e6304000. To generate u-boot-spl.srec, use objcopy: arm-linux-gnueabi-objcopy -O srec spl/u-boot-spl u-boot-spl.srec
* | Merge git://git.denx.de/u-boot-usbTom Rini2018-02-165-6/+33
|\ \ | |/ |/|
| * usb: host: xhci-omap: Remove redundant board_usb_init and board_usb_cleanup ↵Faiz Abbas2018-02-155-6/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | functions board_usb_init()/_cleanup() should be in board files and don't have a place in the xhci-omap driver. Weak versions for board_usb_init()/_cleanup() already exist in common/usb.c (for host mode) and drivers/usb/gadget/g_dnl.c (for gadget mode). Therefore, remove init and cleanup functions from xhci-omap and implement them in the board files. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com> Reviewed-by: Marek Vasut <marex@denx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
* | RPi: Add myself as board maintainerAlexander Graf2018-02-151-2/+2
|/ | | | | | | | | | Commit 958d55f26ce ("MAINTAINERS: Take over BCM2835 maintainership") put me in as maintainer for the RPi soc, but forgot to update the board MAINTAINERS file. Add me there too. Signed-off-by: Alexander Graf <agraf@suse.de>
* ARM: k2g: Add pinmux data for QSPI on K2G ICEVignesh R2018-02-071-0/+9
| | | | | | Add pinmux for QSPI pins on K2G ICE board. Signed-off-by: Vignesh R <vigneshr@ti.com>
* am335x, shc: kconfig: Fix misspelled choice defaultUlf Magnusson2018-02-051-1/+1
| | | | | | | | | | | | | | | | | | | There is no EMMC symbol in the "enable different boot versions for the shc board" choice. SHC_EMMC was probably intended. No functional changes. Kconfig choices fall back on using the first (visible) symbol in the choice as the default if the default symbol is not visible. Discovered in Kconfiglib (https://github.com/ulfalizer/Kconfiglib), which prints the following warning: warning: the default selection EMMC (undefined) of <choice> (defined at board/bosch/shc/Kconfig:15) is not contained in the choice I've added a corresponding warning to the C tools too, which is currently in linux-next: https://patchwork.kernel.org/patch/9983667/ Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com>
* MAINTAINERS: board: qcom: db410c, db820c: update email.Jorge Ramirez-Ortiz2018-02-042-2/+2
| | | | | | Update email address. Signed-off-by: Jorge Ramirez-Ortiz <jramirez@baylibre.com>
* MAINTAINERS: Update email address for Maxime RipardMaxime Ripard2018-02-041-3/+3
| | | | | | | Free Electrons is no more and is now known as Bootlin, change my email address accordingly. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
* board: tbs2910: add private imx configSoeren Moch2018-02-042-1/+116
| | | | | | | Add board specific imx config file with recommended IPU Qos settings and adapted DDR configuration. Signed-off-by: Soeren Moch <smoch@web.de>
* mx6memcal: enable SDP supportEric Nelson2018-02-041-1/+0
| | | | | | | | | | | | The initial implementation of mx6memcal reset the CPU after running the memory calibration procedure because the generic board has no information about which boot devices are available. Now that we have SDP support in SPL, use it to allow a full U-Boot to be uploaded (i.e. to use "mtest"). Signed-off-by: Eric Nelson <eric@nelint.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
* arm: imx: mx53loco: remove usage of mx53_dram_sizePatrick Bruenn2018-02-041-39/+0
| | | | | | | | | | | Static variables are not available during board_init_f(). 'static uint32_t mx53_dram_size[2];' was used in board specific dram_init(), dram_init_banksize() and get_effective_memsize() to avoid multiple calls to get_ram_size(). Reused dram initialization functions from arch/arm/mach-imx/mx5/mx53_dram.c Signed-off-by: Patrick Bruenn <p.bruenn@beckhoff.com>
* arm: imx: m53evk: remove usage of mx53_dram_sizePatrick Bruenn2018-02-041-39/+0
| | | | | | | | | | | Static variables are not available during board_init_f(). 'static uint32_t mx53_dram_size[2];' was used in board specific dram_init(), dram_init_banksize() and get_effective_memsize() to avoid multiple calls to get_ram_size(). Reused dram initialization functions from arch/arm/mach-imx/mx5/mx53_dram.c Signed-off-by: Patrick Bruenn <p.bruenn@beckhoff.com>
* arm: imx: cx9020: move dram init into common placePatrick Bruenn2018-02-041-35/+0
| | | | | | | | Move dram_init(), dram_init_banksize() and get_effective_memsize() to arch/arm/mach-imx/mx5/mx53_dram.c, where it can be reused by m53evk and mx53loco. Signed-off-by: Patrick Bruenn <p.bruenn@beckhoff.com>
* arm: imx: cx9020: remove usage of mx53_dram_sizePatrick Bruenn2018-02-041-9/+5
| | | | | | | | | | | | | | Static variables are not available during board_init_f(). 'static uint32_t mx53_dram_size[2];' was used in board specific dram_init(), dram_init_banksize() and get_effective_memsize() to avoid multiple calls to get_ram_size(). However multiple calls are better than undefined behavior... This fixes: https://lists.denx.de/pipermail/u-boot/2017-November/313214.html https://lists.denx.de/pipermail/u-boot/2017-December/314480.html Signed-off-by: Patrick Bruenn <p.bruenn@beckhoff.com>
* board,ge,bx50v3 - rtc time validationNandor Han2018-02-041-0/+3
| | | | | | | | | | Validate the time at startup: - in case rtc error add to kernel command line RTC_ERROR - clamp date to 1-Jan-2036 Signed-off-by: Nandor Han <nandor.han@ge.com> Signed-off-by: Martyn Welch <martyn.welch@collabora.co.uk> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
* board: ge: bx50v3: Support FIT and select configuration based on VPDIan Ray2018-02-041-0/+12
| | | | | | | | | | Modify configuration to support FIT. Set variable `confidx' from VPD, in order to load the correct device tree. Modify/simplify U-Boot environment to support loading FIT image. Signed-off-by: Ian Ray <ian.ray@ge.com> Signed-off-by: Martyn Welch <martyn.welch@collabora.co.uk> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
* board: ge: bx50v3: Enable hardware watchdogMartyn Welch2018-02-041-0/+1
| | | | | | | | | | | | | | | | | | | | Enable the hardware watchdog on bx50v3 to cause it to reset in the event the board hangs. Configure GPIO_9 pin as WDOG1_B so that a watchdog timeout results in a full system reset. The watchdog is used and reconfigured by systemd approximately 1.7 seconds into boot. Adding a few seconds for U-Boot and a few more seconds as a safety margin. Note that the PCIe controller is _not_ put back into a safe state prior to board reset. This is a problem if board reset is implemented as CPU reset. Signed-off-by: Ian Ray <ian.ray@ge.com> Signed-off-by: Martyn Welch <martyn.welch@collabora.co.uk> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
* board: ge: bx50v3: program MAC address to I210Hannu Lounento2018-02-041-1/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | There are two I210s on the b850v3 and one on the b450v3 and b650v3. One is connected to Marvell 88e6240 which is already programmed. Follow the flow documented in doc/README.enetaddr: set the enet[0-9]*addr environment variable and let the driver program the hardware. The mapping from the driver's index to the environment variable's name is documented in README: Note for Redundant Ethernet Interfaces. It is assumed that eth_devices for the controllers on the board are always indexed in the same order. The environment variables are removed after programming the hardware because the variables seem to influence MAC addresses also after U-Boot. Specifically the MAC address of FEC (MC interface) would be incorrectly set: 'ethaddr', which maps to the first I210 chip and is set to I210's default address read from the driver by eth_write_hwaddr in eth_legacy.c because the variable is undefined (not set even by bx50v3.c), would result in the eth0 interface's MAC address to be set to I210's default address. Signed-off-by: Hannu Lounento <hannu.lounento@ge.com> Signed-off-by: Ian Ray <ian.ray@ge.com> Signed-off-by: Martyn Welch <martyn.welch@collabora.co.uk> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
* board: ge: bx50v3: move FEC MAC address programming to driverMartyn Welch2018-02-041-40/+39
| | | | | | | | | | | | | | | | | | | | | | | | Instead of programming the hardware directly in the board implementation, follow the flow documented in doc/README.enetaddr: set the enet[0-9]*addr environment variable and let the driver program the hardware. This avoids duplicating the implementation as it already exists in the driver (drivers/net/fec_mxc.c: fec_set_hwaddr). The mapping from the driver's index to the environment variable's name is documented in README: Note for Redundant Ethernet Interfaces. It is assumed that eth_devices for the controllers on the board are always indexed in the same order, i.e. FEC always has the index 2. The FEC driver does *not* set the flag Set MAC Address on Transmit (bit set_eth0_mac_address used to do but this is unnecessary as the Linux networking stack fills in the MAC address. Signed-off-by: Hannu Lounento <hannu.lounento@ge.com> Signed-off-by: Ian Ray <ian.ray@ge.com> Signed-off-by: Martyn Welch <martyn.welch@collabora.co.uk> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
* board: ge: Enable access to i2c bus 1 and 2Martyn Welch2018-02-041-1/+1
| | | | | | | | | | | | | | | The change in i2c configuration added to support access to the VPD has inadvertantly caused access to i2c buses 1 & 2 to be lost. This has resulted in the configuration for the PMIC to be attempted on the wrong bus and thus isn't taking effect. Add the required configuration to return access to buses 1 & 2. In order to ensure that any users of the bus numbering prior to addition in VPD patches work, add buses before configuration related to mux on bus 0 and tweak VPD bus usage to fit new numbering scheme. Signed-off-by: Martyn Welch <martyn.welch@collabora.co.uk> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
* board: i.MX6QDL: add Engicam i.CoreM6 1.5 QDL MIPI starter kitJagan Teki2018-02-041-2/+7
| | | | | | | | | | | | | | | | | | i.CoreM6 1.5 is an another i.CoreM6 QDL cpu modules which can be connected to EDIMM starter kit design with eMMC and MIPI-CSI interfaces suitable for Android and video capture application. notable features: CPU NXP i.MX6 S/DL/D/Q, Up to 4 x Cortex-A9@800MHz Memory Up to 2 GB DDR3-1066 Video Interfaces Up to 1 Parallel Up to 2 LVDS HDMI 1.4 port 8 bit CSI INPUT MIPI-CSI INPUT 1 x 10/100 Ethernet interface, 2 x USB, 1 x PCIe, 1 x I2S etc This patch adds support for Quad/Dual and DualLite/Solo SOM's on MIPI starter kit with boot from SD and eMMC. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
* Merge git://git.denx.de/u-boot-fsl-qoriqTom Rini2018-01-314-23/+30
|\
| * armv8: ls2088ardb: Add 3DS RDIMM supportYork Sun2018-01-302-19/+6
| | | | | | | | | | | | | | | | | | | | Tested with MTA72ASS8G72PSZ-2S6G1. This is 3DS RDIMM module with x4 DDR chips. LS2088ARDB needs to be modified to connect all DQS signals. Some of them are grounded by default for x8 chips. Tested with RDIMM MTA18ASF2G72PDZ on main memory controllers. DP-DDR doesn't support RDIMM. Dropped related timing table. Signed-off-by: York Sun <york.sun@nxp.com>
| * armv8: ls1046ardb: Add RDIMM supportYork Sun2018-01-302-4/+24
| | | | | | | | | | | | | | This adds 2Rx8 RDIMM on LS1046ARDB board. Tested with RDIMM MTA18ASF2G72PDZ and MTA9ASF1G72PZ. Signed-off-by: York Sun <york.sun@nxp.com>
* | Merge tag 'xilinx-for-v2018.03' of git://git.denx.de/u-boot-microblazeTom Rini2018-01-319-18/+4934
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Xilinx changes for v2018.03 - Several Kconfig fixes (also moving configs to defconfigs) - Some DTS updates - ZynqMP psu rework based on Zynq concept - Add low level initialization for zc770 and zcu102 - Add support for Zynq zc770 x16 nand configuration - Add mini nand/emmc ZynqMP targets - Some arasan nand changes
| * | arm: zynq: Update years in copyright to reflect latest changesMichal Simek2018-01-301-0/+1
| | | | | | | | | | | | | | | | | | Updating year in zynq files. Also add missing Copyright to board.c. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * | arm64: zynqmp: Add psu_init for zcu102-rev1.0Michal Simek2018-01-301-0/+975
| | | | | | | | | | | | | | | | | | Add low level initialization for zcu102-rev1.0. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * | arm64: zynqmp: Prepare psu_init reworkMichal Simek2018-01-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Move generic functions to common location psu_spl_init.c. Function declarations are added to private header. These changes are done in connection to the fact that still files from HDF can be copied over and compilation should pass. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * | arm64: zynqmp: Call psu_init() only when ZYNQMP_PSU_INIT_ENABLEDMichal Simek2018-01-301-1/+1
| | | | | | | | | | | | | | | | | | | | | Remove SPL_BUILD dependency from zynqmp.c and move it to header file. Use only one symbol for including psu_init. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * | arm64: zynqmp: Remove unused empty functionsMichal Simek2018-01-301-12/+0
| | | | | | | | | | | | | | | | | | Remove functions which are no longer renerated by PCW. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * | arm64: zynqmp: Propagate error value from psu_init()Michal Simek2018-01-301-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | psu_init() returns int which wasn't declared and checked. The patch is fixing function declarations and code to handle return values properly. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * | xilinx: zynqmp: Use strlen only if env_get doesn't return nullSiva Durga Prasad Paladugu2018-01-301-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add check if boot_targets exists in environment and then generate new_targets env accordingly. Performing strlen on null address causes it to fail with exception if isolation is enabled with DDR address zero as secure. It works with out isolation enabled as zero is valid address but it may lead to junk values in boot_targets. This patch fixes the issue by checking return value of env_get so that it generate boot_targets properly. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * | arm: zynq: Add support for zc770-xm011-x16 configurationMichal Simek2018-01-301-0/+782
| | | | | | | | | | | | | | | | | | | | | | | | zc770-xm011 is x8 width configuration. This FMC card has also x16 variant which requires different ps7_init configuration. This patch adds it. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * | arm: zynq: Add zc770-xm013 spl configurationMichal Simek2018-01-301-0/+767
| | | | | | | | | | | | | | | | | | Simplify ps7_init* initialization. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * | arm: zynq: Add zc770-xm012 spl configurationMichal Simek2018-01-301-0/+818
| | | | | | | | | | | | | | | | | | Simplify ps7_init* initialization. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * | arm: zynq: Add zc770-xm011 spl configurationMichal Simek2018-01-301-0/+776
| | | | | | | | | | | | | | | | | | Simplify ps7_init* initialization. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * | arm: zynq: Add zc770-xm010 spl configurationMichal Simek2018-01-301-0/+800
| | | | | | | | | | | | | | | | | | Simplify ps7_init* initialization. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* | | x86: kconfig: Remove meaningless 'select n'Ulf Magnusson2018-01-301-1/+0
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | 'select n' selects a constant symbol, which is meaningless and has no effect. Maybe this was meant to be a 'default n', though bool and tristate symbols already implicitly default to n. Discovered in Kconfiglib (https://github.com/ulfalizer/Kconfiglib), which does more strict checking here: kconfiglib.KconfigSyntaxError: board/google/Kconfig:34: Couldn't parse ' select n': expected nonconstant symbol Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
* | flash: Fix spelling of "ERR_TIMOUT"Mario Six2018-01-291-1/+1
| | | | | | | | | | | | | | | | | | checkpatch.pl complains about the spelling of ERR_TIMOUT. Since the error is only used in a handful of files, we rename the error to ERR_TIMEOUT. Signed-off-by: Mario Six <mario.six@gdsys.cc> Signed-off-by: Stefan Roese <sr@denx.de>
* | Merge git://git.denx.de/u-boot-rockchipTom Rini2018-01-281-0/+17
|\ \
| * | rockchip: pinctrl: rv1108: Move the iomux definitions into pinctrl-driverDavid Wu2018-01-281-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we include both the rk3288_grf.h and rv1108_grf.h, it will cause the conflicts of redefinition. Clean the iomux definitions at grf_rv1108.h, and move them into pinctrl-driver. Signed-off-by: David Wu <david.wu@rock-chips.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>