summaryrefslogtreecommitdiff
path: root/configs
Commit message (Collapse)AuthorAgeFilesLines
* spl: kconfig: separate sysreset and firmware drivers from miscSimon Goldschmidt2019-07-213-0/+3
| | | | | | | | | | | | | | | | | | | | | This adds separate kconfig options for drivers/sysreset and drivers/firmware. Up to now, CONFIG_SPL_DRIVERS_MISC_SUPPORT added drivers/misc to SPL build but also added drivers/firmware and drivers/sysreset at the same time. Since that is confusing, this patch uses CONFIG_SPL_SYSRESET for drivers/sysreset and adds CONFIG_SPL_FIRMWARE for drivers/firmware (and accordingly for the TPL options). CONFIG_SPL_DRIVERS_MISC_SUPPORT stays for including drivers/misc into the SPL build (and accordingly for TPL) since there are boards using non-DM (non UCLASS_MISC) files from drivers/misc. Such boards don't have CONFIG_SPL_MISC enabled, so cannot use this to include drivers/misc into the SPL build. Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
* Merge branch '2019-07-17-master-imports'Tom Rini2019-07-182-63/+1
|\ | | | | | | | | | | | | | | - Various FS/disk related fixes with security implications. - Proper fix for the pci_ep test. - Assorted bugfixes - Some MediaTek updates. - 'env erase' support.
| * board: Arcturus: ucp1020: Removing obsoleted stuffOleksandr Zhadan2019-07-181-60/+0
| | | | | | | | | | | | | | | | | | | | | | Removed one of the defconfig(obsoleted) file and unused CONFIG_MMC_SPI definition to avoid confusion about if this board using non-DM stuff or not. uCP1020 is completely DM free board, tested and runs well. Signed-off-by: Oleksandr Zhadan <oleks@arcturusnetworks.com> Signed-off-by: Michael Durrant <mdurrant@arcturusnetworks.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
| * configs: mt7629_rfb: use arm arch timer instead of mtk timerWeijie Gao2019-07-181-3/+1
| | | | | | | | | | | | | | This patch changes mt7629_rfb to use ARM's generic arch timer instead of MediaTek's soc timer. Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
* | Merge branch '2019-07-17-ti-imports'Tom Rini2019-07-185-14/+53
|\ \ | | | | | | | | | | | | - Bring in the first three series that we need in order to enhance the TI AM65x series support and then later introduce J721E support.
| * | am335x_boneblack_vboot: Disable asm memcpy/memset in SPLTom Rini2019-07-171-0/+4
| | | | | | | | | | | | | | | | | | | | | In order to save a little space in SPL, do not use the asm versions of memcpy/memset. Signed-off-by: Tom Rini <trini@konsulko.com>
| * | configs: am65x_hs_evm: Add support for applying overlaysAndreas Dannenberg2019-07-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | This will allow for downloading and applying overlays from an MMC/SD boot media based on the overlay_files ENV variable containing a list of overlay files. Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
| * | configs: am65x_evm: Add support for applying overlaysAndreas Dannenberg2019-07-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | This will allow for downloading and applying overlays from an MMC/SD boot media based on the overlay_files ENV variable containing a list of overlay files. Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
| * | configs: am65x_hs_evm_a53: Increase malloc pool before relocationAndreas Dannenberg2019-07-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The malloc pool used before relocation is getting tight leading to out of memory errors doing certain DM-related calls. Since we are running the A53 SPL out of DDR let's just go ahead and bump its size as used in U-Boot proper as well as SPL (via Kconfig default value) from 8KB to 32KB. Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Acked-by: Andrew F. Davis <afd@ti.com>
| * | configs: am65x_evm_a53: Increase malloc pool before relocationAndreas Dannenberg2019-07-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The malloc pool used before relocation is getting tight leading to out of memory errors doing certain DM-related calls. Since we are running the A53 SPL out of DDR let's just go ahead and bump its size as used in U-Boot proper as well as SPL (via Kconfig default value) from 8KB to 32KB. Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
| * | configs: am65x_hs_evm_a53: Enable PCA953X-type GPIO driverAndreas Dannenberg2019-07-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable GPIO driver for PCA953X-compatible I2C-based I/O expander which includes support for the TCA9554/PCA9554-type expander found on the AM654 EVM base board. Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Acked-by: Andrew F. Davis <afd@ti.com>
| * | configs: am65x_evm_a53: Enable PCA953X-type GPIO driverAndreas Dannenberg2019-07-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Enable GPIO driver for PCA953X-compatible I2C-based I/O expander which includes support for the TCA9554/PCA9554-type expander found on the AM654 EVM base board. Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
| * | configs: am65x_hs_evm_defconfig: Enable I2C supportAndreas Dannenberg2019-07-172-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | Enable I2C via driver model as well as the associated set of U-Boot commands to allow us interacting with various I2C slave devices. Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Acked-by: Andrew F. Davis <afd@ti.com>
| * | configs: am65x_evm_defconfig: Enable I2C supportAndreas Dannenberg2019-07-172-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | Enable I2C via driver model as well as the associated set of U-Boot commands to allow us interacting with various I2C slave devices. Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
| * | configs: am65x_hs_evm: Add Support for eMMC bootAndreas Dannenberg2019-07-172-0/+4
| | | | | | | | | | | | | | | | | | Add configs to support RAW boot mode in eMMC. Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
| * | configs: am65x_evm: Add Support for eMMC bootFaiz Abbas2019-07-172-0/+4
| | | | | | | | | | | | | | | | | | | | | Add configs to support RAW boot mode in eMMC. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com> Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
| * | configs: am65x_hs_evm_r5: All sysfw to be loaded via MMCAndreas Dannenberg2019-07-171-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | Enable all the relevant configs that enables support for loading sysfw via MMC. Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org>
| * | configs: am65x_evm_r5: All sysfw to be loaded via MMCAndreas Dannenberg2019-07-171-1/+3
| | | | | | | | | | | | | | | | | | | | | Enable all the relevant configs that enables support for loading sysfw via MMC. Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
| * | armv7R: K3: am654: Use full malloc implementation in SPLAndreas Dannenberg2019-07-172-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Switch to using the full malloc scheme in post-relocation SPL to allow better utilization of available memory for example by allowing memory to get freed. Initially allocate a 16MB-sized region in DDR starting at address 0x84000000 for this purpose. Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
| * | configs: am65x_evm_a53: Add Support for creating GPT partitionsFaiz Abbas2019-07-171-1/+1
| | | | | | | | | | | | | | | | | | Add Support for creating GPT partitions in U-boot. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
| * | configs: am65x: Add configs to support environment in eMMCFaiz Abbas2019-07-171-3/+2
| | | | | | | | | | | | | | | | | | Add configs such that U-boot environment is in eMMC by default. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
| * | configs: am65x_evm: Enable CONFIG_REGMAPFaiz Abbas2019-07-172-0/+4
| | | | | | | | | | | | | | | | | | | | | Add Support for CONFIG_REGMAP. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
| * | arm64: dts: k3: Sync sdhci0 node from kernel and change driver nameFaiz Abbas2019-07-172-2/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | Sync the sdhci0 node from kernel. This changes the compatible that is required to be there in the driver. Change the same for the SD card node which is not yet supported in kernel. This also syncs the main_pmx0 node as a side effect. Also change the name of the driver to match the compatible in kernel. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
* | configs: aspeed: Add HUSH and random ethernet addrJoel Stanley2019-07-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tests in test/py/tests/test_env.py like this fail without CONFIG_HUSH_PARSER: => => printenv test_env_0 ## Error: "test_env_0" not defined => .=> setenv test_env_0 => => echo $test_env_0 $test_env_0 => F We also want a mac address so the ethernet device works in qemu. Signed-off-by: Joel Stanley <joel@jms.id.au>
* | configs: aspeed: Unset CONFIG_MMCJoel Stanley2019-07-171-0/+1
|/ | | | | | | | | | | | | | | | | | The aspeed board does not have an upstream MMC driver. As CONFIG_MMC defaults on, the board would fail to build due to the CONFIG_DM_MMC migration: ===================== WARNING ====================== This board does not use CONFIG_DM_MMC. Please update the board to use CONFIG_DM_MMC before the v2019.04 release. Failure to update by the deadline may result in board removal. See doc/driver-model/MIGRATION.txt for more info. ==================================================== Change the defconfig to disable MMC until a driver is submitted. Signed-off-by: Joel Stanley <joel@jms.id.au>
* Merge branch 'master' of https://gitlab.denx.de/u-boot/custodians/u-boot-sunxiTom Rini2019-07-16147-146/+29
|\ | | | | | | | | | | - Beelink-x2 STB support (Marcus) - H6 DDR3, LPDDR3 changes (Andre, Jernej) - H6 pin controller, USB PHY (Andre)
| * sunxi: H6: Enable USB for existing boardsAndre Przywara2019-07-164-0/+9
| | | | | | | | | | | | | | | | | | | | | | So far USB was not enabled for the Allwinner H6 boards, as the PHY driver was not ready and the clock gates were missing. Since this is now fixed, let's add the PHY and the OHCI/EHCI drivers to the build, for all existing H6 boards. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com> # Pine-H64 Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
| * sunxi: H6: move LPDDR3 timing definition into separate fileAndre Przywara2019-07-164-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Currently the H6 DRAM driver only supports one kind of LPDDR3 DRAM. Split the timing parameters for this LPDDR3 configuration into a separate file, to allow selecting an alternative later at compile time (as the sunxi-dw driver does). Signed-off-by: Andre Przywara <andre.przywara@arm.com> Tested-by: Jernej Skrabec <jernej.skrabec@siol.net> Reviewed-by: Jernej Skrabec <jernej.skrabec@siol.net> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
| * sun8i: h3: Add support for the Beelink-x2 STBMarcus Cooper2019-07-151-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The Beelink X2 is an STB based on the Allwinner H3 SoC with a uSD slot, 2 USB ports( 1 * USB-2 Host, 1 USB OTG), a 10/100M ethernet port using the SoC's integrated PHY, Wifi via an sdio wifi chip, HDMI, an IR receiver, a dual colour LED and an optical S/PDIF connector. Linux commit details about the sun8i-h3-beelink-x2.dts sync: "ARM: dts: sun8i: h3: Add ethernet0 alias to Beelink X2" (sha1: cc4bddade114b696ab27c1a77cfc7040151306da) Signed-off-by: Marcus Cooper <codekipper@gmail.com> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
| * sunxi: move CONFIG_SPL_TEXT_BASE from *_defconfig to KconfigAndre Przywara2019-07-15146-146/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The choice of the SPL_TEXT_BASE is not really a decision that should be specified by each board's defconfig, as this setting is actually dictated by the SoC's memory map and the BootROM behaviour. To make this obvious and reduce the clutter in the defconfig files, let's specify the SoC constraints in the Kconfig stanza. This allows us to remove these lines from the defconfig files again. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
* | configs: am65x_evm_a53: enable networkingGrygorii Strashko2019-07-151-0/+6
| | | | | | | | | | | | | | | | | | | | Enable TI K3 AM65x CPSW NUSS driver. Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: Keerthy <j-keerthy@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
* | Merge tag 'u-boot-stm32-20190712' of ↵Tom Rini2019-07-143-4/+117
|\ \ | |/ |/| | | | | | | | | | | | | | | | | https://gitlab.denx.de/u-boot/custodians/u-boot-stm - syscon: add support for power off - stm32mp1: add op-tee config - stm32mp1: add specific commands: stboard and stm32key - add stm32 mailbox driver - solve many stm32 warnings when building with W=1 - update stm32 gpio driver
| * stm32mp1: add SPI flash support in SPLPatrick Delaunay2019-07-121-0/+3
| | | | | | | | | | | | Allow boot from NOR with basic boot. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
| * stm32mp1: activate OF_BOARD_SETUP and FDT_FIXUP_PARTITIONSPatrick Delaunay2019-07-123-0/+3
| | | | | | | | | | | | Update kernel MTD partition in device tree with U-Boot information. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
| * stm32mp1: add configuration op-teePatrick Delaunay2019-07-121-0/+106
| | | | | | | | | | | | | | Add support of Trusted boot chain with OP-TEE - reserved 32MB at the end of the DDR for OP-TEE Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
| * stm32mp1: configs: Add CONFIG_OF_SPL_REMOVE_PROPSPatrick Delaunay2019-07-121-0/+1
| | | | | | | | | | | | | | Removes unused device tree property in SPL to reduce the SPL size by 1kB Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
| * stm32mp1: deactivate WATCHDOG in defconfigPatrick Delaunay2019-07-122-4/+0
| | | | | | | | | | | | | | | | Deactivate WATCHDOG by default in u-boot to avoid issue to boot kernel and rootfs without the needed daemon to reload it. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Tested-by: Pierre-Jean Texier <pjtexier@koncepto.io>
| * configs: stm32mp15: enable IPCC mailboxFabien Dessenne2019-07-122-0/+4
| | | | | | | | | | | | | | Activate the ipcc mailbox for stm32mp15 configs. Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
* | configs: Make USE_TINY_PRINTF depend on SPL||TPL and be defaultTom Rini2019-07-135-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The USE_TINY_PRINTF symbol only changes things within SPL and TPL builds, so make it depend on that support. Next, make it default as within these cases we should rarely have need of more advanced print formats outside of the debug context. To do this, in a few cases we need to correct our Kconfig dependencies as we had cases of non-SPL targets select'ing this symbol. Finally, in the case of a few boards we really do need the full printf functionality. Signed-off-by: Tom Rini <trini@konsulko.com>
* | ARM: am335x: Add phyCORE AM335x R2 supportNiel Fourie2019-07-131-0/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support for Phytech phyCORE AM335x R2 SOM (PCL060) on the Phytec phyBOARD-Wega AM335x. CPU : AM335X-GP rev 2.1 Model: Phytec AM335x phyBOARD-WEGA DRAM: 256 MiB NAND: 256 MiB MMC: OMAP SD/MMC: 0 eth0: ethernet@4a100000 Working: - Eth0 - i2C - MMC/SD - NAND - UART - USB (host) Device trees were taken from Linux mainline: commit 37624b58542f ("Linux 5.1-rc7") Signed-off-by: Niel Fourie <lusus@denx.de> Signed-off-by: Parthiban Nallathambi <pn@denx.de> Reviewed-by: Heiko Schocher <hs@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Marek Vasut <marex@denx.de>
* | ARM: legoev3: convert to driver modelDavid Lechner2019-07-131-1/+8
| | | | | | | | | | | | | | | | | | | | This converts LEGO MINDSTORMS EV3 to the driver model. MMC, SERIAL, SPI and SPI_FLASH are converted. The device tree contains only the minimal nodes required by U-Boot since the size of U-Boot is limited to 256K on this device. Signed-off-by: David Lechner <david@lechnology.com>
* | rtc: add Microcrystal RV-8803 driverMichael Walle2019-07-132-0/+2
| | | | | | | | Signed-off-by: Michael Walle <michael@walle.cc>
* | ARM: omap3: evm: Enable DM_USB in defconfigDerald D. Woods2019-07-131-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This addresses the following warning message: ===================== WARNING ====================== This board does not use CONFIG_DM_USB. Please update the board to use CONFIG_DM_USB before the v2019.07 release. Failure to update by the deadline may result in board removal. See doc/driver-model/MIGRATION.txt for more info. ==================================================== As USB support for older OMAP3 SoC's improves, OMAP3 EVM can be readily adapted. There is some additional 'gpio-hog' support needed to fully setup USB in a similar manner to Linux. Signed-off-by: Derald D. Woods <woods.technical@gmail.com>
* | board: pm9263: Convert to CONFIG_DM_USB and CONFIG_DM_VIDEOIlko Iliev2019-07-121-0/+3
| | | | | | | | | | Convert the board to support the USB and video driver model and remove the unnecessary code.
* | board: pm9261: Convert to CONFIG_DM_USB and CONFIG_DM_VIDEOIlko Iliev2019-07-121-0/+3
| | | | | | | | | | Convert the board to support the USB and video driver model and remove the unnecessary code.
* | Merge https://gitlab.denx.de/u-boot/custodians/u-boot-marvellTom Rini2019-07-113-1/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - SPL SATA enhancements to allow booting from RAW SATA device needed for Clearfog (Baruch) - Enable SATA booting on Clearfog (Baruch) - Misc changes to Turris Omnia (Marek) - Enable CMD_BOOTZ and increase SYS_BOOTM_LEN on crs305-1g-4s (Luka) - Enable FIT support for db-xc3-24g4xg (Chris) - Enable DM_SPI on Keymile Kirkwood board with necessary changes for this (Pascal) - Set 38x and 39x AVS on lower frequency (Baruch)
| * | km/spi: activate driver model for SPI flash on KM Kirkwood boardsPascal Linder2019-07-111-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The corresponding configurations are selected in the common Kconfig file. This is easier than changing every affected board default configuration file. The default configuration for the PORTL2 board, however, still needs some modifications to correctly use the driver model. Signed-off-by: Pascal Linder <pascal.linder@edu.hefr.ch> Signed-off-by: Holger Brunck <holger.brunck@ch.abb.com> Signed-off-by: Stefan Roese <sr@denx.de>
| * | ARM: mvebu: Enable FIT support for db-xc3-24g4xgChris Packham2019-07-111-0/+3
| | | | | | | | | | | | | | | | | | Signed-off-by: Chris Packham <judge.packham@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
| * | arm: mvebu: crs305-1g-4s: Enable CMD_BOOTZ and increase SYS_BOOTM_LENLuka Kovacic2019-07-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This change enables CMD_BOOTZ and increases SYS_BOOTM_LEN to make it easier to work with kernel images. Signed-off-by: Luka Kovacic <me@lukakovacic.xyz> Reviewed-by: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
* | | Merge tag 'uniphier-v2019.10' of ↵Tom Rini2019-07-111-1/+3
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://gitlab.denx.de/u-boot/custodians/u-boot-uniphier UniPhier SoC updates for v2019.10 - import DT updates from Linux - add UniPhier SPI controller driver - make U-Boot image for 64bit SoCs position independent - tidy up various init code for next generation SoCs - misc cleanups