summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* configs: Resync with savedefconfigTom Rini2018-08-0741-129/+55
| | | | | | Rsync all defconfig files using moveconfig.py Signed-off-by: Tom Rini <trini@konsulko.com>
* Merge branch 'master' of git://git.denx.de/u-boot-samsungTom Rini2018-08-0714-62/+51
|\
| * arm: spring: fix alias of mmc correctlyMinkyu Kang2018-08-061-1/+1
| | | | | | | | Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
| * arm: exynos5: fix warning of dtsMinkyu Kang2018-08-063-14/+0
| | | | | | | | | | | | remove this warning: avoid_unnecessary_addr_size Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
| * arm: exynos4: fix warning of dtsMinkyu Kang2018-08-063-10/+0
| | | | | | | | | | | | remove this warning: avoid_unnecessary_addr_size Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
| * ARM: Odroid XU3: Modify exynos dw_mmc driver to support Odroid XU3 in DM MMCLukasz Majewski2018-08-061-0/+1
| | | | | | | | | | | | | | | | This commit enables support for Exynos Designware MMC driver based on DM. Signed-off-by: Lukasz Majewski <lukma@denx.de> Tested-by: Anand Moon <linux.amoon@gmail.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
| * ARM: Odroid XU3: Fix the dwmci_exynos *priv data assignment for DM_MMC ↵Lukasz Majewski2018-08-061-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (sdr_timing) By convention for DM_MMC the host->priv is used to store struct udevice *dev pointer. Unfortunately, the legacy Exynos DW MMC code uses this field to store pointer to dwmci_exynos_priv_data struct Hence, we do need to get data in other way - namely by using container_of when host pointer is present. In this way the sdr_timing data is properly accessed. Signed-off-by: Lukasz Majewski <lukma@denx.de> Tested-by: Anand Moon <linux.amoon@gmail.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
| * ARM: Odroid XU3: MAINTAINERS: Add a co-maintainer for OdroidXU3Lukasz Majewski2018-08-061-0/+1
| | | | | | | | | | | | Signed-off-by: Lukasz Majewski <lukma@denx.de> Tested-by: Anand Moon <linux.amoon@gmail.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
| * ARM: Odroid XU3: Adjust BOOT_TARGET_DEVICES to allow booting from SD card (mmc2)Lukasz Majewski2018-08-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This change is necessary to allow booting the Odroid XU3 from SD card after enabling the DM_MMC support. After this change the SD card mmc IP block is correctly enumerated as mmc2 (and not as mmc1 as in the legacy code). Signed-off-by: Lukasz Majewski <lukma@denx.de> Tested-by: Anand Moon <linux.amoon@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
| * ARM: Odroid XU3: Fix autoboot.cmd to use ${mmcbootdev} instead of hardcoded 0Lukasz Majewski2018-08-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | This commit adjusts the autoboot.cmd file to use ${mmcbootdev} instead of hardcoded value 0. This is necessary to allow booting this board from the SD card. Signed-off-by: Lukasz Majewski <lukma@denx.de> Tested-by: Anand Moon <linux.amoon@gmail.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
| * ARM: Odroid XU3: Enable driver model support for MMC (DM_MMC)Lukasz Majewski2018-08-061-0/+1
| | | | | | | | | | | | | | | | This commit enables support for DW_MMC running with driver model. Signed-off-by: Lukasz Majewski <lukma@denx.de> Tested-by: Anand Moon <linux.amoon@gmail.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
| * ARM: Odroid XU3: config: Disable SDHCI support in the Odroid XU3Lukasz Majewski2018-08-061-2/+0
| | | | | | | | | | | | | | | | | | The Exynos5422 is solely using DW MMC IP block to support eMMC/SD devices, hence the SDHCI code doesn't need to be compiled it. Signed-off-by: Lukasz Majewski <lukma@denx.de> Tested-by: Anand Moon <linux.amoon@gmail.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
| * ARM: dw_mmc: Exclude dwmci Exynos priv_data allocation from ↵Lukasz Majewski2018-08-061-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | exynos_dwmci_get_config() This commit prevents memory leak when this function is used with DM_MMC as the struct dwmci_exynos_priv_data is already allocated by DM. It is necessary for NON DM aware devices to allocate this struct first. Signed-off-by: Lukasz Majewski <lukma@denx.de> Tested-by: Anand Moon <linux.amoon@gmail.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
| * arm: odroid: Inherit default value for bootdelay from distro_bootcmd.Vagrant Cascadian2018-07-271-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The default value with distro_bootcmd is 2 seconds, which is reasonably fast, and provides a consistent experience across platforms supporting distro_bootcmd. The current bootdelay value of 0 seconds is a bit challenging to interrupt when desired. Acked-by: Lukasz Majewski <lukma@denx.de> Signed-off-by: Vagrant Cascadian <vagrant@debian.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
| * arm: odroid: Enable distro_bootcmd support.Vagrant Cascadian2018-07-271-2/+9
| | | | | | | | | | | | | | | | | | Enable distro_bootcmd for a standardized boot process across multiple platforms. Acked-by: Lukasz Majewski <lukma@denx.de> Signed-off-by: Vagrant Cascadian <vagrant@debian.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
| * arm: odroid: Increase default env size in preparation for distro_bootcmd.Vagrant Cascadian2018-07-271-1/+1
| | | | | | | | | | | | | | | | | | | | Adding distro_bootcmd support bumps the default environment size over 4500. Increase to SZ_16K to allow for room to grow in the future. Acked-by: Lukasz Majewski <lukma@denx.de> Signed-off-by: Vagrant Cascadian <vagrant@debian.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
| * arm: odroid: Use standard environment variable names kernel_addr_r, ↵Vagrant Cascadian2018-07-271-13/+11
| | | | | | | | | | | | | | | | | | | | | | | | ramdisk_addr_r and fdt_addr_r. Replace non-standard variable names kerneladdr, initrdaddr and fdtaddr with kernel_addr_r, ramdisk_addr_r and fdt_addr_r, as documented in u-boot README. Acked-by: Lukasz Majewski <lukma@denx.de> Signed-off-by: Vagrant Cascadian <vagrant@debian.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
| * snow: set fdtfileGuillaume GARDET2018-07-271-0/+3
| | | | | | | | | | | | | | | | | | | | Needed to boot with EFI distro boot. Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr> Cc: Akshay Saraswat <akshay.s@samsung.com> Cc: Tom Rini <trini@konsulko.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
* | zynqmp: Add avnet_ultra96_rev1_defconfig to the lits of boardsTom Rini2018-08-071-0/+1
| | | | | | | | Signed-off-by: Tom Rini <trini@konsulko.com>
* | Merge tag 'xilinx-for-v2018.09-rc2' of git://git.denx.de/u-boot-microblazeTom Rini2018-08-0740-408/+703
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Xilinx fixes for v2018.09-rc2 xilinx: - Add support for zybo z7 and ultra96 - Tune zynq and zynqmp mini configurations - Move SYS_MALLOC_LEN to Kconfig fdt - make static funcs gpio: - Fix soft gpio driver - Fix Zynq gpio driver by using platdata microblaze: - Fix Kconfig entry spi - Move ISSI to Kconfig
| * | arm: zynq: dts: add spi flash node to zedboardLuis Araneda2018-08-071-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a flash node to fix the detection of the memory IC. With the changes introduced with commit 8fee8845e754 ("enf_sf: reuse setup_flash_device instead of open coding it") the SPI speed is now read from device-tree or a default value is applied. This replaced the old behavior of setting the SPI speed to CONFIG_ENV_SPI_MAX_HZ. As this board didn't have a flash node, the default value was applied to the SPI speed, producing an error when probing the flash memory (speed too slow). Signed-off-by: Luis Araneda <luaraneda@gmail.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * | gpio: xilinx: Add support for using label propertyMichal Simek2018-08-072-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for reading label property from DT and set up bank name based on that. If label property is not present full device node name is used. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
| * | gpio: xilinx: Return 0 from xilinx_gpio_set_valueMichal Simek2018-08-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | .set_value functions have no specified return value and gpio_uclass is not working with it too. But this patch is returning 0 to be in sync with others DM gpio drivers. Reported-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
| * | gpio: xilinx: Not read output values via regsMichal Simek2018-08-071-4/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | Reading registers for finding out output value is not working because input value is read instead in case of tristate. Reported-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
| * | common: fdt: Make fdt_del_subnodes/fdt_del_partition staticMichal Simek2018-08-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | These functions are only called in this file that's why make them static to keep static analysers happy. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org>
| * | gpio: xilinx: Simplify logic in xilinx_gpio_set_valueMichal Simek2018-08-071-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | There is no reason to do read/write for if/else separately. Reported-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
| * | gpio: xilinx: Set value before changing directionMichal Simek2018-08-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set a value before changing gpio direction. This will ensure that the old value is not propagated when direction has changed but new value is not written yet. Reported-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
| * | gpio: xilinx: Remove !DM driverMichal Simek2018-08-071-336/+2
| | | | | | | | | | | | | | | | | | There is no user for !DM driver that's why remove it. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * | gpio: xilinx: Find out bank before use in xilinx_gpio_get_function()Michal Simek2018-08-071-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Call xilinx_gpio_get_bank_pin() before use. Reported-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
| * | arm64: zynqmp: Add support for Avnet Ultra96Michal Simek2018-08-065-0/+114
| | | | | | | | | | | | | | | | | | | | | Avnet Ultra96 is rebranded Xilinx zcu100 revC/D. Add new defconfig files and point to origin internal board name. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * | arm: zynq: add support for the zybo z7 boardLuis Araneda2018-08-064-1/+448
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The board is manufactured by Digilent Main features: - Soc: XC7Z010 (Z7-10) or XC7Z020 (Z7-20) - RAM: 1 GB DDR3L - FLASH: 16 MB QSPI - 1 Gbps Ethernet - USB 2.0 - microSD slot - Pcam camera connector - HDMI Tx and Rx - Audio codec: stereo out, stereo in, mic - 5 (Z7-10) or 6 (Z7-20) Pmod ports - 6 push-buttons, 4 switches, 5 LEDs - 1 (Z7-10) or 2 (Z7-20) RGB LEDs Signed-off-by: Luis Araneda <luaraneda@gmail.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * | Kconfig: Move config SYS_MALLOC_LEN to Kconfig for zynqSiva Durga Prasad Paladugu2018-08-067-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch moves the the config SYS_MALLOC_LEN to Kconfig. It will be just for Zynq arch and to do will be for all other archs. Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by: Vipul Kumar <vipul.kumar@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * | arm64: zynqmp: Enable soft gpio driver for zcu102 and zcu100Michal Simek2018-08-064-0/+4
| | | | | | | | | | | | | | | | | | Enable soft gpio driver for zcu102 and zcu100. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * | gpio: zynq: Used platdata structure for storing static data instead of privVipul Kumar2018-08-061-33/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch used platdata structure instead of priv for storing static information read from DT. Signed-off-by: Vipul Kumar <vipul.kumar@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * | microblaze: Add missing quotes around XILINX_MICROBLAZE0_HW_VERMichal Simek2018-08-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This issue is reported by kconfiglib: warning: style: quotes recommended around default value for string symbol XILINX_MICROBLAZE0_HW_VER (defined at board/xilinx/microblaze-generic/Kconfig:37) Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * | arm: zynq: Fix indentation for zynq-cse targetsMichal Simek2018-08-062-3/+1
| | | | | | | | | | | | | | | | | | Trivial DT style fixes. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * | arm: zynq: Remove fclk-enable property for cse-nor targetMichal Simek2018-08-061-1/+0
| | | | | | | | | | | | | | | | | | | | | Mini cse NOR configuration is running without PL that's why there is no reason to enable clock to PL. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * | arm: zynqmp: Fix sdhci clock in emmc1 mini configurationMichal Simek2018-08-061-1/+2
| | | | | | | | | | | | | | | | | | | | | Add missing clocks property with fix clock-names property to be aligned with emmc0 configuration and binding doc. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * | arm: zynqmp: Move NR_DRAM_BANKS for mini confirationMichal Simek2018-08-064-3/+1
| | | | | | | | | | | | | | | | | | | | | There is no reason to have the same setting in subsequent config if we can have it only once in shared. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * | spi: Kconfig: Create ISSI Kconfig entryMichal Simek2018-08-0611-3/+12
| | | | | | | | | | | | | | | | | | | | | Add ISSI to Kconfig to make it selectable via menuconfig. Also convert all current platforms. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* | | Merge git://git.denx.de/u-boot-marvellTom Rini2018-08-0750-558/+772
|\ \ \
| * | | arm64: a37xx: add CONFIG_MTD_DEVICE and CONFIG_MTD_PARTITIONSVladimir Vid2018-08-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CONFIG_MTD_DEVICE is required for the mtdparts command and but it is missing from the mvebu_armada-37xx.h CONFIG_MTD_PARTITIONS is needed for the ubi support. Some of the Marvell based devices may require this as well. Signed-off-by: Vladimir Vid <vladimir.vid@sartura.hr> Signed-off-by: Luka Perkov <luka.perkov@sartura.hr> Signed-off-by: Stefan Roese <sr@denx.de>
| * | | tools: kwboot: properly quit when read() returns 0Willy Tarreau2018-08-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When kwboot is attached to a terminal which disappears such as one connected via an unplugged USB cable, read() returns 0, making kwboot loop until a key is pressed in the terminal. The only case where read() may return 0 here is when the terminal is closed anyway, so let's properly handle this one and report is similar to other errors. Signed-off-by: Willy Tarreau <w@1wt.eu> Signed-off-by: Stefan Roese <sr@denx.de>
| * | | tools: kwboot: unbreak terminal-only modeWilly Tarreau2018-08-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 84899e2 ("tools/kwboot: Sync with latest barebox version to support Armada XP") accidently broke the terminal-only mode (-t) by removing the test on the bootmsg. Thus even when trying to use kwboot as a plain terminal, it asks to reboot the target. This commit simply reintroduces the lost test so that it is possible again to use kwboot to attach to the target system's console. Signed-off-by: Willy Tarreau <w@1wt.eu> Signed-off-by: Stefan Roese <sr@denx.de>
| * | | ARM: kirkwood: add SBx81LIFXCAT boardChris Packham2018-08-079-0/+516
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a series of line cards for Allied Telesis's SBx8100 chassis switch. The CPU block is common to the SBx81GP24 and SBx81GT24 cards cards collectively referred to as SBx81LIFXCAT in u-boot. Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Stefan Roese <sr@denx.de>
| * | | arm: mvebu: clearfog: add u-boot, dm-spl tag for spiJon Nettleton2018-08-071-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is required so SPL and u-boot can boot from spi flash devices that use the dm drivers. Signed-off-by: Jon Nettleton <jon@solid-run.com> [baruch: use -u-boot.dtsi] Signed-off-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
| * | | arm: mvebu: helios4: remove duplicate sdhci pins nodeBaruch Siach2018-08-071-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The same pinctrl node appears in the solidrun-microsom dtsi. Use that instead. Cc: Dennis Gilmore <dennis@ausil.us> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Dennis Gilmore <dennis@ausil.us> Tested-by: Dennis Gilmore <dennis@ausil.us> Signed-off-by: Stefan Roese <sr@denx.de>
| * | | arm: mvebu: Better align Clearfog dts file with Linux kernelJon Nettleton2018-08-071-235/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes changes so the u-boot dts file is structured more similar to the mainline linux dtsi file. It provides a minimal common dts that can work for most boards based on the ClearFog platform. Ethernet support is only supported for eth0 however all devices are left enabled so u-boot can generate and provide mac addresses for all of the network interfaces. Signed-off-by: Jon Nettleton <jon@solid-run.com> [baruch: rebase on recent changes] Signed-off-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Dennis Gilmore <dennis@ausil.us> Tested-by: Dennis Gilmore <dennis@ausil.us> Signed-off-by: Stefan Roese <sr@denx.de>
| * | | arm: mvebu: clearfog: use the microsom .dtsiBaruch Siach2018-08-071-57/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use hardware description from the recently introduced microsom .dtsi file to reduce duplication. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Dennis Gilmore <dennis@ausil.us> Tested-by: Dennis Gilmore <dennis@ausil.us> Signed-off-by: Stefan Roese <sr@denx.de>
| * | | arm: mvebu: solidrun-microsom: update SPI flash compatibleBaruch Siach2018-08-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the "spi-flash" compatible string so that the generic sf_probe driver can probe the SPI flash on the SolidRun SOM. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Stefan Roese <sr@denx.de>