aboutsummaryrefslogtreecommitdiff
path: root/configs
AgeCommit message (Collapse)AuthorFilesLines
2023-04-07Merge branch 'master_sh/gen4/initial' of ↵WIP/07Apr2023Tom Rini3-1/+144
https://source.denx.de/u-boot/custodians/u-boot-sh - Initial R-Car Generation 4 support
2023-04-07ARM: renesas: Add R8A779G0 V4H White Hawk board codeHai Pham1-0/+74
Add board code for R8A779G0 V4H White Hawk board. Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Signed-off-by: Hai Pham <hai.pham.ud@renesas.com> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> [Marek: Synchronize configuration symbols which are now switched to Kconfig Mallocate gd->bd->bi_boot_params, i.e. drop the assignment Sort headers, use clrbits_le32(), use BIT macros where appropriate Use CONFIG_SYS_CLK_FREQ for counter frequency instead of custom macro]
2023-04-07ARM: renesas: Add R8A779F0 S4 Spider board codeHai Pham1-0/+69
Add board code for R8A779F0 S4 Spider board. Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Signed-off-by: Hai Pham <hai.pham.ud@renesas.com> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> [Marek: Synchronize configuration symbols which are now switched to Kconfig Mallocate gd->bd->bi_boot_params, i.e. drop the assignment Sort headers, use clrbits_le32(), use BIT macros where appropriate Use CONFIG_SYS_CLK_FREQ for counter frequency instead of custom macro]
2023-04-07ARM: rmobile: Turn R-Car V3U into R-Car Gen4Hai Pham1-1/+1
Despite the name, R-Car V3U is the first member of the R-Car Gen4 family [1]. Hence reflect this in related files, select appropriate configuration options and split DT build into its own GEN4 entry. [1] https://www.renesas.com/us/en/products/automotive-products/automotive-system-chips-socs/r-car-v3u-best-class-r-car-v3u-asil-d-system-chip-automated-driving Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Signed-off-by: Hai Pham <hai.pham.ud@renesas.com> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> [Marek: Deduplicate DTC_FLAGS addition using RCAR_64 symbol Update commit message]
2023-04-06cmd: Add 2048 gameSimon Glass1-0/+1
Add the 2048 game, a good demo of ANSI sequences and a way to waste a little time. Bring it it from Barebox, modified for code style. Signed-off-by: Simon Glass <sjg@chromium.org>
2023-04-06ata: don't use SYS_SCSI_MAX_SCSI_ID for SATAHeinrich Schuchardt2-0/+2
CONFIG_SYS_SCSI_MAX_SCSI_ID is not defined if CONFIG_SCSI=n. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
2023-04-05Merge tag 'fsl-qoriq-2023-4-6' of ↵WIP/05Apr2023Tom Rini7-7/+17
https://source.denx.de/u-boot/custodians/u-boot-fsl-qoriq convert NXP LS1028A RDB and QDS to DM_SERIAL enable DM_SERIAL for ls1088a sync serial nodes with linux for lx2160a/ls1088a
2023-04-05test: blkmap: Add test suiteTobias Waldekranz1-0/+1
Verify that: - Block maps can be created and destroyed - Mappings aren't allowed to overlap - Multiple mappings can be attached and be read/written from/to Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com> Reviewed-by: Simon Glass <sjg@chromium.org>
2023-04-04smartweb: Enable LTOTom Rini1-0/+1
In order to prepare for slight size growth due to reworking linker list support, enable LTO here to save more space again. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de>
2023-04-04configs: ls1088a: enable DM_SERIALIoana Ciornei3-3/+9
Now that the DT nodes for the serial devices are in place for these boards, enable DM_SERIAL in the associated configs. Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
2023-04-04configs: convert NXP LS1028A RDB and QDS to DM_SERIALVladimir Oltean4-4/+8
Since the device trees are more or less synchronized with Linux, the only necessary changes are to enable CONFIG_DM_SERIAL and the DM_SERIAL driver for ns16550 (ns16550.c rather than serial_ns16550.c). ls1028aqds_tfa_lpuart_defconfig already uses DM_SERIAL for the LPUART driver, so I didn't touch that. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
2023-04-04arm64: imx: Add support for imx8mp-beacon-kitAdam Ford1-0/+182
Beacon Embedded has an i.MX8M Plus development kit which consists of a SOM + baseboard. The SOM includes Bluetooth, WiFi, QSPI, eMMC, and one Ethernet PHY. The baseboard includes audio, HDMI, USB-C Dual Role port, USB Hub with five ports, a PCIe slot, and a second Ethernet PHY. The device trees are already queued for inclusion in Linux 6.3. Signed-off-by: Adam Ford <aford173@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com>
2023-04-04ARM: imx: Enable LTO for DH electronics i.MX6 DHCOMMarek Vasut1-0/+1
Enable LTO to reduce the size of SPL, which with SPL SDP support may be close to the limit. Signed-off-by: Marek Vasut <marex@denx.de>
2023-04-04ARM: dts: imx: Add support for Data Modul i.MX8M Plus eDM SBCMarek Vasut1-0/+267
Add support for Data Modul i.MX8M Plus eDM SBC board. This is an evaluation board for various custom display units. Currently supported are serial console, ethernet, eMMC, SD, SPI NOR, USB. Signed-off-by: Marek Vasut <marex@denx.de>
2023-04-04configs: tqma6: enable DM_THERMALMarkus Niebel6-0/+12
Enabling this gives some informal output at boot time. Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
2023-04-04configs: tqma6: enable DM for MDIO / PHYMarkus Niebel6-0/+18
Since this works with current device trees, enabled these. Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
2023-04-04configs: tqma6: switch to DM_SERIALMarkus Niebel6-6/+6
Usage without DM_SERIAL is deprecated. Fix this. Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
2023-04-04ARM: imx: Enable SDP download in SPL on DH i.MX6 DHSOMMarek Vasut1-0/+5
Enable SDP protocol support in SPL for DH i.MX6 DHSOM, now that those components fit into the SPL due to LTO. To start U-Boot via SDP upload on i.MX6 DHSOM based board, proceed as follows: - Compile imx_usb [1] . - Power off the i.MX6 DHSOM based board. - Connect both USB-serial console and USB-OTG miniB ports to host PC. - Switch board to USB boot mode. - Power on the board. - Verify using '$ dmesg' that a new device has been detected as follows: New USB device found, idVendor=15a2, idProduct=0054, bcdDevice= 0.01 New USB device strings: Mfr=1, Product=2, SerialNumber=0 Product: SE Blank ARIK Manufacturer: Freescale SemiConductor Inc - Upload U-Boot SPL: $ imx_usb u-boot-with-spl.imx - Wait for SPL to come up, the following print ought to be the last on UART console: SDP: handle requests... - Upload U-Boot proper: $ imx_usb u-boot.img [1] https://github.com/boundarydevices/imx_usb_loader.git Signed-off-by: Marek Vasut <marex@denx.de>
2023-03-31Merge tag 'u-boot-imx-next-20230331' of ↵WIP/31Mar2023-nextTom Rini18-197/+302
https://gitlab.denx.de/u-boot/custodians/u-boot-imx into next u-boot-imx-next-20230331 for next --------------------------------- CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/15819 i.MX patches queued for next: - Conversions to DM_SERIAL - Fixes for Toradex boards - Gateworks Boards - i.MX8ULP - EQoS support / fixes, changes in boards
2023-03-30drivers: rtc: add max313xx series rtc driverChris Packham1-0/+1
Adding support for Analog Devices MAX313XX series RTCs. This is ported from the Linux driver and adapted for use in u-boot. Notable differences are - handling of tm_year and tm_mon differ - clock source support is omitted - hwmon support for the MAX31328 and MAX31343 is omitted - rtc_ops->reset is added Signed-off-by: Chris Packham <judge.packham@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
2023-03-30test: Add test for new command pci_mpsStephen Carlson1-0/+1
Adds a test for the new pci_mps command to ensure that it can set the Maximum Payload Size (MPS) of all devices to 256 bytes in the sandbox environment. Enables the pci_mps command in the sandbox environment so that this test can be run. Signed-off-by: Stephen Carlson <stcarlso@linux.microsoft.com>
2023-03-30powerpc/mpc85xx: disable legacy format bootingHeiko Schocher1-1/+0
disable CONFIG_LEGACY_IMAGE_FORMAT so prevent of booting not signed fitimages. Signed-off-by: Heiko Schocher <hs@denx.de>
2023-03-30configs: verdin-imx8mp: Fix wrong early malloc() heap sizeEmanuele Ghidoli1-0/+1
Set, previously unset, CONFIG_SPL_SYS_MALLOC_F_LEN to 0x4000 whose default value is 0x10000. Early malloc() uses CRAM_S at 0x184000 (CFG_MALLOC_F_ADDR), this ram area end at 0x188000. Fixes: 2bc2f817cea7 ("board: toradex: add verdin imx8m plus support") Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2023-03-30Revert "imx: imx8x: colibri: switch to binman"Andrejs Cainikovs1-1/+0
This reverts commit bdadc140a127b14a666d2007eddc3f65c8de7d5a. We do not want this, see [1]. [1] https://lore.kernel.org/all/56cf058164f331ce99ce75b0751b825ee2e07fc0.camel@toradex.com/ Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-03-30colibri-imx8x: set bootdelayMarcel Ziswiler1-0/+1
Set the boot delay to one second. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-03-30colibri-imx8x: set bootaux memory base and sizeAndrejs Cainikovs1-0/+2
Move i.MX auxiliary core memory base and size configuration to defconfig where it should belong. Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-03-30colibri-imx8x: update env memory layoutMarcel Ziswiler1-1/+1
Update the distro config env memory layout for the Colibri iMX8X: - kernel_comp_addr_r=0xb0000000 temporary area for uncompressing (ie FIT images or Image.gz booted using booti) - kernel_comp_size=0x08000000 - loadaddr=0x95400000 avoiding any reserved areas located before that - fdt_addr_r = loadaddr + 128MB - allows for 128MB kernel - scriptaddr = fdt_addr_r + 512KB - allows for 512KB fdt - ramdisk_addr_r = scriptaddr + 512KB - allows for 512KB script Idea of memory layout taken from commit a9f1e35bedc4 ("apalis-imx8: update env memory layout"). Note that for our regular BSP Layers and Reference Images for Yocto Project an updated distro boot script is required (see meta-toradex-bsp-common/recipes-bsp/u-boot/u-boot-distro-boot). Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-03-30colibri-imx8x: construct fdtfile dynamicallyAndrejs Cainikovs1-0/+2
The following expression is used to construct the device tree name: fdtfile=${soc}-colibri-${fdt_board}.dtb - soc is set dynamically (either imx8qxp or imx8dx) - fdt_board can be modified by the user (eval-v3, aster, iris/iris-v2) Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-03-30defconfig: colibri-imx8x: enable CONFIG_OF_SYSTEM_SETUPPhilippe Schenker1-0/+1
Enable a call to ft_system_setup() which reserves M4 memory region. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-03-30colibri-imx8x: enable fuse commandAndrejs Cainikovs1-0/+1
This command is required for initial SoC provisioning. Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-03-30colibri-imx8x: enable environment bootcount limitMarcel Ziswiler1-0/+2
Enable optional environment bootcount limit functionality. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-03-30colibri-imx8x: provide proper CONFIG_SYS_PROMPTIgor Opaniuk1-0/+1
Provide proper sys prompt, which should be "Colibri iMX8X #". Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com> Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-03-30ARM: dts: imx: Add support for DH electronics i.MX8M Plus DHCOM on PDK3Marek Vasut1-0/+266
Add support for DH electronics i.MX8M Plus DHCOM SoM on PDK3 carrier board. Currently supported are serial console, EQoS and FEC ethernets, eMMC, SD, SPI NOR and USB 3.0 host. Signed-off-by: Marek Vasut <marex@denx.de>
2023-03-30ARM: imx: Convert DH i.MX6 DHSOM to DM_SERIALMarek Vasut1-0/+1
Enable CONFIG_DM_SERIAL on DH i.MX6 DHSOM to convert it to DM serial . Signed-off-by: Marek Vasut <marex@denx.de> Reviewed-by: Fabio Estevam <festevam@denx.de>
2023-03-30configs: remove gwventana_gw5904_defconfigTim Harvey1-179/+0
Now that the gwventana_emmc_defconfig is the same as the gwventana_gw5904_defconfig we can remove the latter. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
2023-03-30configs: gwventana_emmc_defconfig: add MV88E61XX DSA switch supportTim Harvey1-0/+3
The MV88E61XX switch is used on the GW5904 which is an eMMC based board. Adding it here allows us to remove the gwventana_gw5904_defconfig. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
2023-03-30ARM: imx: Enable LTO for DH electronics i.MX8M Plus DHCOMMarek Vasut1-0/+1
Enable LTO to reduce the size of SPL, which with multiple DRAM calibration tables may be close to the limit. Signed-off-by: Marek Vasut <marex@denx.de>
2023-03-30configs: colibri-imx7: Fix bad block table in flash configurationStefan Eichenberger1-0/+1
Make sure that the bad block table in flash is used on Colibri iMX7. Without this configuration enabled U-Boot corrupts the bad block table and Linux will update the table on each reboot. The corruption occurs because if CONFIG_SYS_NAND_USE_FLASH_BBT is not set, U-boot will store bad blocks out of band, while the Linux driver for the iMX7 will store them in band in a bad block table. Fixes: fd8c1fc9430 ("arm: dts: imx7: colibri: add raw NAND support") Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com> Reviewed-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2023-03-30arm: mvebu: clearfog: Add defconfig for SPI bootingMartin Rowe1-0/+83
This new clearfog_spi_defconfig file is a copy of existing clearfog_defconfig file modified to instruct build system to generate final kwbimage for SPI booting and to store the environment in SPI. Signed-off-by: Martin Rowe <martin.p.rowe@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de>
2023-03-30board: gateworks: venice: enable XWAY PHY supportTim Harvey3-0/+3
Enable XWAY PHY driver and remove board specific config from board_phy_config weak override. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Reviewed-by: Fabio Estevam <festevam@denx.de>
2023-03-29mx6sabresd: Convert to DM_PMICFabio Estevam1-7/+4
The usage of DM_PMIC is preferred, so convert to it. This also brings the benefit of causing a significant amount of code removal. Signed-off-by: Fabio Estevam <festevam@denx.de> Reviewed-by: Peng Fan <peng.fan@nxp.com>
2023-03-29mx6sabreauto: Convert to DM_PMICFabio Estevam1-8/+5
The usage of DM_PMIC is preferred, so convert to it. This also brings the benefit of causing a significant amount of code removal. Signed-off-by: Fabio Estevam <festevam@denx.de> Reviewed-by: Peng Fan <peng.fan@nxp.com>
2023-03-29pico-imx6: Add DM_SERIAL supportFabio Estevam1-0/+1
The conversion to DM_SERIAL is mandatory, so add support for it. Signed-off-by: Fabio Estevam <festevam@denx.de>
2023-03-29udoo: Add DM_SERIAL supportFabio Estevam1-0/+1
The conversion to DM_SERIAL is mandatory, so add support for it. Signed-off-by: Fabio Estevam <festevam@denx.de>
2023-03-29mx6sxsabresd: Add DM_SERIAL supportFabio Estevam1-0/+1
The conversion to DM_SERIAL is mandatory, so add support for it. Signed-off-by: Fabio Estevam <festevam@denx.de>
2023-03-29mx51evk: Add DM_SERIAL supportFabio Estevam1-0/+1
The conversion to DM_SERIAL is mandatory, so add support for it. Signed-off-by: Fabio Estevam <festevam@denx.de>
2023-03-29mx53loco: Add DM_I2C supportFabio Estevam1-1/+1
The conversion to DM_I2C is mandatory, so add support for it. Signed-off-by: Fabio Estevam <festevam@denx.de>
2023-03-29mx53loco: Add DM_SERIAL supportFabio Estevam1-0/+1
The conversion to DM_SERIAL is mandatory, so add support for it. Signed-off-by: Fabio Estevam <festevam@denx.de>
2023-03-29configs: am62ax: enable secure device configs by defaultBryan Brattlof2-0/+3
TI's security enforcing SoCs will authenticate each binary it loads by comparing it's signature with keys etched into the SoC during the boot up process. The am62ax family of SoCs by default will have some level of security enforcement checking. To keep things as simple as possible, enable the CONFIG_TI_SECURE_DEVICE options by default so all levels of secure SoCs will work out of the box Enable the CONFIG_TI_SECURE_DEVICE by default Signed-off-by: Bryan Brattlof <bb@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Kamlesh Gurudasani <kamlesh@ti.com>
2023-03-29apple_m1_defconfig: Bump CONFIG_LMB_MAX_REGIONS to 64Janne Grunau1-0/+1
Apple silicon SoCs have numerous embedded co-processors with pre-loaded firmware. The co-processors text and data sections need to be mapped via DART iommus controlled by the main processor. Those sections are exported as reserved-memory. Bump CONFIG_LMB_MAX_REGIONS from 8 to 64 to deal with the large amount of reserved-memory regions. Signed-off-by: Janne Grunau <j@jannau.net> Reviewed-by: Mark Kettenis <kettenis@openbsd.org>