- 11 Aug, 2019 7 commits
-
-
Manivannan Sadhasivam authored
This commit adds devicetree for Hikey960 board. Most of the contents are copied from Linux kernel with some modifications for u-boot. To be more precise, SD card's speed related properties are removed due to a bug in u-boot clock implementation. Hence forcing the SD controller to work in standard speed. Signed-off-by:
Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
-
Manivannan Sadhasivam authored
This commit imports HI3660 SoC devicetree from Linux Signed-off-by:
Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
-
Simon Goldschmidt authored
This implements a stack usage check in SPL. Many boards start up SPL to run code + data from one common, rather small SRAM. To implement a sophisticated SPL binary size limit on such boards, the stack size (as well as malloc size and global data size) must be subtracted from this SRAM size. However, to do that properly, the stack size first needs to be known. This patch adds a new Kconfig option: - SPL_SYS_REPORT_STACK_F_USAGE: memset(0xaa) the whole area of the stack very early and check stack usage based on this constant later before the stack is switched to DRAM Initializing the stack and checking it is implemented in weak functions, in case a board does not use the stack as saved in gd->start_addr_sp. Signed-off-by:
Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
-
Ye Li authored
Should use CONFIG_IS_ENABLED not IS_ENABLED for CLK driver, so it will check the CONFIG_SPL_CLK when building SPL Signed-off-by:
Ye Li <ye.li@nxp.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Ley Foon Tan authored
This fix issue when access config from PCIe switch. The PCIe controller need to send Type 0 config TLP if the targeting bus matches with the secondary bus number, which is when the TLP is targeting the immediate device on the link. The PCIe controller send Type 1 config TLP if the targeting bus is larger than the secondary bus, which is when the TLP is targeting the device not immediate on the link. Signed-off-by:
Ley Foon Tan <ley.foon.tan@intel.com>
-
Ley Foon Tan authored
Hardware return completion status non-zero when read from non exist function in multi-function PCIe device. Return error will cause PCIe enumeration fail. Change it to return 0 and return value 0xffffffff when error. Signed-off-by:
Ley Foon Tan <ley.foon.tan@intel.com>
-
Ley Foon Tan authored
Some PCIe devices require longer time to response. Increase polling counter to 20000 (~100ms). Signed-off-by:
Ley Foon Tan <ley.foon.tan@intel.com>
-
- 10 Aug, 2019 3 commits
-
-
-
git://git.denx.de/u-boot-usbTom Rini authored
- DaVinci USB updates - Various OHCI fixes - Gadget fixes
-
https://gitlab.denx.de/u-boot/custodians/u-boot-x86Tom Rini authored
- Enable SD slot on Intel Edison - Populate CSRT ACPI table for shared DMA controller on Intel Tangier - Convert Intel ICH-SPI driver to use new spi-mem ops - Enable config_distro_bootcmd for QEMU x86 - Support U-Boot as a payload for Intel Slim Bootloader - Avoid writing temporary asl files into the source tree which fixes the parallel build issue occasionally seen
-
- 09 Aug, 2019 30 commits
-
-
Marek Vasut authored
Add board code for the R8A77980 V3H Condor board. Signed-off-by:
Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
Marek Vasut authored
Add a few bits of platform code to support R8A77980 V3H SoC. Signed-off-by:
Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
Marek Vasut authored
Import R8A77980 V3H DTs and headers from Linux 5.2.7 , commit 5697a9d3d55f. Signed-off-by:
Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
Marek Vasut authored
Import R8A77980 V3H clock tables from Linux 5.2.7 , commit 5697a9d3d55f. Signed-off-by:
Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
Marek Vasut authored
Import R8A77980 V3H PFC tables from Linux 5.2.7 , commit 5697a9d3d55f. Signed-off-by:
Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
Marek Vasut authored
Fix various type warnings when building this driver for 64bit machine. Signed-off-by:
Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
Marek Vasut authored
The R8A77980 V3H gether needs a few minor adjustments to the sh_eth driver, add them to support ethernet on R8A77980. Signed-off-by:
Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
git://git.denx.de/u-boot-tegraTom Rini authored
-
Igor Opaniuk authored
Remove obsolete legacy usbboot wrapper, as distroboot can handle booting from USB drivers. Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com> Reviewed-by:
Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Marcel Ziswiler authored
Support the V1.2 hardware revision with the following pin muxing changes: Ddc_scl_pv4 and ddc_sda_pv5 previously used as Apalis GPIO3 and GPIO4 are now used as DDC pins. Gen2_i2c_scl_pt5 and gen2_i2c_sda_pt6 previously used as DDC pins are now used as USB power enable signals. Usb_vbus_en0_pn4 and usb_vbus_en1_pn5 previously used as USB power enable signals are now used as GPIO3 and GPIO4. Additionally a new device tree file tegra124-apalis-v1.2-eval.dtb is loaded on V1.2 and later modules and resp. USB power enable signals activated. Signed-off-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Dominik Sliwa authored
When mainline kernels reboot TK1 they use SW_RESET, that reset mode does not reset PMIC. Some rails need to be off for RAM Re-repair to work correctly. Reviewed-by:
Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Signed-off-by:
Dominik Sliwa <dominik.sliwa@toradex.com> Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Marcel Ziswiler authored
Remove video=tegrafb0:640x480-16@60 aka VESA VGA mode from vidargs in order for the panel specification in the device tree to be used. This causes the default to be the 10.1" LVDS display which will be available in the Toradex webshop shortly. Reviewed-by:
Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Signed-off-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Dominik Sliwa authored
Display proper reset reason after the SoC info. Signed-off-by:
Dominik Sliwa <dominik.sliwa@toradex.com> Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com> Reviewed-by:
Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Igor Opaniuk authored
Switch to the generic compressed Kernel image type (zImage) instead of the U-Boot specific uImage format. Reviewed-by:
Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Signed-off-by:
Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Igor Opaniuk authored
Disabling ASPM fixes incompatibilities with some PCIe cards Reviewed-by:
Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Signed-off-by:
Dominik Sliwa <dominik.sliwa@toradex.com> Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Igor Opaniuk authored
Let the kernel print some debug messages when a user program crashes due to an exception. Signed-off-by:
Stefan Agner <stefan.agner@toradex.com> Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com> Reviewed-by:
Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Igor Opaniuk authored
Use unified values for USB Product/Vendor numbers when the config block is missing Reviewed-by:
Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Signed-off-by:
Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Igor Opaniuk authored
Make sure the Apalis GPIO 8 aka FAN_EN is on when using Apalis TK1 modules. Reviewed-by:
Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com> Signed-off-by:
Dominik Sliwa <dominik.sliwa@toradex.com> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Marcel Ziswiler authored
By keeping RESET_MOCI_CTRL low we avoid explicitly releasing RESET_MOCI#. Please note that module hardware versions up to V1.1A will already release RESET_MOCI# in hardware coming out of reset. Please further note that with this change the USB hub on the Apalis Evaluation board is kept in reset in U-Boot and therefore none of its ports are operational in U-Boot. Reviewed-by:
Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Signed-off-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Igor Opaniuk authored
We never really added a sensible DFU configuration for platforms based on eMMC. Most of the things one might want to do can also be done with UMS or fastboot, so drop the DFU configuration. Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com> Reviewed-by:
Philippe Schenker <philippe.schenker@toradex.com> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Trent Piepho authored
This is a configuration option specific to the tegra controller. Doing it this way makes it show up directly under the tegra controller option, indented one level, as "Disable external clock loopback". The way it is now, it shows up at the end of the controller list, not indented, as if it's some kind of generic MMC configuration option. Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com> Cc: Simon Glass <sjg@chromium.org> Cc: Jaehoon Chung <jh80.chung@samsung.com> Cc: Tom Warren <twarren@nvidia.com> Signed-off-by:
Trent Piepho <tpiepho@impinj.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Acked-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Simon Glass authored
For U-Boot we allow a GPIO to be specified to enable the codec. Add this to the relevant binding files. Signed-off-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Simon Glass authored
This file was missed when adding the sound driver to U-Boot. Bring it in from Linux 5.0. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Jon Hunter <jonathanh@nvidia.com> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Simon Glass authored
This file was missed when adding the sound driver to U-Boot. Bring it in from Linux 5.0. Signed-off-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Park, Aiden authored
The setting up MTRRs have already been done in previous Slim Bootloader stages. Signed-off-by:
Aiden Park <aiden.park@intel.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Andy Shevchenko <andy.shevchenko@gmail.com> Tested-by:
Bin Meng <bmeng.cn@gmail.com>
-
Park, Aiden authored
Add slimbootloader board to run U-boot as a Slim Bootloader payload - Add new board/intel/slimbootloader directory with minimum codes - Add slimbootloader configuration files - Add doc/board/intel/slimbootloader.rst Signed-off-by:
Aiden Park <aiden.park@intel.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Andy Shevchenko <andy.shevchenko@gmail.com> Tested-by:
Bin Meng <bmeng.cn@gmail.com> [bmeng: add slimbootloader board MAINTAINERS file] Signed-off-by:
Bin Meng <bmeng.cn@gmail.com>
-
Park, Aiden authored
Add a new device tree which has very minimum nodes - x86 reset - x86 tsc_timer - x86 pci - Slim Bootloader serial Signed-off-by:
Aiden Park <aiden.park@intel.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Andy Shevchenko <andy.shevchenko@gmail.com> Tested-by:
Bin Meng <bmeng.cn@gmail.com>
-
Park, Aiden authored
Slim Bootloader already calibrated TSC and provides it to U-Boot. Therefore, U-Boot does not have to re-calibrate TSC. Configuring tsc_base and clock_rate makes x86 tsc_timer driver bypass TSC calibration and use the provided TSC frequency. - Get TSC frequency from performance info hob - Set tsc_base and clock_rate for tsc_timer driver Signed-off-by:
Aiden Park <aiden.park@intel.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Tested-by:
Bin Meng <bmeng.cn@gmail.com>
-
Park, Aiden authored
Slim Bootloader provides serial port info thru its HOB list pointer. All these HOBs are eligible for Slim Bootloader based board only. - Get serial port information from the serial port info HOB - Leverage ns16550 driver with slimbootloader specific platform data Signed-off-by:
Aiden Park <aiden.park@intel.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Andy Shevchenko <andy.shevchenko@gmail.com> Tested-by:
Bin Meng <bmeng.cn@gmail.com>
-
Park, Aiden authored
Slim Bootloader provides memory map info thru its HOB list pointer. Configure memory size and relocation memory from the HOB data, and provide e820 entries as well. - Get memory size from the memory map info HOB - Set available top memory lower than 4GB for U-Boot relocation - Provide e820 entries from the memory map info HOB Signed-off-by:
Aiden Park <aiden.park@intel.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Andy Shevchenko <andy.shevchenko@gmail.com> Tested-by:
Bin Meng <bmeng.cn@gmail.com>
-