summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* rockchip: rk3328: add SPL supportKever Yang2019-06-261-0/+4
| | | | | | | | | Add SPL support for rk3328, default with of-platdata enabled. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> [cherry picked from https://github.com/rockchip-linux/u-boot/commit/cb2b7a1bc75ebb116b1eb9b0ae0223e84d86fc4b with minor modifications] Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
* rockchip: rk3328: add SPL board file supportKever Yang2019-06-262-0/+60
| | | | | | | | | | | rk3328 SPL is locate at dram, so do not have strict size limit, suppose to enable storage media controller driver, load ATF and U-Boot, then boot into ATF. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> [cherry picked from https://github.com/rockchip-linux/u-boot/commit/4ebe3968b683190cb8e5741aa7227b4fa7497874 with minor modifications] Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
* Merge https://gitlab.denx.de/u-boot/custodians/u-boot-x86Tom Rini2019-06-227-43/+66
|\ | | | | | | | | - boot failure fix for Intel edison - tangier wdt conversion to driver model
| * watchdog: tangier: Convert to use WDT classAndy Shevchenko2019-06-226-39/+60
| | | | | | | | | | | | | | Convert legacy driver to use watchdog class. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Stefan Roese <sr@denx.de>
| * watchdog: tangier: Replace unused constant with a commentAndy Shevchenko2019-06-221-1/+6
| | | | | | | | | | | | | | | | | | | | | | The default timeout value had been left in order to leave some traces about default setup of watchdog done by firmware. For better understanding and compiler burden, replace it with a comment. Suggested-by: Stefan Roese <sr@denx.de> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
| * x86: Revert "Don't set up MTRRs in SPL"Andy Shevchenko2019-06-221-4/+1
| | | | | | | | | | | | | | | | | | | | This breaks Intel Edison to work. It gets laggish and unable to boot kernel. Reverts commit 665cb18ea64aabbeb03d27a4c92ddec1baccb87a for now till better solution will be proposed. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Bin Meng <bmeng.cn@gmail.com>
* | Merge tag 'efi-2019-07-rc5-3' of ↵Tom Rini2019-06-2111-104/+139
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://gitlab.denx.de/u-boot/custodians/u-boot-efi Pull request for UEFI sub-system for v2019.07-rc5 (3) This pull request provides error fixes for the graphical output protocol, the text output protocol, and the extended text input protocol. Setting the boot device for the bootefi command is now not only supported by the 'load' command but also for the file system specific commands like 'fatload'.
| * | efi_loader: fix typo in efi_variable.cHeinrich Schuchardt2019-06-201-2/+2
| | | | | | | | | | | | | | | | | | %s/efi_efi_/efi_/ Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * | efi_loader: consistent error handling in efidebug.cHeinrich Schuchardt2019-06-201-7/+16
| | | | | | | | | | | | | | | | | | If a variable cannot be set, always show an information message. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * | efi_loader: consistent types in efidebug.cHeinrich Schuchardt2019-06-201-11/+14
| | | | | | | | | | | | | | | | | | | | | efi_status_t and int are of different size. Use separate variables for return codes of different type. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * | fs: do_load: pass device path for efi payloadMian Yousaf Kaukab2019-06-202-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fatload command can be used to load the EFI payload since EFI system partition is always a FAT partition. Call into EFI code from do_load() to set the device path from which the last binary was loaded. An EFI application like grub2 can’t find its configuration file without the device path set. Since device path is now set in do_load() there is no need to set it in do_load_wrapper() for the load command. Signed-off-by: Mian Yousaf Kaukab <ykaukab@suse.de> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * | efi_loader: Delete() return EFI_WARN_DELETE_FAILUREHeinrich Schuchardt2019-06-201-8/+2
| | | | | | | | | | | | | | | | | | | | | If EFI_FILE_PROTOCOL.Delete() fails, always close the handle and return EFI_WARN_DELETE_FAILURE. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * | efi_loader: ListPackageLists() return EFI_NOT_FOUNDHeinrich Schuchardt2019-06-201-35/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If no matching package list is found in ListPackageLists(), return EFI_NOT_FOUND. If we do not support a package type, we will not find a matching package list. Remove the unreachable EFI_PRINTF() statements. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * | efi_loader: console incorrectly advertised left logo keyHeinrich Schuchardt2019-06-201-3/+1
| | | | | | | | | | | | | | | | | | Avoid to signal that the left logo key is pressed, when it is not. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * | efi_loader: alternative scan codes for F5, END, HOMEHeinrich Schuchardt2019-06-201-8/+14
| | | | | | | | | | | | | | | | | | | | | Depending on the key board alternative scan codes are used for F5, END, and HOME. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * | efi_loader: GOP: provide accurate mode informationHeinrich Schuchardt2019-06-201-12/+12
| | | | | | | | | | | | | | | | | | For 5:6:5 modes provide correct frame buffer information. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * | efi_loader: SetMode() must blank screenHeinrich Schuchardt2019-06-201-12/+38
| | | | | | | | | | | | | | | | | | EFI_GRAPHICS_OUTPUT_PROTOCOL.SetMode() must blank the screen. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * | efi_loader: system table setupHeinrich Schuchardt2019-06-201-5/+5
| | | | | | | | | | | | | | | | | | When setting up the system table avoid superfluous void * conversions. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * | efi_loader: EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL definitionHeinrich Schuchardt2019-06-201-1/+3
| | | | | | | | | | | | | | | | | | | | | EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.Reset() is a function and not a void * pointer. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * | efi_loader: QueryMode() must allocate bufferHeinrich Schuchardt2019-06-202-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | EFI_GRAPHICS_OUTPUT_PROTOCOL.QueryMode() must allocate a buffer for the mode information structure. Adjust the unit test to free the buffer. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * | efi_loader: SetMode() parameters checkHeinrich Schuchardt2019-06-201-3/+5
| | | | | | | | | | | | | | | | | | | | | If EFI_GRAPHICS_OUTPUT_PROTOCOL.SetMode() is called with an invalid mode, return EFI_UNSUPPORTED. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * | efi_loader: QueryMode() check parametersHeinrich Schuchardt2019-06-201-1/+8
| | | | | | | | | | | | | | | | | | Check the parameters of EFI_GRAPHICS_OUTPUT_PROTOCOL.QueryMode(). Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * | efi_loader: Blt() with incorrect BltOperationHeinrich Schuchardt2019-06-201-1/+1
| | | | | | | | | | | | | | | | | | | | | If EFI_GRAPHICS_OUTPUT_PROTOCOL.Blt() is called with an invalid value of BltOperation return EFI_INVALID_PARAMETER. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
* | | Merge branch '2019-06-21-master-imports'Tom Rini2019-06-2177-274/+451
|\ \ \ | |_|/ |/| | | | | | | | | | | - Assorted small fixes - Bugfix RSA handling code to reject images with unknown padding. - Some boards disabled unused features to turn off DM warnings.
| * | configs: Resync with savedefconfigTom Rini2019-06-2162-119/+38
| | | | | | | | | | | | | | | | | | Rsync all defconfig files using moveconfig.py Signed-off-by: Tom Rini <trini@konsulko.com>
| * | arm: am335x-pdu001: Remove watchdog supportFelix Brack2019-06-211-1/+1
| | | | | | | | | | | | | | | | | | This board does not require watchdog support. Signed-off-by: Felix Brack <fb@ltec.ch>
| * | lib: Makefile: build fdtdec_common.c when OF_LIBFDT selectedPeng Fan2019-06-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When build SPL_OF_PLATDATA on i.MX6, meet issue the fdtdec_get_int not defined, however fdtdec.c will use fdtdec_get_int, so let's compile fdtdec_common.c when OF_LIBFDT selected. Since there is also SPL_OF_LIBFDT, so need to use CONFIG_$(SPL_TPL_)OF_LIBFDT. Signed-off-by: Peng Fan <peng.fan@nxp.com>
| * | pci: Avoid assigning PCI resources that are below 0x1000Bin Meng2019-06-211-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit b7598a43f2b4 ("[PATCH] Avoid assigning PCI resources from zero address") only moved the bus lower address to 0x1000 if the given bus start address is zero. The comment said 0x1000 is a reasonable starting value, hence we'd better apply the same adjustment when the given bus start address is below 0x1000. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de>
| * | config_distro_bootcmd: Init IDE devicesJoshua Watt2019-06-211-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | IDE devices are no longer automatically probed by u-boot, so it should be done by the distro boot command before attempting to boot from IDE (just like scsi and nvme) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
| * | arm64: zynqmp: Cover ultra96 dts file by MAINTAINERS fragmentMichal Simek2019-06-211-0/+1
| | | | | | | | | | | | | | | | | | Avnet Ultra96 dts file should be also cover by MAINTAINERS fragment. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * | travis.yml: Add buildman support for NXP's LS1028 & LX2160Prabhakar Kushwaha2019-06-211-0/+6
| | | | | | | | | | | | | | | | | | | | | NXP's LS1028 and LX2160 platform build support added via buildman in travis.yml. Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
| * | disk: part: Don't skip partition initRobert Hancock2019-06-211-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | blk_get_device_by_str was skipping part_init when hw partition 0 was selected because it is the default. However, this caused issues when switching to a non-zero partition and then back to partition zero, as stale data from the wrong partition was returned. Remove this optimization and call part_init regardless of the selected partition. Signed-off-by: Robert Hancock <hancock@sedsystems.ca>
| * | am335x, guardian: update the maintainer listMoses Christopher2019-06-211-0/+2
| | | | | | | | | | | | Signed-off-by: Moses Christopher <BollavarapuMoses.Christopher@in.bosch.com>
| * | vexpress64: fix a typo of SPDX-License-IdentifierMasahiro Yamada2019-06-211-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Misspelling of SPDX-License-Identifier is rather fatal than other general typos, so must be fixed. This file spells SPDX-Licence-Identifier. ^ I also moved it to the very top of the file with // comment style. Detected by grepping the source tree: $ git grep --not -e SPDX-License-Identifier --and -e SPDX- board/armltd/vexpress64/pcie.c: * SPDX-Licence-Identifier: GPL-2.0+ Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Liviu Dudau <liviu.dudau@foss.arm.com>
| * | board: Arcturus: DM: Disable drivers without DM support.Oleksandr Zhadan2019-06-215-143/+379
| | | | | | | | | | | | | | | | | | | | | | | | Extra "not DM" controllers support is disabled. u-boot BSP still good enough to upgrade and run images. Signed-off-by: Oleksandr Zhadan <oleks@arcturusnetworks.com> Signed-off-by: Michael Durrant <mdurrant@arcturusnetworks.com>
| * | cmd/led.c: fix typos in online helpAnatolij Gustschin2019-06-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Remove square brackets around label in state command description. Fixes: ea41b15617fa ("cmd/led: check subcommand "list" instead "l"") Signed-off-by: Anatolij Gustschin <agust@denx.de> Reviewed-by: Heiko Schocher <hs@denx.de>
| * | rsa: reject images with unknown paddingPatrick Doyle2019-06-211-1/+1
|/ / | | | | | | | | | | | | | | Previously we would store NULL in info->padding and jump to an illegal instruction if an unknown value for "padding" was specified in the device tree. Signed-off-by: Patrick Doyle <pdoyle@irobot.com>
* | Merge branch '2019-06-20-master-imports'Tom Rini2019-06-2036-75/+96
|\ \ | | | | | | | | | - Assorted minor fixes
| * | Fix watchdog timeout setup for mt7623Shannon Barber2019-06-201-7/+21
| | | | | | | | | | | | Signed-off-by: Shannon Barber <sbarber@dataspeedinc.com>
| * | fw_env: Add missing write failure checkAlex Kiernan2019-06-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | If flash_write fails, whilst we propagate this up to our caller, we need to avoid swapping in the new file (if we're on a filesystem) in this case. Fixes: dbc34323796b ("tools: env: Implement atomic replace for filesystem") Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
| * | doc: Remove duplicated documentation directoryBreno Matheus Lima2019-06-2032-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit ad7061ed742e ("doc: Move device tree bindings documentation to doc/device-tree-bindings") moved all device tree binding documentation to doc/device-tree-bindings directory. The current U-Boot project still have two documentation directories: - doc/ - Documentation/ Move all documentation and sphinx files to doc directory so all content can be in a common place. Signed-off-by: Breno Lima <breno.lima@nxp.com>
| * | aspeed/watchdog: Correct timeout valueJoel Stanley2019-06-201-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The driver was using milliseconds and programming it into a register which takes ticks of the watchdog clock, which runs at 1MHz. This meant we were off by 1000 with the desired value. When 06985289d452 ("watchdog: Implement generic watchdog_reset() version") was added the aspeed board would leave the watchdog running, causing it to bite before u-boot was done. Discovered by booting in qemu: $ qemu-system-arm -M ast2500-evb -drive file=test.img,format=raw,if=mtd -nographic -no-reboot -d cpu_reset U-Boot 2019.07-rc3-00091-g2253e40caef5 (Jun 06 2019 - 16:53:23 +0930) Model: Aspeed BMC DRAM: 496 MiB WDT: Started with servicing (60s timeout) MMC: In: serial@1e784000 Out: serial@1e784000 Err: serial@1e784000 Watchdog timer expired. Fixes: 06985289d452 ("watchdog: Implement generic watchdog_reset() version") Signed-off-by: Joel Stanley <joel@jms.id.au>
| * | armv8: fix typo in LINUX_KERNEL_IMAGE_HEADER checkMian Yousaf Kaukab2019-06-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: 8163faf952 ARMv8: add optional Linux kernel image header Signed-off-by: Mian Yousaf Kaukab <ykaukab@suse.de> Reviewed-by: Stephen Warren <swarren@nvidia.com> Tested-by: Andreas Färber <afaerber@suse.de>
| * | MAINTAINERS: Update git repo linksBin Meng2019-06-201-53/+53
| | | | | | | | | | | | | | | | | | | | | Update all git repo links with the new gitlab ones. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Wolfgang Denk <wd@denx.de>
| * | sh: Add myself as SH maintainerMarek Vasut2019-06-201-0/+1
|/ / | | | | | | | | | | | | | | Add myself as an SH maintainer. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Cc: Tom Rini <trini@konsulko.com>
* | Merge https://gitlab.denx.de/u-boot/custodians/u-boot-mpc85xxTom Rini2019-06-2036-43/+842
|\ \ | | | | | | | | | | | | - PCIe driver change to support DM model - T2080QDS migrated to use PCIe DM model
| * | configs: T2080QDS: Enable PCIe driverHou Zhiqiang2019-06-206-0/+18
| | | | | | | | | | | | | | | | | | | | | Enable the DM PCIe driver in T2080QDS defconfig. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
| * | powerpc: T208xQDS: Disable legacy PCIe driver when DM_PCI is enabledHou Zhiqiang2019-06-201-17/+19
| | | | | | | | | | | | | | | | | | | | | | | | Disable legacy PCIe driver and unused PCIe macros when DM_PCI enabled. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
| * | dm: pci: add Freescale PowerPC PCIe driverHou Zhiqiang2019-06-205-0/+725
| | | | | | | | | | | | | | | | | | | | | Add PCIe DM driver for Freescale PowerPC PCIe controllers. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
| * | t2080: dts: Added PCIe DT nodesHou Zhiqiang2019-06-201-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | T2080 integrated 4 PCIe controllers, which is compatible with the PCI Express™ Base Specification, Revision 3.0, and this patch is to add DT node for each PCIe controller. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>