summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | image: Correct comment for fit_conf_get_node()Simon Glass2020-04-011-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This should mention that conf_uname can be NULL and should be in the header file. Fix this. Signed-off-by: Simon Glass <sjg@chromium.org>
* | | | Merge tag 'efi-2020-04-rc5' of ↵Tom Rini2020-03-311-1/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://gitlab.denx.de/u-boot/custodians/u-boot-efi Pull request for UEFI sub-system for efi-2020-04-rc5 This series fixes: * UEFI Python tests CONFIG_OF_CONTROL=y. * int to pointer cast warning for cmd/efidebug.c * memory reservation even if fdt node is disabled Now that the Python test is fixed reintroduce the reverted patch for vexpress_ca9x4 to enable EFI_LOADER and define the dtb file name.
| * | | | vexpress_ca9x4: Enable use of correct DTB file and restore EFI loader.Kristian Amlie2020-03-281-1/+2
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | EFI was disabled in f95b8a4b5f64f because of the missing DTB file, and indeed, the DTB file is required to load recent versions of GRUB (2.04) correctly. Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
* | | | configs: socfpga: Change to use SOCFPGA_PHYS_OCRAM_SIZE macroLey Foon Tan2020-03-311-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | Change to use SOCFPGA_PHYS_OCRAM_SIZE macro for onchip RAM size. Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
* | | | configs: lx2160a: Access flash memory as per spi-memKuldeep Singh2020-03-301-8/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MC_INIT and BOOT command currently access spi-nor flash memory directly. As per spi-mem framework, flash memory access via absolute addresses is no more possible. Use flash APIs to access memory instead of directly using it. Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
* | | | configs: ls1012afrwy: adjust env kernel_addr_rBiwen Li2020-03-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adjust environment kernel_addr_r from 0x96000000 to 0x92000000 to fix a bug that failed to boot kernel for ls1012afrwy with 512MiB RAM, => tftpboot $kernel_addr_r Image (Image size is 36 MiB) TFTP error: trying to overwrite reserved memory... Signed-off-by: Biwen Li <biwen.li@nxp.com> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
* | | | configs: ls1021a: Append othbootargs to bootargsAlison Wang2020-03-301-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch appends othbootargs to bootargs for LS1021ATWR board. Signed-off-by: Alison Wang <alison.wang@nxp.com> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
* | | | dm: arm64: ls1046a: add i2c DM supportBiwen Li2020-03-301-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This supports i2c DM and enables CONFIG_DM_I2C for SoC LS1046A Signed-off-by: Biwen Li <biwen.li@nxp.com> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
* | | | dm: arm64: ls1043a: add i2c DM supportBiwen Li2020-03-301-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This supports i2c DM and enables CONFIG_DM_I2C for SoC LS1043A Signed-off-by: Biwen Li <biwen.li@nxp.com> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
* | | | configs: ls1012afrwy: fix wrong env of boardBiwen Li2020-03-301-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix wrong environment variable of board for ls1012afrwy Signed-off-by: Biwen Li <biwen.li@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
* | | | armv8: ls1028a: clean up the environment variablesYuantian Tang2020-03-302-86/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the environment variables from command head file to ls1028ardb specific head file so that they will not mess up with ls1028aqds board. Also updated some variable slightly. There is no function change by this patch. Signed-off-by: Yuantian Tang <andy.tang@nxp.com> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
* | | | armv8: ls1028aqds: add some environmentsYuantian Tang2020-03-301-11/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add sd and emmc bootcmd environments to facilitate the boot process. Signed-off-by: Yuantian Tang <andy.tang@nxp.com> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
* | | | configs: ls2080aqds: support distro bootBiwen Li2020-03-301-2/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support of distro boot for ls2080aqds Signed-off-by: Biwen Li <biwen.li@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
* | | | configs: ls1088aqds: support distro bootBiwen Li2020-03-301-13/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support of distro boot for ls1088aqds Signed-off-by: Biwen Li <biwen.li@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
* | | | include/configs: ls1012afrwy: fix load address of itb with bootm commandBiwen Li2020-03-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old load address of itb will overwrite uboots reserved memory on ls1012afrwy with 512 MiB ram Signed-off-by: Biwen Li <biwen.li@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
* | | | lx2160a: Add dhcp in boot_targetsMeenakshi Aggarwal2020-03-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add dhcp in supported boot_targets for lx2160. Signed-off-by: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
* | | | armv8: ls1028a: add dhcp boot target deviceYuantian Tang2020-03-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add DHCP boot target device to enable command bootcmd_dhcp. Signed-off-by: Yuantian Tang <andy.tang@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
* | | | lx2160a : Remove default VID settingMeenakshi Aggarwal2020-03-302-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set VID to 800 mV for Rev1 and set VID as per switch settings for Rev2. Signed-off-by: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
* | | | armv8: ls1028a: Update secure boot headers offsetPriyanka Singh2020-03-302-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the secure boot headers offsets of Kernel and other firmware images for SD and XSPI boot sources used by esbc_validate command. Signed-off-by: Priyanka Singh <priyanka.singh@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
* | | | lx2160a : Add emmc in boot_targets environment variableMeenakshi Aggarwal2020-03-303-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add emmc in supported boot_targets and Add bootcmd environment variable for emmc boot. Signed-off-by: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
* | | | arm64: ls1046a: remove fdt_high environment variableYuantian Tang2020-03-301-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting fdt_high and initrd_high to 0xffffffffffffffff leads to various difficulty to resolve bugs. Remove them and use bootm_size instead to safely contain a kernel, device tree and initrd for relocation. Signed-off-by: Yuantian Tang <andy.tang@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
* | | | arm64: ls1028a: remove fdt_high environment variableYuantian Tang2020-03-302-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting fdt_high and initrd_high to 0xffffffffffffffff leads to various difficulty to resolve bugs. Remove them and use bootm_size instead to safely contain a kernel, device tree and initrd for relocation. Signed-off-by: Yuantian Tang <andy.tang@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
* | | | ls1021a: Set CONFIG_SYS_BOOTMAPSZ to the memory for relocationAlison Wang2020-03-304-7/+7
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch sets CONFIG_SYS_BOOTMAPSZ to the amount of memory available to safely contain a kernel, device tree and initrd for relocation. The way to set fdt_high as 0xffffffff to disable device tree relocation is removed. Signed-off-by: Alison Wang <alison.wang@nxp.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
* | | Revert "vexpress_ca9x4: Enable use of correct DTB file and restore EFI loader."Tom Rini2020-03-271-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Currently this causes failures of the platform when running the EFI loader tests, so disable it for now. This reverts commit af827140e5965e5bb2bcad1c53ca8419b428ff6d. Signed-off-by: Tom Rini <trini@konsulko.com>
* | | Merge tag 'u-boot-rockchip-20200327' of ↵Tom Rini2020-03-265-5/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip - Fixed for rv1108 and elgin-rv1108 board - Fix the keyboard from USB instead of CrOS EC
| * | | rockchip: Change keyboard input from CrOS EC keyboard to a USB keyboardPeter Robinson2020-03-265-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These boards aren't ChromeOS devices so won't have a cros-ec-keyb input as it's the keyboard available via the ChromeOS Embedded Controller. Update them to use a USB keyboard which would actually be available. Also enable the usb keyboard option for those devices that don't have it enabled already. Signed-off-by: Peter Robinson <pbrobinson@gmail.com> Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
* | | | vexpress_ca9x4: Enable use of correct DTB file and restore EFI loader.Kristian Amlie2020-03-231-1/+2
|/ / / | | | | | | | | | | | | | | | | | | | | | EFI was disabled in f95b8a4b5f64f because of the missing DTB file, and indeed, the DTB file is required to load recent versions of GRUB (2.04) correctly. Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
* | | efi_loader: definition of GetNextVariableName()Heinrich Schuchardt2020-03-222-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 'vendor' is both an input and an output parameter. So it cannot be constant. Fixes: 0bda81bfdc5c ("efi_loader: use const efi_guid_t * for variable services") Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
* | | efi_loader: correct a definition of struct efi_capsule_headerAKASHI Takahiro2020-03-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | See UEFI specification, section 8.5.3. In addition, the structure, efi_capsule_header, should be "packed" as it is a serialized binary format in a capsule file. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
* | | efi_loader: export a couple of protocol related functionsAKASHI Takahiro2020-03-171-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | This is a preparatory patch. Those functions will be used in an implementation of UEFI firmware management protocol as part of my capsule update patch. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
* | | efi_loader: define System Resource Table macrosAKASHI Takahiro2020-03-171-0/+27
| | | | | | | | | | | | | | | | | | | | | Some of those values will be used in an implementation of UEFI firmware management protocol as part of my capsule update patch. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
* | | efi_loader: define OsIndicationsSupported flagsAKASHI Takahiro2020-03-171-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These flags are expected to be set in OsIndicationsSupported variable if corresponding features are supported. See UEFI specification, section 8.5.4. In particular, capsule-related flags will be used in my capsule update patch. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Fix misspelled EFI_OS_INDICATIONS_BOOT_TO_FW_UI. Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
* | | watchdog: Use dev_read only if OF_PLATDATA is not enabledWalter Lozano2020-03-161-2/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | Currently watchdog tries to use dev_read_u32_default to get timeout configuration in case OF_CONTROL is enabled. However, if SPL is built with OF_PLATDATA this has no sense as there is no device tree. This patch fixes this issue by only use dev_read_u32_default if OF_CONTROL is enabled but OF_PLATDATA is not. Signed-off-by: Walter Lozano <walter.lozano@collabora.com> Reviewed-by: Simon Glass <sjg@chromium.org>
* | Merge tag 'mmc-2020-3-9' of https://gitlab.denx.de/u-boot/custodians/u-boot-mmcTom Rini2020-03-103-6/+17
|\ \ | | | | | | | | | | | | | | | | | | - DM support for CAxxxx SoCs - eMMC board for presidio-asic - Add defer probe for mmc sdhci - TI SoCs mmc misc update
| * | configs: am65x_evm: Add CONFIG_SUPPORT_EMMC_BOOTFaiz Abbas2020-03-091-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | With CONFIG_SUPPORT_EMMC_BOOT moved to Kconfig, move it to defconfig files. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
| * | mmc: Merge SD_LEGACY and MMC_LEGACY bus modesFaiz Abbas2020-03-091-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | MMC_LEGACY & SD_LEGACY are not differentiated timings in the spec and don't have any meaningful differences. Therefore, get rid of all references to SD_LEGACY and use MMC_LEGACY to mean both of them. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
| * | sdhci: Add sdhci_deferred_probe() APIFaiz Abbas2020-03-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add the sdhci_deferred_probe() function to register as the deferred_probe() callback to the mmc core. It will in turn call the deferred_probe() callback of the platform drivers as declared in the sdhci_ops. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
| * | mmc: Add a deferred_probe() APIFaiz Abbas2020-03-091-0/+10
| | | | | | | | | | | | | | | | | | | | | Add a deferred_probe() API for platforms that want to do some configurations just before starting to enumerate the device. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
| * | mmc: Add a saved_clock memberFaiz Abbas2020-03-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Add a saved_clock member to struct mmc to store the previous clock speed in the clock needs to be stopped for some time. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
| * | mmc: make <mmc.h> self-containedMasahiro Yamada2020-03-091-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This header uses bd_t without including its definition. Change it to (struct bd_info), and add the forward declaration to specify it as a structure. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
* | | Merge tag 'u-boot-imx-20200310' of ↵Tom Rini2020-03-1010-279/+15
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://gitlab.denx.de/u-boot/custodians/u-boot-imx Fixes for 2020.04 ----------------- - DM : mx6sabresd - mx6ul_14x14_evk: fix video - mx8qxp; fix console for booting - sync DTS with kernel (imx6sx) - drop obsolete woodburn (mx35) Travis: https://travis-ci.org/sbabic/u-boot-imx/builds/660550811
| * | | mx6slevk: Convert to DM_ETHPedro Jardim2020-03-101-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the following warning: ===================== WARNING ====================== This board does not use CONFIG_DM_ETH (Driver Model for Ethernet drivers). Please update the board to use CONFIG_DM_ETH before the v2020.07 release. Failure to update by the deadline may result in board removal. See doc/driver-model/migration.rst for more info. ==================================================== Signed-off-by: Pedro Jardim <jardim.c.pedro@gmail.com> Reviewed-by: Fabio Estevam <festevam@gmail.com>
| * | | mx6sabreauto: Convert to DM_ETHPedro Jardim2020-03-101-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the following warning: ===================== WARNING ====================== This board does not use CONFIG_DM_ETH (Driver Model for Ethernet drivers). Please update the board to use CONFIG_DM_ETH before the v2020.07 release. Failure to update by the deadline may result in board removal. See doc/driver-model/migration.rst for more info. ==================================================== Signed-off-by: Pedro Jardim <jardim.c.pedro@gmail.com> Reviewed-by: Fabio Estevam <festevam@gmail.com>
| * | | imx: imx8qm: enable relocation of fdt and initrdOliver Graute2020-03-101-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set CONFIG_SYS_BOOTMAPSZ to the amount of memory available which is needed to relocate the kernel, device tree and initrd. Remove 'fdt_high' and 'initrd_high' environment variables from default environment which prevents relocation of FDT and initrd. Signed-off-by: Oliver Graute <oliver.graute@kococonnector.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <festevam@gmail.com> Cc: Peng Fan <peng.fan@nxp.com> Cc: Simon Glass <sjg@chromium.org> Cc: Ye Li <ye.li@nxp.com> Cc: uboot-imx <uboot-imx@nxp.com> Reviewed-by: Tom Rini <trini@konsulko.com>
| * | | mx6sabresd: Convert ethernet to driver modelAlifer Moraes2020-03-101-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Convert imx6sabresd ethernet to driver model to fix the following warning: ===================== WARNING ====================== This board does not use CONFIG_DM_ETH (Driver Model for Ethernet drivers). Please update the board to use CONFIG_DM_ETH before the v2020.07 release. Failure to update by the deadline may result in board removal. See doc/driver-model/migration.rst for more info. ==================================================== Signed-off-by: Alifer Moraes <alifer.wsdm@gmail.com> Reviewed-by: Fabio Estevam <festevam@gmail.com>
| * | | imx: imx8qm_rom7720: added missing USDHC Base address definesOliver Graute2020-03-091-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added missing USDHC Base address defines Signed-off-by: Oliver Graute <oliver.graute@kococonnector.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <festevam@gmail.com> Cc: Peng Fan <peng.fan@nxp.com> Cc: Simon Glass <sjg@chromium.org> Cc: Ye Li <ye.li@nxp.com> Cc: uboot-imx <uboot-imx@nxp.com> Reviewed-by: Fabio Estevam <festevam@gmail.com>
| * | | mx6cuboxi: don't disable fdt relocationBaruch Siach2020-03-091-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fdt_high value of 0xffffffff disables fdt relocation on boot. We don't need that for Cubox-i/Hummingboard. Rely on generic code to find the optimal fdt location at boot time. Signed-off-by: Baruch Siach <baruch@tkos.co.il>
| * | | ARM: dts: imx6sx: Sync with kernel 5.4.16Fabio Estevam2020-03-091-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | Sync the imx6sx dts files with kernel 5.4.16. Signed-off-by: Fabio Estevam <festevam@gmail.com>
| * | | imx8qxp_mek: Fix the console command line stringFabio Estevam2020-03-091-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the expansion of the console variable leads to the following kernel command line: console=ttyLP0,${baudrate} earlycon root=/dev/mmcblk1p2 rootwait rw , which causes the console to not show characters after the LPUART driver is probed as the 'baudrate' variable is not properly translated. Fix it by splitting the console variable in two parts: one for the ttyLP0 part and the other one for the baudrate, which matches the way it is done on other i.MX targets. Tested by successfully booting a mainline kernel on a i.MX8QXP MEK board. Signed-off-by: Fabio Estevam <festevam@gmail.com>
| * | | imx: remove woodburn boardStefano Babic2020-03-093-243/+0
| |/ / | | | | | | | | | | | | | | | Board is not longer used, remove it. Signed-off-by: Stefano Babic <sbabic@denx.de>