summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2026-03-17clk: mediatek: mt7622: fix infracfg and pericfg clock operationsDaniel Golle
The MT7622 infracfg and pericfg drivers both use mtk_common_clk_infrasys_init() for probe, which populates struct mtk_clk_priv and stores gate definitions in the clk_tree. However, both drivers were incorrectly wired to mtk_clk_gate_ops which expects struct mtk_cg_priv with separately populated gates/num_gates/gates_offs fields from mtk_common_clk_gate_init(). Since those fields were never set, any attempt to enable an infracfg or pericfg gate clock (e.g. CLK_INFRA_TRNG) would fail with -EINVAL. Switch both to mtk_clk_infrasys_ops and struct mtk_clk_priv to match the init function. Fixes: 72ab603b201 ("clk: mediatek: add driver for MT7622") Signed-off-by: Daniel Golle <[email protected]> Reviewed-by: David Lechner <[email protected]> Signed-off-by: David Lechner <[email protected]>
2026-03-17riscv: Add support for BeagleV-FireJamie Gibbons
Bring U-Boot support for the BeagleV-Fire by adding a device tree and supporting board files etc. Signed-off-by: Jamie Gibbons <[email protected]> Reviewed-by: Leo Yu-Chi Liang <[email protected]>
2026-03-16doc: imx95_evk: Fix the binary nameFabio Estevam
U-Boot produces flash.bin as the final boot image when building for the i.MX95 EVK, but the documentation refers to imx-boot-imx95.bin. Update the instructions to use flash.bin when copying the image to the SD card. Signed-off-by: Fabio Estevam <[email protected]>
2026-03-16doc: imx95_evk: Update Arm GNU toolchain version to 14.2Fabio Estevam
The imx-oei and imx-sm build systems defaults to: TC_VERSION ?= 14.2.rel1 but the documentation still instructs users to download the 13.3 toolchain. This causes the build to fail because the expected directory name does not exist. Update the documentation to reference the 14.2 toolchain to match the build system default. Signed-off-by: Fabio Estevam <[email protected]> Acked-by: Peng Fan <[email protected]>
2026-03-16imx943_evk: Enable XSPI1Alice Guo
With this patch, XSPI1 are functional on the i.MX943 EVK board. Signed-off-by: Alice Guo <[email protected]>
2026-03-16imx94_evk: Get ownership of XSPI control registers protected by GMID in SPLYe Li
To gain access to certain registers that are protected by GMID, the SPL must release XSPI ownership to the current core. Signed-off-by: Ye Li <[email protected]> Signed-off-by: Alice Guo <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2026-03-16misc: ele_api: Add support for XSPI SET GMID commandYe Li
The XSPI SET GMID command is used to assign GMID ownership to the requester, allowing access to protected XSPI control registers. This API must be called in SPL if XSPI GMID-protected settings need to be modified. Otherwise, XSPI configuration depends on the previous GMID owner to provide the correct settings. Signed-off-by: Ye Li <[email protected]> Signed-off-by: Alice Guo <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2026-03-16spi: nxp_xspi: Add new driver for NXP XSPI controllerAlice Guo
Add new driver to support NXP XSPI controller for NOR and NAND flash. XSPI controller also uses a programmable sequence engine to provide flexibility to support existing and future memory devices. It supports single, dual, quad, octal modes of operation. Signed-off-by: Ye Li <[email protected]> Signed-off-by: Alice Guo <[email protected]>
2026-03-16liebherr: btt: Fix buffer overflow in board_fit_config_name_matchFrancois Berder
The maximum length of the board name is not 11 characters but 14: 11 bytes for the prefix + 3 bytes for the u8 + 1 NULL byte. Hence, this commit increases the size of the name buffer variable to 15. Also, this commit fixes the format specifier for the rev_id variable. Signed-off-by: Francois Berder <[email protected]>
2026-03-16misc: imx_ele: Fix compile without CMD_FUSENiko Mauno
If CONFIG_CMD_FUSE is not enabled in imx93_11x11_evk_defconfig, then compilation fails with various undefined references to 'fuse_read', such as: | .../arch/arm/mach-imx/imx9/soc.c:188:(.text.get_cpu_rev+0x38): undefined reference to `fuse_read' therefore remove the 'fuse' command dependency in order to compile fuse.c unconditionally to mitigate the issue. Signed-off-by: Niko Mauno <[email protected]>
2026-03-16board: nxp: imx952_evk: Add i.MX952 15x15 lpddr4x board supportPeng Fan
Add support for i.MX952 15x15 lpddr4x board support. Signed-off-by: Peng Fan <[email protected]> Signed-off-by: Ye Li <[email protected]> Signed-off-by: Alice Guo <[email protected]>
2026-03-16arm: dts: Add U-Boot device tree for i.MX952 EVKAlice Guo
Add U-Boot specific device tree configuration for i.MX952 EVK board. Signed-off-by: Alice Guo <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2026-03-16arm64: dts: freescale: Add i.MX952 EVK basic device treePeng Fan
Add i.MX952 EVK basic device tree, with UART1, SDHC[1,2] supported. Signed-off-by: Peng Fan <[email protected]> Signed-off-by: Shawn Guo <[email protected]> [ upstream commit: a5aa8551d0046ec701e8962f83361165ccf640a4 ] (cherry picked from commit bf18a0f083bdf73f806a3afb9b606b2cb0fcafb3)
2026-03-16arm64: dts: freescale: Add initial device tree for i.MX952Peng Fan
i.MX952 is designed for AI-powered sensor fusion and vision sensing applications, it features 4 Corte-A55, 1 Cortex-M33, 1 Cortex-M7 and NXP eIQ NPU and advanced graphics, video and advanced security with edgelock. Product info could be found at: https://www.nxp.com/products/i.MX-952 The basic device tree includes: - clock, pin, power header files - device nodes: CPU[0-3], SCMI firmware, Interrupt Controller, Sys counter, eDMA, MU, SPI, UART, I2C, USB and etc Signed-off-by: Peng Fan <[email protected]> Signed-off-by: Shawn Guo <[email protected]> [ upstream commit: b516a4dd6a1ff7ddbaf3ab30ddec88088a6ec9e6 ] (cherry picked from commit 3546aa155a84b8af636d44c852c864845e654864)
2026-03-16arm: imx9: Keep WDG3/WDG4 untouched for i.MX952Alice Guo
On i.MX952, WDG3 and WDG4 are not used for system reset. PSCI is used instead. Keep WDG3 and WDG4 in their default state rather than explicitly disabling them. Signed-off-by: Alice Guo <[email protected]>
2026-03-16cpu: imx952: Add i.MX952 supportAlice Guo
This patch is used to add the imx type string of i.MX952 so that the i.MX952 CPU info can be printed. Signed-off-by: Alice Guo <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2026-03-16arm: imx9: Add i.MX952 SoC supportAlice Guo
Add basic SoC support for i.MX952: - Add CONFIG_IMX952 Kconfig option - Include i.MX952 clock and power headers - Set CPU speed grade to 1.7GHz for i.MX952 Signed-off-by: Alice Guo <[email protected]> Reviewed-by: Peng Fan <[email protected]> Reviewed-by: David Zang <[email protected]>
2026-03-16imx: container: Add i.MX952 support to get_imageset_end()Alice Guo
Extend get_imageset_end() to handle i.MX952. Signed-off-by: Alice Guo <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2026-03-16imx: ele_ahab: Add i.MX952 support to display_life_cycle()Alice Guo
Extend display_life_cycle() to support i.MX952. Signed-off-by: Alice Guo <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2026-03-16arm: imx: Add i.MX952 CPU type supportAlice Guo
Add CPU type definition and detection macro for i.MX952 SoC. Signed-off-by: Alice Guo <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2026-03-16pinctrl: nxp: Add i.MX952 supportYe Li
Multiple pads can drive the same module input pin, and a daisy chain register is used to select the active input path. This patch defines DAISY_OFFSET_IMX952 (0x460) and allows binding on i.MX952. Signed-off-by: Ye Li <[email protected]> Signed-off-by: Alice Guo <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2026-03-16imx95/imx94: Remove board_phys_sdram_size from each boardYe Li
Change to use default board_phys_sdram_size implementation in soc.c, which will call SM API to get DDR size. If board has special implementation for DDR size, then board_phys_sdram_size could be implemented in board file to override the default one in soc.c. Signed-off-by: Ye Li <[email protected]> Signed-off-by: Alice Guo <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2026-03-16imx9: scmi: Get DDR size through SM SCMI APIYe Li
System Manager(SM) has implemented the MISC protocol to retrieve DDR information. Using this API, U-Boot can obtain the DDR size dynamically instead of relying on static configuration macros. This change addresses the DDR ECC enabled case, where 1/8 of the total DDR size is reserved for ECC data. The scmi_misc_ddrinfo() returns the DDR size with EEC overhead already deducted. Implementation details: - Query the DDR size via scmi_misc_ddrinfo() - Replace direct REG_DDR_CS[0,1]_BNDS register reads with SCMI call - Switch from PHYS_SDRAM[x]_SIZE macros to runtime detection - For backward compatibility with older SM firmware, fall back to static PHYS_SDRAM[x]_SIZE configuration if the SCMI call fails Signed-off-by: Ye Li <[email protected]> Signed-off-by: Alice Guo <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2026-03-16sunxi: remove usage of legacy LED APIQuentin Schulz
We are trying to get rid of the legacy LED API and PinePhone is one of the last ones requiring it. Unlike all other users of the legacy LED API, PinePhone is controlling the GPIO LED in SPL. Unfortunately, Sunxi doesn't enable DM support in SPL because of tight space constraints, so we cannot make use of the modern LED framework as that is based on DM_GPIO. Since PinePhone is the last user of this API, I'm moving the logic to Sunxi SPL code and will let this community decide how to handle this hot potato. The logic is extremely simplified as only one GPIO LED is currently controlled in SPL by PinePhone. No need for handling multiple LEDs or inverted polarity, let's keep it simple. This however allows us to use the modern LED framework once in U-Boot proper since this logic won't collide with the new framework. Since the only misc drivers that were compiled in SPL were guarded by CONFIG_LED_STATUS and CONFIG_LED_STATUS_GPIO, we can also disable CONFIG_SPL_DRIVERS_MISC (which does nothing anymore). This also saves some space for PinePhone in SPL and proper. Tested-by: Andre Przywara <[email protected]> Signed-off-by: Quentin Schulz <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2026-03-17doc: board: starfive: jh7110 common update OPENSBI build env referenceE Shattow
Describe build with OpenSBI fw_dynamic.bin path as OPENSBI=<path> on the same line instead of as an export. Also remedy a typo which had the wrong directory path before the filename. Fixes: 8304f3226700 ("doc: board: starfive: update jh7110 common description") Signed-off-by: E Shattow <[email protected]> Reviewed-by: Leo Yu-Chi Liang <[email protected]>
2026-03-17doc: board: starfive: jh7110 common give build output dir by env not argE Shattow
Describe build with output directory as O=<dir> environment variable and not unrelated -O <output sync> command line argument. Fixes: 8304f3226700 ("doc: board: starfive: update jh7110 common description") Signed-off-by: E Shattow <[email protected]> Reviewed-by: Leo Yu-Chi Liang <[email protected]>
2026-03-17doc: board: starfive: Add Xunlong OrangePi RVE Shattow
OrangePi RV is a board that uses the same EEPROM product serial identifier as the StarFive VisionFive 2 1.3b. In fact it is not completely compatible with the StarFive VisionFive 2 1.3b for use with Linux Kernel however it is good enough for use with U-Boot SPL and U-Boot Main. Describe how to set the devicetree search path and, for advanced users, suggest that it is possible to update the EEPROM data with an invented "XOPIRV" identifier for automatic board detection. Signed-off-by: E Shattow <[email protected]> Reviewed-by: Leo Yu-Chi Liang <[email protected]>
2026-03-17configs: starfive: Add Orange Pi RV to visionfive2E Shattow
Add Orange Pi RV to visionfive2 CONFIG_OF_LIST Signed-off-by: E Shattow <[email protected]> Reviewed-by: Hal Feng <[email protected]> Reviewed-by: Leo Yu-Chi Liang <[email protected]>
2026-03-17board: starfive: visionfive2: Add Orange Pi RV selection by product_idE Shattow
Add XOPIRV identifier for Orange Pi RV to dts selection callback in SPL, and to fdtfile environment variable default value selection in payload. Signed-off-by: E Shattow <[email protected]> Reviewed-by: Hal Feng <[email protected]> Reviewed-by: Leo Yu-Chi Liang <[email protected]>
2026-03-17board: starfive: visionfive2: Add VisionFive 2 Lite fdt selectionHal Feng
Set $fdtfile to the VisionFive 2 Lite DTB if the board is matched. Reviewed-by: E Shattow <[email protected]> Signed-off-by: Hal Feng <[email protected]>
2026-03-17board: starfive: spl: Support VisionFive 2 LiteHal Feng
Choose the matching FIT config on the VisionFive 2 Lite board. Reviewed-by: E Shattow <[email protected]> Signed-off-by: Hal Feng <[email protected]>
2026-03-17configs: visionfive2: Add VisionFive 2 Lite DT to OF_LISTHal Feng
So the VisionFive 2 Lite DT will be built and merged into FIT. Reviewed-by: E Shattow <[email protected]> Signed-off-by: Hal Feng <[email protected]>
2026-03-17pcie: starfive: Add a optional power gpio supportHal Feng
Get and enable a optional power gpio. This feature is ported from the jh7110 pcie driver in Linux. VisionFive 2 Lite needs this gpio to enable the PCI bus device (M.2 M-Key) power. Signed-off-by: Hal Feng <[email protected]>
2026-03-17eeprom: starfive: Support eeprom data format v3Hal Feng
Add eeprom data format v3 support. Add onboard_module field in ATOM4 and add "mac onboard_module <?>" command to modify it. The onboard module field marks the additional modules compared with VisionFive 2 board. Now we define bit7-1: reserved, bit0: WIFI/BT Signed-off-by: Hal Feng <[email protected]>
2026-03-17eeprom: starfive: Correct get_pcb_revision_from_eeprom()Hal Feng
pcb_revision is stored in the pcb_revision field of ATOM4. Correct it. Move the function description to the header file. Return 0 instead of 0xFF if read_eeprom() fails. Reviewed-by: Heinrich Schuchardt <[email protected]> Fixes: aea1bd95b61e ("eeprom: starfive: Enable ID EEPROM configuration") Signed-off-by: Hal Feng <[email protected]>
2026-03-17eeprom: starfive: Simplify get_ddr_size_from_eeprom()Hal Feng
Directly return the DDR size instead of the field of 'DxxxExxx'. Move the function description to the header file. Return 0 instead of 0xFF if read_eeprom() fails. Reviewed-by: Heinrich Schuchardt <[email protected]> Fixes: aea1bd95b61e ("eeprom: starfive: Enable ID EEPROM configuration") Signed-off-by: Hal Feng <[email protected]>
2026-03-16kbuild: strip sub_make_done from test-script environmentSimon Glass
The exported sub_make_done variable leaks into the environment of all child processes. When make targets like tcheck spawn independent make-invocations with O=, those child-makes inherit sub_make_done=1, skip the KBUILD_OUTPUT setup and try to build in the source tree. A global 'unexport sub_make_done' cannot be used because the build system itself re-invokes the top-level Makefile for syncconfig (via '$(MAKE) -f $(srctree)/Makefile syncconfig'). Without sub_make_done, that child make re-enters the KBUILD_OUTPUT block and recomputes abs_objtree. With a relative O= path this resolves to a nested directory (e.g. build/build/) where .config does not exist. Instead, use 'env -u sub_make_done' in the test-target recipes so only the test scripts see a clean environment. This allows their child make invocations to process O= correctly without affecting internal kbuild recursion. This is not strictly a bugfix, but compare with: commit 27529f1cb02d ("kbuild: skip parsing pre sub-make code for recursion") Signed-off-by: Simon Glass <[email protected]>
2026-03-16scsi: Adjust SCSI inquiry command data lengthMacpaul Lin
Per the SCSI SPC-4 specification, the standard inquiry data length should not be less than 36 bytes. The current implementation uses 512 bytes, which causes detection failures on some UFS devices (e.g., Longsys) that do not expect a transfer length exceeding the standard inquiry size. Align the default standard inquiry length with the Linux kernel's implementation (see drivers/scsi/scsi_scan.c), which uses 36 bytes as the default. Devices requiring vendor-specific inquiry lengths should be handled through quirk settings in the future. Signed-off-by: ht.lin <[email protected]> Signed-off-by: Macpaul Lin <[email protected]> Reviewed-by: Marek Vasut <[email protected]>
2026-03-16board: ti: j7*: Update rm-cfg and tifs-rm-cfgManorit Chawdhry
Repurpose the allocated resources with version V11.02.07 of k3-resource-partition. Signed-off-by: Manorit Chawdhry <[email protected]>
2026-03-16toradex: tdx-cfg-block: add aquila tda4 0223 pid4Vitor Soares
Add PID4 0223 Aquila TDA4 Octa 16GB IT to config block handling. Signed-off-by: Vitor Soares <[email protected]> Reviewed-by: Francesco Dolcini <[email protected]>
2026-03-16configs: Add fragment config for snagfactory toolParesh Bhagat
Introduce a new fragment configuration in u-boot to enable support for the snagfactory tool [1], used for factory flashing of boards. Snagfactory tool first recovers the board via USB DFU (peripheral boot), and then uses fastboot to flash given binaries/images to MMC or other on-board memory via USB. The fragment config can be used to generate boot binaries for board recovery. This fragment config needs to be added additionally, while building a53 images for USB DFU boot. The fragment config enables configurations to allow flashing via fastboot, manage MMC partitions and boot partitions, customize buffer size and memory usage for fastboot and also integrate OEM commands and UUU compatibility. It sets CONFIG_BOOTCOMMAND to start fastboot mode immediately on startup. It also sets BOOTDELAY to 0 to reduce snagfactory recovery time. Since BOOTCOMMAND and BOOTDELAY configs are being modified, these changes cannot be placed in existing DFU fragment config. Snagfactory used mtd support for flashing both SPI NAND and SPI NOR devices. The fragment config enables mtd in u-boot and also allows SPI flash to be treated as an MTD device. [1]: https://github.com/bootlin/snagboot Signed-off-by: Paresh Bhagat <[email protected]> Signed-off-by: Mahammed Sadik Shaik <[email protected]>
2026-03-16Merge patch series "Add PCIe Boot support for TI J784S4 SoC"Tom Rini
Siddharth Vadapalli <[email protected]> says: This series adds PCIe endpoint boot support for the TI J784S4 SoC. Series is based on commit f9ffeec4bdc ("board: toradex: Make A53 get RAM size from DT in K3 boards") of the master branch of U-Boot. PCIe Boot Logs (J784S4-EVM running Linux as Root-Complex transfers bootloaders to another J784S4-EVM configured for PCIe Boot): https://gist.github.com/Siddharth-Vadapalli-at-TI/2d157003818441fe79a139d0dec1058a Link: https://lore.kernel.org/r/[email protected]
2026-03-16docs: board: ti: j784s4_evm: Add PCIe boot documentationHrushikesh Salunke
Add PCIe boot documentation for J784S4-EVM including boot mode switch settings, hardware setup requirements, endpoint configuration details and step-by-step boot procedure. Signed-off-by: Hrushikesh Salunke <[email protected]> [[email protected]: simplified and documented the pcie_boot_util program] Co-developed-by: Siddharth Vadapalli <[email protected]> Signed-off-by: Siddharth Vadapalli <[email protected]> Reviewed-by: Udit Kumar <[email protected]>
2026-03-16configs: j742s2_evm_a72_defconfig: Disable PCIe boot configsHrushikesh Salunke
Although the J742S2 EVM supports PCIe boot in Hardware, since it is not enabled yet in Software, disable PCIe boot related configurations that are not applicable. Signed-off-by: Hrushikesh Salunke <[email protected]> Signed-off-by: Siddharth Vadapalli <[email protected]>
2026-03-16configs: j742s2_evm_r5_defconfig: Disable PCIe boot configsHrushikesh Salunke
Although the J742S2 EVM supports PCIe boot in Hardware, since it is not enabled yet in Software, disable PCIe boot related configurations that are not applicable. Signed-off-by: Hrushikesh Salunke <[email protected]> Signed-off-by: Siddharth Vadapalli <[email protected]>
2026-03-16configs: am69_sk_a72_defconfig: Disable PCIe boot configsHrushikesh Salunke
AM69 SK does not contain PCIe Boot in the list of supported Boot Modes. Hence, disable PCIe Boot related configurations that are not applicable. Signed-off-by: Hrushikesh Salunke <[email protected]> Signed-off-by: Siddharth Vadapalli <[email protected]>
2026-03-16configs: am69_sk_r5_defconfig: Disable PCIe boot configsHrushikesh Salunke
AM69 SK does not contain PCIe Boot in the list of supported Boot Modes. Hence, disable PCIe Boot related configurations that are not applicable. Signed-off-by: Hrushikesh Salunke <[email protected]> Signed-off-by: Siddharth Vadapalli <[email protected]>
2026-03-16configs: j784s4_evm_a72_defconfig: Enable configs for PCIe bootHrushikesh Salunke
J784S4 SoC has two instances of PCIe, namely PCIe0 and PCIe1. The PCIe1 instance is used for PCIe endpoint boot. Enable the configs required for PCIe boot on the J784S4 platform. Signed-off-by: Hrushikesh Salunke <[email protected]> Signed-off-by: Siddharth Vadapalli <[email protected]>
2026-03-16configs: j784s4_evm_r5_defconfig: Enable configs for PCIe bootHrushikesh Salunke
J784S4 SoC has two instances of PCIe, namely PCIe0 and PCIe1. The PCIe1 instance is used for PCIe endpoint boot. Enable the configs required for PCIe boot on the J784S4 platform. Additionally, enable configs for J721E WIZ SERDES wrapper, Cadence Torrent PHY, and MMIO multiplexer. These are required to configure the SERDES lanes at the R5 SPL stage for PCIe endpoint operation. Signed-off-by: Hrushikesh Salunke <[email protected]> Signed-off-by: Siddharth Vadapalli <[email protected]> Reviewed-by: Udit Kumar <[email protected]>
2026-03-16phy: ti: Add config to enable J721E WIZ SERDES wrapper at SPL stageHrushikesh Salunke
Add SPL_PHY_J721E_WIZ configuration option to enable the WIZ SERDES wrapper driver in SPL stage. This is required for PCIe boot support where SERDES configuration must be done early in the boot sequence before loading the bootloader image over PCIe. Signed-off-by: Hrushikesh Salunke <[email protected]> Signed-off-by: Siddharth Vadapalli <[email protected]>