summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '2019-10-24-UFS-support'Tom Rini2019-10-245-1/+71
|\ | | | | | | - Add Universal Flash Storage (UFS) support
| * env: ti: Add environment variables to boot from UFSFaiz Abbas2019-10-232-1/+36
| | | | | | | | | | | | | | | | | | | | | | Add environment variables to boot kernel from a filesystem contained in the 2nd UFS LUN. The user can boot from a ufs filesystem just by entering the following commands. => setenv boot ufs => boot Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
| * ufs: Add Initial Support for UFS subsystemFaiz Abbas2019-10-232-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Support for UFS Host Controller Interface (UFSHCI) for communicating with Universal Flash Storage (UFS) devices. The steps to initialize the host controller interface are the following: - Initiate the Host Controller Initialization process by writing to the Host controller enable register. - Configure the Host Controller base address registers by allocating a host memory space and related data structures. - Unipro link startup procedure - Check for connected device - Configure UFS host controller to process requests Also register this host controller as a SCSI host controller. Taken from Linux Kernel v5.2 (drivers/scsi/ufs/ufshcd.c) and ported to U-boot. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
| * scsi: Add dma direction member to command structureFaiz Abbas2019-10-231-0/+3
| | | | | | | | | | | | | | | | Some SCSI devices like UFS use DMA for executing scsi commands and hence need to know the direction of transfer of the dma. Add a dma_dir element to the command structure to facilitate this. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
| * scsi: Add max_bytes_per_req to scsi_platdataFaiz Abbas2019-10-231-0/+2
| | | | | | | | | | | | | | Add max_bytes_per_req to scsi_platdata to enable the host driver to limit the number of bytes that can be read/written per request. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
* | Merge https://gitlab.denx.de/u-boot/custodians/u-boot-marvellTom Rini2019-10-241-0/+3
|\ \ | |/ |/| | | | | - Add support for HyperBus Memory Controller of TI's J721e and AM654 SoCs (Vignesh)
| * configs: j721e_evm.h: Define CONFIG_SYS_MAX_FLASH_BANKS_DETECTVignesh Raghavendra2019-10-241-0/+3
| | | | | | | | | | | | | | | | Define CONFIG_SYS_MAX_FLASH_BANKS_DETECT so that number of flash banks are automatically detected by CFI flash driver Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com> Reviewed-by: Stefan Roese <sr@denx.de>
* | Merge tag 'u-boot-stm32-2019-10-23' of ↵Tom Rini2019-10-231-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | https://gitlab.denx.de/u-boot/custodians/u-boot-stm - Disable CONFIG_NET flag for MCU STM32 - Fix ramdisk_addr_r for stm32f746-disco - Fix USB product id for stm32mp1
| * | configs: stm32f746-disco: Fix ramdisk_addr_rPatrice Chotard2019-10-221-1/+1
| |/ | | | | | | | | | | | | | | Set ramdisk_addr_r to 0xC0600000. Reported-by: Christophe Priouzeau <christophe.priouzeau@st.com> Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Acked-by: Patrick Delaunay <patrick.delaunay@st.com>
* | configs: ls1012afrwy: Add CONFIG_ENV_ADDRKuldeep Singh2019-10-211-0/+5
| | | | | | | | | | | | | | | | This configuration enables picking the environment from flash before DDR init. Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
* | configs: ls1012ardb: Add CONFIG_ENV_ADDRKuldeep Singh2019-10-211-0/+4
|/ | | | | | | | | CONFIG_ENV_ADDR config option enables picking the environment from flash before DDR init. Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com> Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
* Merge tag 'efi-2020-01-rc1-2' of ↵Tom Rini2019-10-181-0/+22
|\ | | | | | | | | | | | | | | | | | | | | https://gitlab.denx.de/u-boot/custodians/u-boot-efi Pull request for UEFI sub-system for efi-2020-01-rc1 (2) Install the simple file protocol only if there is a file system on the partition. Enable CONFIG_CMD_NVEDIT_EFI on QEMU.
| * fs: add fs_get_type() for current filesystem typeAKASHI Takahiro2019-10-171-0/+10
| | | | | | | | | | | | | | | | | | | | This function is a variant of fs_get_type_name() and returns a filesystem type with which the current device is associated. We don't want to export fs_type variable directly because we have to take care of it consistently within fs.c. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * fs: update fs_close() descriptionHeinrich Schuchardt2019-10-171-1/+6
| | | | | | | | | | | | Provide a more detailed description of fs_close(). Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * fs: export fs_close()AKASHI Takahiro2019-10-171-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | fs_close() closes the connection to a file system which opened with either fs_set_blk_dev() or fs_set_dev_with_part(). Many file system functions implicitly call fs_close(), e.g. fs_closedir(), fs_exist(), fs_ln(), fs_ls(), fs_mkdir(), fs_read(), fs_size(), fs_write() and fs_unlink(). So just export it. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
* | configs: sei610: Add config file to fix userdata sizeGuillaume La Roque2019-10-181-0/+31
| | | | | | | | | | | | | | | | Add separate config file to handle the different eMMC size on the sei610 board. Signed-off-by: Guillaume La Roque <glaroque@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
* | configs: sei510: rework header and fix userdata sizeGuillaume La Roque2019-10-182-119/+138
| | | | | | | | | | | | | | | | Move android generic config and boot sequence in meson64_android header and fix size of userdata to use all eMMC on SEI510. Signed-off-by: Guillaume La Roque <glaroque@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
* | ARM: dts: Import SEI610 DT from Linux 5.4-rc2Neil Armstrong2019-10-181-0/+18
| | | | | | | | | | | | | | | | Import the Amlogic SM1 DT and the SEI610 board DT from [1] [1] da0c9ea146cb ("Linux 5.4-rc2") Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
* | arm: dts: Import and update DT for Khadas VIM3Andreas Färber2019-10-183-0/+57
| | | | | | | | | | | | | | | | | | | | In Linux meson-g12-common.dtsi was introduced as well as new g12b nodes and headers, as dependencies of new meson-g12b-a311d-khadas-vim3.dts. Copied from da0c9ea146cb ("Linux 5.4-rc2") Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
* | configs: sei510: enable Video Display supportNeil Armstrong2019-10-181-0/+12
| | | | | | | | | | | | | | | | | | Add the necessary config options to support BMP display over HDMI, and add a preboot command to load the BMP file from a predefined eMMC partition. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Reviewed-by: Anatolij Gustschin <agust@denx.de>
* | Merge tag 'for-v2020.01' of https://gitlab.denx.de/u-boot/custodians/u-boot-ubiTom Rini2019-10-172-3/+17
|\ \ | |/ |/| | | | | | | | | ubi enhancements for 2020.01 - provide a way for skipping crc checks ported from linux, and add an U-Boot command to set this flag on already installed systems. - fix redundand environment management
| * ubi: env: fix redundand managementPhilippe Reynes2019-10-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We check (with a #if defined()) the config ENV_UBI_VOLUME_REDUND to know if there is a redundant env. But this config is a string and is always defined with env is in ubi, so we always consider that a redundand env is used. To fix this issue, I've added a hidden flag ENV_UBI_IS_VOLUME_REDUND that is true when ENV_UBI_VOLUME_REDUND is not "". Then, I check this flag in the code, instead of the string ENV_UBI_VOLUME_REDUND. hs: fixed typo s/condider/consider Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com> Reviewed-by: Heiko Schocher <hs@denx.de>
| * ubi: provide a way to skip CRC checksQuentin Schulz2019-10-161-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some users of static UBI volumes implement their own integrity check, thus making the volume CRC check done at open time useless. For instance, this is the case when one use the ubiblock + dm-verity + squashfs combination, where dm-verity already checks integrity of the block device but this time at the block granularity instead of verifying the whole volume. Skipping this test drastically improves the boot-time. Adapted to U-Boot by Stefan Roese. Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com> Signed-off-by: Stefan Roese <sr@denx.de> Reviewed-by: Heiko Schocher <hs@denx.de> Cc: Quentin Schulz <quentin.schulz@bootlin.com> Cc: Boris Brezillon <boris.brezillon@bootlin.com>
* | Merge tag 'dm-pull-15oct19' of ↵Tom Rini2019-10-163-3/+40
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://gitlab.denx.de/u-boot/custodians/u-boot-dm binman enhancements: - Dropping some test Elf files and building them from source instead - Refactoring of x86 16-bit entries - Support for SPL symbols within sections - Handle the 'notes' sections and hidden symbols in recent binutils - Improved error reporting with a tool fails libfdt and documentation fixes vboot required-key test driver model power-domain controls patman Message-Id enhancement
| * | power: domain: Introduce dev_power_domain_offLokesh Vutla2019-10-151-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | Add dev_power_domain_off() api to disable all the power-domains corresponding to a device Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org>
| * | dm: core: Allow for not controlling the power-domain by DM frameworkLokesh Vutla2019-10-151-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In some remoteproc cases, enabling the power domain of the core will start running the core. In such cases image should be loaded before enabling the power domain. But the current DM framework enables the power-domain by default during probe. This is causing the remotecore to start and crash as there is no valid image loaded. In order to avoid this introduce a DM flag that doesn't allow for enabling/disabling the power-domain by DM framework. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org>
| * | dm: device: Fix typo in the non-DEVRES version of devm_kmalloc_array()Jean-Jacques Hiblot2019-10-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | When DEVRES is not set, devm_kmalloc_array() is spelled devm_kmaloc_array() (with one 'l' only). Fixing it so that the name is the same with and without DEVRES. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org>
| * | power: domain: add dev_power_domain_onPeng Fan2019-10-151-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add this new API to power on multiple domains attached to a device. Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Changed to static inline and added a condition into C file: Signed-off-by: Simon Glass <sjg@chromium.org>
| * | dm: Fix default address cells return valueMatthias Brugger2019-10-151-1/+1
| |/ | | | | | | | | | | | | | | Default address cells value on the livetree access function returns the wrong value. Fix this so that the value returned corresponds to the device tree specification. Signed-off-by: Matthias Brugger <mbrugger@suse.com>
* | arm: remove the H2200 boardHeinrich Schuchardt2019-10-161-128/+0
| | | | | | | | | | | | | | | | | | | | | | | | U-Boot cannot be built for h2200_defconfig with CONFIG_DM=y. The maintainer Lukasz Dalek suggested to remove the board. https://lists.denx.de/pipermail/u-boot/2019-August/380685.html Cc: Lukasz Dalek <luk0104@gmail.com> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> [trini: As this is the last non-toradex PXA board, update travis too] Signed-off-by: Tom Rini <trini@konsulko.com>
* | image: android: Fix possible build errorsSam Protsenko2019-10-151-7/+4
|/ | | | | | | | | | | | | | | As android_image.h uses types like u32, we need to include corresponding headers in place. Otherwise the user will be forced to include those in C file, or next build error can occur: include/android_image.h:32:5: error: unknown type name 'u32' u32 kernel_size; /* size in bytes */ Include required headers for data types used. While at it, remove typedef struct, which is prohibited by kernel coding style, and fix the comment. Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
* Merge branch 'master' of git://git.denx.de/u-boot-socfpgaTom Rini2019-10-141-30/+88
|\ | | | | | | - vining_fpga updates
| * ARM: socfpga: vining_fpga: Update environmentMarek Vasut2019-10-091-24/+82
| | | | | | | | | | | | | | | | Update board environment to match the one used in deployment. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Silvio Fricke <silvio.fricke@softing.com> Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
| * ARM: socfpga: vining_fpga: Rename VINING|FPGAMarek Vasut2019-10-091-6/+6
| | | | | | | | | | | | | | | | | | The company Samtec was merged into Softing, migrate the board over to the new name and update copyright headers. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Silvio Fricke <silvio.fricke@softing.com> Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
* | Merge tag 'u-boot-imx-20191014' of ↵Tom Rini2019-10-1411-143/+101
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://gitlab.denx.de/u-boot/custodians/u-boot-imx u-boot-imx-20191014 ------------------- Travis: https://travis-ci.org/sbabic/u-boot-imx/builds/597498628 - logicpd pinmux - i.MX7ULP: imx_ddr_size - fixes Toradex i.MX6/i.MX7 - pico-imx7d - tpc70 converted to DM - New Board: meerkat96 - add HAB version command - i.MX8 : imx8: Jump from alias to OCRAM address at SPL init imx8qm/qxp: Set SPL TEXT base to OCRAM base
| * | i2c: imx_lpi2c: add ipg clkPeng Fan2019-10-141-0/+1
| | | | | | | | | | | | | | | | | | | | | The controller needs two clk, per clk and ipg clk, so let's add ipg clk. Signed-off-by: Peng Fan <peng.fan@nxp.com>
| * | colibri_imx7: remove legacy sdboot wrapperIgor Opaniuk2019-10-131-23/+0
| | | | | | | | | | | | | | | | | | Remove legacy sdboot wrapper as distroboot can be used instead. Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
| * | colibri_imx6: remove legacy sdboot wrapperIgor Opaniuk2019-10-131-18/+0
| | | | | | | | | | | | | | | | | | Remove legacy sdboot wrapper as distroboot can be used instead. Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
| * | colibri-imx6ull: remove legacy sdboot wrapperIgor Opaniuk2019-10-131-14/+0
| | | | | | | | | | | | | | | | | | Remove legacy sdboot wrapper as distroboot can be used instead. Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
| * | apalis_imx6: remove legacy sdboot wrapperIgor Opaniuk2019-10-131-19/+0
| | | | | | | | | | | | | | | | | | Remove legacy sdboot wrapper as distroboot can be used instead. Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
| * | imx8qm/qxp: Set SPL TEXT base to OCRAM baseYe Li2019-10-131-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Modify the SPL TEXT base from OCRAM alias to OCRAM base 0x100000, so we can use full OCRAM not limit to 96KB Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
| * | imx: config: Update KP's TPC70 config to support SWUpdateLukasz Majewski2019-10-131-2/+5
| | | | | | | | | | | | | | | | | | | | | This patch updates envs responsible for using USB pendrive as a SWUpdate based tool for recovery and update. Signed-off-by: Lukasz Majewski <lukma@denx.de>
| * | imx: tpc70: Convert TPC70 (imx6q) board to use DM/DTS in SPL and u-bootLukasz Majewski2019-10-131-21/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch converts the TPC70 to use driver model and device tree description in both SPL and u-boot proper. Notable changes (DM/DTS conversion): - PINCTRL{_IMX6} - DM_I2C - enable 'regulator' and 'pmic' commands - DM_MMC and BLK (USDHC) - DM_ETH - DM WDT (including SYSRESET) Signed-off-by: Lukasz Majewski <lukma@denx.de>
| * | imx: tpc70: config: Update TPC70 config to support eMMC's boot0 SPL updateLukasz Majewski2019-10-131-0/+5
| | | | | | | | | | | | | | | | | | | | | The TPC70 can boot from eMMC's boot0. This patch allows it to update this HW partition's SPL. Signed-off-by: Lukasz Majewski <lukma@denx.de>
| * | imx: tpc70: config: Add script commands to update u-boot and OE's wicLukasz Majewski2019-10-131-0/+21
| | | | | | | | | | | | Signed-off-by: Lukasz Majewski <lukma@denx.de>
| * | pico-imx7d: Support distro boot for FIT image caseJun Nie2019-10-131-26/+11
| | | | | | | | | | | | | | | | | | | | | Support distro boot for pico imx7d in FIT image case. Signed-off-by: Jun Nie <jun.nie@linaro.org> Tested-by: Joris Offouga <offougajoris@gmail.com>
| * | board: tbs2910: Convert eth to driver modelSoeren Moch2019-10-131-9/+0
| | | | | | | | | | | | | | | | | | So we can remove lots of legacy config code. Signed-off-by: Soeren Moch <smoch@web.de>
| * | mx6: mx6sabre common: Use more conventional spelling of fdtfileSjoerd Simons2019-10-131-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | Both the distro boot configuration as well as the general pxe support standardized on fdtfile as the variable to hold the dtb filename. Adjust to follow that such that e.g. "pxe boot" will just work. Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
| * | Add i.MX7D based Meerkat96 board supportShawn Guo2019-10-131-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Meerkat96 board, based on the NXP i.MX7D SoC, is a member of 96Boards community and complies with all Consumer Edition board specifications. https://www.novtech.com/products/meerkat96.html https://www.96boards.org/product/imx7-96/ The initial supported/tested devices include: - Debug serial - SD - USB Host (with Ethernet) With these support, it's good enough for loading Linux Kernel from SD or Ethernet over USB. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Reviewed-by: Peng Fan <peng.fan@nxp.com> Tested-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
* | | Merge tag 'video-for-2020.01' of ↵Tom Rini2019-10-145-0/+555
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://gitlab.denx.de/u-boot/custodians/u-boot-video - panel bridge support in stm32 ltdc - DSI host uclass - sandbox DSI host uclass test driver and DSI host test - MIPI DSI helpers - Synopsys Designware MIPI DSI host bridge driver - STM32 DSI controller driver - OTM800A and RM68200 panel support - DSI host updates for stm32f769 and stm32mp1 dtsi files - splash screen for stm32f769 and stm32mp1 boards - stm32 defconfig updates for display support