summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-07-21dtoc: Allow multiple warnings for a driverSimon Glass
At present we show when a driver is missing but this is not always that useful. There are various reasons why a driver may appear to be missing, such as a parse error in the source code or a missing field in the driver declaration. Update the implementation to record all warnings for each driver, showing only those which relate to drivers that are actually used. This avoids spamming the user with warnings related to a driver for a different board. Signed-off-by: Simon Glass <[email protected]> Reviewed-by: Walter Lozano <[email protected]>
2021-07-21dtoc: Convert to use ArgumentParserSimon Glass
Use this parser instead of OptionParser, which is deprecated. Signed-off-by: Simon Glass <[email protected]> Reviewed-by: Walter Lozano <[email protected]>
2021-07-21dtoc: Avoid using subscripts on match objectsSimon Glass
These are not supported before Python 3.6 so avoid them. Signed-off-by: Simon Glass <[email protected]> Reviewed-by: Walter Lozano <[email protected]>
2021-07-21board: sifive: unmatched: reset USB hub, PCIe-USB bridge, and ULPI device in SPLVincent Chen
Ensure USB hub, PCIe-USB bridge, and ULPI device to be reset even if the rebooting is without power-cycling. Signed-off-by: Vincent Chen <[email protected]> Reviewed-by: Leo Yu-Chi Liang <[email protected]>
2021-07-21board: sifive: unmatched: refine GEMGXL initialized function in SPLVincent Chen
Create a new function spl_reset_device_by_gpio to reset the device whose reset pin is connected to the GPIO. Then, using this function to initialize GEMGXL. Signed-off-by: Vincent Chen <[email protected]> Reviewed-by: Leo Yu-Chi Liang <[email protected]>
2021-07-21board: sifive: drop stuff related to unmatched revision 1Zong Li
This patch reverts the following commits: - 4b4159d0f3 ("riscv: dts: add dts for unmatched rev1") - ffe9a394df ("board: sifive: support spl multi-dtb on unmatched board") We won't plan to support unmatched that the revision below 3 in u-boot, so they can be dropped because they might be useless. Changed in v2: - rebase codebase to the latest master branch Signed-off-by: Zong Li <[email protected]> Suggested-by: David Abdurachmanov <[email protected]> Reviewed-by: Leo Yu-Chi Liang <[email protected]>
2021-07-21riscv: booti: do not force relocation if force_reloc is not setVitaly Wool
If force_reloc flag is not set and booti is called for an address ouside RAM (i. e. QSPI NOR flash), we should honor that and not try to force relocation in a bogus fashion. Signed-off-by: Vitaly Wool <[email protected]> Reviewed-by: Leo Yu-Chi Liang <[email protected]>
2021-07-21board: sifive: remove the command for setting serial numberZong Li
We wouldn't like to allow user to change the serial number, so remove the command for changing serial number in EEPROM. Signed-off-by: Zong Li <[email protected]> Suggested-by: David Abdurachmanov <[email protected]> Reviewed-by: Leo Yu-Chi Liang <[email protected]>
2021-07-20Merge branch 'master' of git://source.denx.de/u-boot-shTom Rini
- R-Car3 updates
2021-07-20ARM: dts: rmobile: Remove multiple unused DT properties on R-Car Gen3Marek Vasut
Filter out dmas dma-names interrupt-parent interrupts interrupts-extended interrupt-names interrupt-map interrupt-map-mask iommus DT properties on R-Car Gen3, since they are not used by U-Boot and only take space. Signed-off-by: Marek Vasut <[email protected]>
2021-07-20ARM: dts: rmobile: Disable RPC HF by defaultMarek Vasut
The RPC HF might be locked by ATF, and any access to its register space would result in complete hang. Disable the RPC HF by default. The ATF should be patched to set RPC node status = "okay" in the DT fragment it passes to U-Boot in case the RPC HF access is unlocked, and that way U-Boot could access the RPC HF safely. Signed-off-by: Marek Vasut <[email protected]>
2021-07-20ARM: rmobile: Align CPU: print with other printsMarek Vasut
The CPU: print only has one space after it, while the other prints from U-Boot align the value to offset 7. Align the CPU: print too. No functional change. Signed-off-by: Marek Vasut <[email protected]>
2021-07-20ARM: rmobile: Enable sysinfo on R-Car Gen3Marek Vasut
Enable support for sysinfo on supported R-Car Gen3 boards. The sysinfo is used e.g. to access and decode board-specific information and then in turn used by board-info to print those information. On R-Car Gen3 the sysinfo rcar3 driver is used to parse the board ID EEPROM, obtain board type and revision from it, and let board-info print this information on boot. Signed-off-by: Marek Vasut <[email protected]>
2021-07-20ARM: rmobile: Enable I2C EEPROM support on R-Car Gen3Marek Vasut
Enable support for I2C EEPROM driver on supported Renesas R-Car Gen3 boards. This is useful for accessing the board ID EEPROM. Signed-off-by: Marek Vasut <[email protected]>
2021-07-20ARM: dts: rmobile: Add sysinfo extras on R-Car Gen3Marek Vasut
Add sysinfo node and phandle to the board ID EEPROM on all boards where this functionality is described in DT, which is Salvator-X(S), ULCB and Ebisu. The u-boot,dm-pre-reloc is necessary here, since the sysinfo must be available early during boot. The V3M and V3H boards currently do not describe this board ID EEPROM in upstream DT, but that could be easily added later, once the DTs contain the necessary nodes. ULCB and Ebisu needs the full EEPROM node in the u-boot extras DT, since the EEPROM node is still missing in the upstream DTs. Ebisu also needs extra compatible string override for the i2c_dvfs. Signed-off-by: Marek Vasut <[email protected]>
2021-07-20sysinfo: rcar3: Add Renesas R-Car Gen3 sysinfo driverMarek Vasut
The Renesas R-Car Gen3 development kits contain board ID EEPROM. This driver parses out the board ID and revision out of that EEPROM and exports it e.g. for the board-info print on boot. Signed-off-by: Marek Vasut <[email protected]> Cc: Sean Anderson <[email protected]> Cc: Simon Glass <[email protected]>
2021-07-20configs: ls2080ardb.h: Update mc size in envPriyanka Jain
Set MC Firmware size in read commands in env to 2MB. Update DDR Memory read address for MC firmware to 0x80a00000 and MC DPC address to 0x80e00000. Signed-off-by: Priyanka Jain <[email protected]>
2021-07-20configs: ls2080aqds.h: Update mc size in envPriyanka Jain
Set MC Firmware size in read commands in env to 2MB. Update DDR Memory read address for MC firmware to 0x80a00000 and MC DPC address to 0x80e00000. Signed-off-by: Priyanka Jain <[email protected]>
2021-07-20configs: ls1088ardb.h: Update mc size in envPriyanka Jain
Set MC Firmware size in read commands in env to 2MB. Update DDR Memory read address for MC firmware to 0x80a00000 and MC DPC address to 0x80e00000. Signed-off-by: Priyanka Jain <[email protected]>
2021-07-20configs: ls1088aqds.h: Update mc size in envPriyanka Jain
Set MC Firmware size in read commands in env to 2MB. Update DDR Memory read address for MC firmware to 0x80a00000 and MC DPC address to 0x80e00000. Signed-off-by: Priyanka Jain <[email protected]>
2021-07-20configs: ls1043aqds: Configure environment related configsKuldeep Singh
LS1043A-QDS board requires updation in few environment configs in TFA and QSPI defconfigs. Following are the changes: - Define CONFIG_ENV_ADDR - Unset CONFIG_SPI_FLASH_BAR - Enable CONFIG_SYS_RELOC_GD_ENV_ADDR Signed-off-by: Kuldeep Singh <[email protected]> Reviewed-by: Priyanka Jain <[email protected]>
2021-07-20board: freescale: LX2162AQDS: Add MAINTAINERWasim Khan
Add "Wasim Khan <[email protected]>" as MAINTAINER for LX2162AQDS board Signed-off-by: Wasim Khan <[email protected]> Reviewed-by: Priyanka Jain <[email protected]>
2021-07-20board: freescale: LX2160AQDS: Add MAINTAINERWasim Khan
Add "Wasim Khan <[email protected]>" as MAINTAINER for LX2160AQDS board Signed-off-by: Wasim Khan <[email protected]> Reviewed-by: Priyanka Jain <[email protected]>
2021-07-20board: freescale: LX2160ARDB: Add MAINTAINERWasim Khan
Add "Wasim Khan <[email protected]>" as MAINTAINER for LX2160ARDB board Signed-off-by: Wasim Khan <[email protected]> Reviewed-by: Priyanka Jain <[email protected]>
2021-07-20configs: ls1046ardb: enable PHY_FIXEDCamelia Groza
The optical 10G port is described as fixed-link in the device tree. Enable the necessary support. Signed-off-by: Camelia Groza <[email protected]> Reviewed-by: Priyanka Jain <[email protected]>
2021-07-20armv8: lx2160ardb: Add thermal node fixup for revc boardWasim Khan
lx2160ardb Rev-C board has i2c node for thermal monitors connected to different chip offset. Add device tree fixup to use lx2160ardb dts and apply thermal node fixups for lx2160ardb Rev-C board. Signed-off-by: Wasim Khan <[email protected]> [sp:thernal->thermal] Reviewed-by: Priyanka Jain <[email protected]>
2021-07-20arm: dts: ls1043ardb: configure the RGMII ports with rgmii-idCamelia Groza
The RGMII ports on LS1043ARDB platforms require both RX and TX internal delays to be enabled. The device tree reports only the TX ID because the RX ID used to be enabled by default. With the addition of RX ID support for the Realtek 8211F PHY driver in commit e32e4d0f58cb ("net: phy: realtek: add rx delay support for RTL8211F"), the RX ID is disabled by the driver if not reported explicitly. This causes the RX to no longer work. Change the phy-connection-type for the RGMII ports to "rgmii-id" in order to enable both RX and TX internal delays. Fixes: be1d75896996 ("ARM: dts: add QorIQ DPAA 1 FMan v3 to LS1043ARDB") Signed-off-by: Camelia Groza <[email protected]> Reviewed-by: Priyanka Jain <[email protected]>
2021-07-20board: freescale: t2080qds: Update I2C mux configStephen Carlson
Updates the board configuration to enable use of the PCA9547 I2C mux. Signed-off-by: Stephen Carlson <[email protected]> Reviewed-by: Priyanka Jain <[email protected]>
2021-07-20board: freescale: lx2160a: Update I2C mux configStephen Carlson
Updates the board configuration to enable use of the PCA9547 I2C mux. Signed-off-by: Stephen Carlson <[email protected]> Reviewed-by: Priyanka Jain <[email protected]>
2021-07-20board: freescale: ls2080a, ls2088a: Update I2C mux configStephen Carlson
Updates the board configuration to enable use of the PCA9547 I2C mux. Signed-off-by: Stephen Carlson <[email protected]> [Squashed ls2088a patch to fix compilation] Signed-off-by: Priyanka Jain <[email protected]>
2021-07-20board: freescale: ls1088a: Update I2C mux configStephen Carlson
Updates the board configuration to enable use of the PCA9547 I2C mux. Signed-off-by: Stephen Carlson <[email protected]> Reviewed-by: Priyanka Jain <[email protected]>
2021-07-20board: freescale: ls1046a: Update I2C mux configStephen Carlson
Updates the board configuration to enable use of the PCA9547 I2C mux. Signed-off-by: Stephen Carlson <[email protected]> Reviewed-by: Priyanka Jain <[email protected]>
2021-07-20board: freescale: ls1043aqds: Update I2C mux configStephen Carlson
Updates the board configuration to enable use of the PCA9547 I2C mux. Signed-off-by: Stephen Carlson <[email protected]> Reviewed-by: Priyanka Jain <[email protected]>
2021-07-20board: freescale: ls1021aqds: Update I2C mux configStephen Carlson
Updates the board configuration to enable use of the PCA9547 I2C mux. Signed-off-by: Stephen Carlson <[email protected]> Reviewed-by: Priyanka Jain <[email protected]>
2021-07-20board: freescale: Refactor NXP common mux codeStephen Carlson
Refactors similar mux code from multiple NXP boards into a common location, and allows it to be disabled in config. New config: CONFIG_FSL_USE_PCA9547_MUX to enable PCA9547 mux functionality. Signed-off-by: Stephen Carlson <[email protected]> Reviewed-by: Priyanka Jain <[email protected]>
2021-07-19Merge https://source.denx.de/u-boot/custodians/u-boot-marvellTom Rini
- Marvell SheevaPlug: Convert Ethernet and SATA to Driver Model (Tony) - Zyxel NSA310S NAS: Convert to Driver Model (Tony) - Turris_omnia: Add `u-boot-env` NOR partition (Marek) - Turris_omnia: Fixup MTD partitions in Linux' DTB (Marek) - Espressobin: Enable 'mtd' command and define SPI NOR partitions (Pali)
2021-07-19Merge tag 'ti-v2021.10-rc1' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-ti - Enabled distro boot for all TI platforms. - Cleanup for AM335x Guardian Board - PRUSS rproc on AM65 platform. - Add PMIC support for J7200 - Misc fixes for Nokia RX-51 # Conflicts: # arch/arm/mach-omap2/am33xx/Kconfig
2021-07-19arm: mvebu: Espressobin: Enable 'mtd' command and define SPI NOR partitionsPali Rohár
U-Boot now supports parsing SPI NOR partitions from Device Tree. So enable 'mtd' command support for Espressobin board and define partition layout in U-Boot Espressobin DTS file. Access to SPI NOR via 'sf' command is old method and 'mtd' command is now preferred variant. From include file remove '#define CONFIG_MTD_PARTITIONS' as this option is now defined and enabled in defconfig file. This change is required to fix compile error: CC arch/arm/lib/asm-offsets.s In file included from include/config.h:4, from include/common.h:16, from lib/asm-offsets.c:14: include/configs/mvebu_armada-37xx.h:63: warning: "CONFIG_MTD_PARTITIONS" redefined #define CONFIG_MTD_PARTITIONS /* required for UBI partition support */ In file included from ././include/linux/kconfig.h:4, from <command-line>: include/generated/autoconf.h:44: note: this is the location of the previous definition #define CONFIG_MTD_PARTITIONS 1 After enabling support for mtd command, output from 'mtd list' on Espressobin board is: => mtd list List of MTD devices: * w25q32dw - device: spi-flash@0 - parent: spi@10600 - driver: jedec_spi_nor - path: /soc/internal-regs/spi@10600/spi-flash@0 - type: NOR flash - block size: 0x1000 bytes - min I/O: 0x1 bytes - 0x000000000000-0x000000400000 : "w25q32dw" - 0x000000000000-0x0000003f0000 : "firmware" - 0x0000003f0000-0x000000400000 : "u-boot-env" => Signed-off-by: Pali Rohár <[email protected]> Reviewed-by: Konstantin Porotchkin <[email protected]> Reviewed-by: Stefan Roese <[email protected]>
2021-07-19arm: mvebu: turris_omnia: fixup MTD partitions in Linux' DTBMarek Behún
Fixup SPI NOR partition nodes in Linux' device tree prior booting Linux. Linux' devicetree does not contain "u-boot-env" partition and we do not want to add it there because the address is different between stock U-Boot and current upstream U-Boot. Instead we add code that recreates partition nodes from scratch according to how U-Boot sees them (which is defined in U-Boot's device tree). Signed-off-by: Marek Behún <[email protected]> Reviewed-by: Stefan Roese <[email protected]>
2021-07-19ARM: dts: armada-385-turris-omnia: add `u-boot-env` NOR partitionMarek Behún
Specify a separate partition `u-boot-env` for U-Boot's env settings for the Turris Omnia board. Do this only in U-Boot's specific DTS. We do not want to do this in Linux' official DTS, because Omnia's stock U-Boot stores env at a different address, and there are still boards with stock U-Boot. In a subsequent patch will add board code that fixes Linux's DTB before booting Linux. Signed-off-by: Marek Behún <[email protected]> Reviewed-by: Stefan Roese <[email protected]>
2021-07-19arm: kirkwood: Marvell Sheevaplug: Use Ethernet PHY name and address from ↵Tony Dinh
device tree - In DM Ethernet, the old "egiga0" name is no longer valid, so replace it with Ethernet PHY name from device tree. Also, Ethernet PHY address is available so read it from device tree. Signed-off-by: Tony Dinh <[email protected]>
2021-07-19arm: kirkwood: Marvell Sheevaplug: Add DM SATA and remove IDE configsTony Dinh
Enable DM SATA, removed IDE driver, and add SATA MV driver. Signed-off-by: Tony Dinh <[email protected]>
2021-07-19arm: kirkwood: Marvell Sheevaplug: Add DM Ethernet and DM SATA configsTony Dinh
Add DM_ETH, SATA_MV and associated configs to sheevaplug_defconfig Signed-off-by: Tony Dinh <[email protected]>
2021-07-19arm: kirkwood: NSA310S: Use Ethernet PHY name from device treeTony Dinh
In DM Ethernet, the old "egiga0" name is no longer valid, so replace it with Ethernet PHY name from device tree. Also, Ethernet PHY address is available so read it from device tree. Signed-off-by: Tony Dinh <[email protected]>
2021-07-19arm: kirkwood: NSA310S: Add DM SATA configsTony Dinh
Enable DM SATA, removed IDE driver, and add SATA MV driver. Signed-off-by: Tony Dinh <[email protected]>
2021-07-19arm: kirkwood: NSA310S: Add DM USB, DM Ethernet, and DM SATA configsTony Dinh
Convert to Driver Model. - Add DM USB, DM Ethernet, and DM SATA configs to nsa310s_defconfig - Add CONFIG_DEFAULT_DEVICE_TREE to nsa310s_defconfig - Move CONFIG_ENV_SECT_SIZE from board file to nsa310s_defconfig - Add CONFIG_IDENT_STRING, and CONFIG_NET_RANDOM_ETHADDR to nsa310s_defconfig Signed-off-by: Tony Dinh <[email protected]> Reviewed-by: Stefan Roese <[email protected]>
2021-07-19arm: kirkwood: NSA310S: Add device tree DTS for Zyxel NSA310S boardTony Dinh
Add device tree kirkwood-nsa310s.dts for Zyxel NSA310S board to convert to Driver Model. Signed-off-by: Tony Dinh <[email protected]> Reviewed-by: Stefan Roese <[email protected]>
2021-07-18Merge branch '2021-07-18-finalize-migrations'Tom Rini
- With the deadline for DM_USB (host controller support), DM_VIDEO, DM_SPI_FLASH and DM_PCI now at 2 years past the release where their migration deadline was given, finish removing platforms and enforcing the switch.
2021-07-18Makefile: Remove DM_VIDEO and DM_SPI_FLASH checksTom Rini
As we have now completed the DM_VIDEO and DM_SPI_FLASH migrations we can remove the checks. Signed-off-by: Tom Rini <[email protected]>
2021-07-18pci: Require DM_PCITom Rini
As the migration deadline has passed, require that DM_PCI be used. Signed-off-by: Tom Rini <[email protected]>