summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2026-01-17imx95_evk: Sort header filesPeng Fan
Sort header files following the order: - generic-header - asm/generic-header - asm/arch/ - asm/mach-imx/ Signed-off-by: Peng Fan <[email protected]>
2026-01-17imx94_evk: Sort header filesPeng Fan
Sort header files following the order: - generic-header - asm/generic-header - asm/arch/ - asm/mach-imx/ Signed-off-by: Peng Fan <[email protected]>
2026-01-17imx91_evk: Cleanup headersPeng Fan
Drop unused headers and sort them. Signed-off-by: Peng Fan <[email protected]>
2026-01-17imx93_qsb: Cleanup headersPeng Fan
Drop unused headers and sort them. Signed-off-by: Peng Fan <[email protected]>
2026-01-17imx93_evk: Cleanup headersPeng Fan
Drop unused headers and sort them. Signed-off-by: Peng Fan <[email protected]>
2026-01-17imx93_evk: Drop DECLARE_GLOBAL_DATA_PTRPeng Fan
No user of "gd" in this file, drop DECLARE_GLOBAL_DATA_PTR. Signed-off-by: Peng Fan <[email protected]>
2026-01-17imx93_evk: Drop board_phy_configPeng Fan
There is already a weak function in drivers/net/phy/phy.c, which does the same thing. So drop it. Signed-off-by: Peng Fan <[email protected]>
2026-01-17imx93_evk: Drop setup_fecPeng Fan
The clock settings could be handled by "assigned-clock-rates" through DM clock driver, so drop setup_fec(). board_init() is a dummy function now, so clean it up. Signed-off-by: Peng Fan <[email protected]>
2026-01-17imx93_evk: Drop UART pad settingsPeng Fan
With DM_SERIAL and pinctrl driver, the UART pad settings in board code could be dropped. Then drop board_early_init_f(), since it is a dummy function now. While at here, remove WDOG_PAD_CTRL, since no user. Signed-off-by: Peng Fan <[email protected]>
2026-01-17imx93_frdm: clear and mask TCPC interruptsFrancesco Valla
One of the two on-board PTN5110 TCPC USB Power Delivery controller on the i.MX93 FRDM board shares its interrupt line whith the PCAL6524 power controller (GPIO3-27). Since the PTN5110 starts after POR with the interrupts enabled, this can lead to an interrupt storm on OS startup if only the driver for the PCAL6524 is loaded, because none is servicing (and clearing) the interrupt requests from the PTN5110. Maks and clear all interrupts as part uring board initialization; they can be re-enabled later by a proper OS driver if required. Co-developed-by: Joseph Guo <[email protected]> Signed-off-by: Francesco Valla <[email protected]> Reviewed-by: Fabio Estevam <[email protected]> Tested-by: Thomas Petazzoni <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2026-01-17Merge branch 'master' of git://source.denx.de/u-boot-usbTom Rini
- Add the "apple,t8103-dwc3" compatible to the xhci-dwc3 glue
2026-01-16Merge branch 'qcom-main' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-snapdragon We have been getting a lot more patches from Qualcomm engineers, largely focusing on IoT, router, and automotive platforms (those with QCS, IPQ, and SA prefixes specifically). Quite a variety of changes here: - Watchdog overflow fix - Hardcoded fastboot buffer addresses for a few board (hoppefully temporary until fastboot is updated to read $fastboot_addr_r) - Enable memory protection (MMU_MGPROT) for ARCH_SNAPDRAGON - pinctrl support for the QCS615 soc - various USB/phy fixes including phy config for msm8996/qcs615 - mmc and i2c clock configuration fixes - significant fixes for rpmh and regulator drivers - added config fragment for pixel devices - sa8775p clock fixes - support for "flattened" dwc3 DT that recently landed upstream for sc7280 (qcs6490) and a few other platforms
2026-01-16Merge patch series "fix integer overflows in filesystem code"Tom Rini
This series from Timo tp Preißl <[email protected]> fixes some (potential) interger overflows in some filesystems by using __builtin_XXX_overflow helps to catch issues. Link: https://lore.kernel.org/r/[email protected]
2026-01-16fs: prevent integer overflow in ext4fs_get_bgdtableTimo tp Preißl
An integer overflow in gdsize_total calculation could lead to under-allocation and heap buffer overflow. Signed-off-by: Timo tp Preißl <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Tom Rini <[email protected]>
2026-01-16fs: prevent integer overflow in sqfs_concatTimo tp Preißl
An integer overflow in length calculation could lead to under-allocation and buffer overcopy. Signed-off-by: Timo tp Preißl <[email protected]> Reviewed-by: Tom Rini <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: João Marcos Costa <[email protected]>
2026-01-16fs: prevent integer overflow in zfs_nvlist_lookupTimo tp Preißl
An integer overflow in nvlist size calculation could lead to under-allocation and heap buffer overflow. Signed-off-by: Timo tp Preißl <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Tom Rini <[email protected]>
2026-01-16fs: prevent integer overflow in fs.c do_mvTimo tp Preißl
An integer overflow in size calculations could lead to under-allocation and potential heap buffer overflow. Signed-off-by: Timo tp Preißl <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Tom Rini <[email protected]>
2026-01-16configs: mt8365: remove empty header fileDavid Lechner
Remove the empty include/configs/mt8365.h header file as it is not needed. The Kconfig entry that referenced it is also removed. Signed-off-by: David Lechner <[email protected]>
2026-01-16usb: dwc3-generic: support Qualcomm flattened DTCasey Connolly
Qualcomm devicetrees are moving away from having a glue node with dwc3 as a subnode and now may just have a single flattened node. Rockchip already have a glue_get_ctrl_dev op which returns the node for the glue device itself, commonise this and reuse it for the new Qualcomm node. Lastly adjust the qscratch base address since it now requires an offset from the dwc3 base. Link: https://patch.msgid.link/[email protected] Signed-off-by: Casey Connolly <[email protected]>
2026-01-16Merge tag 'u-boot-dfu-20260116' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-dfu u-boot-dfu-20260116 CI: https://source.denx.de/u-boot/custodians/u-boot-dfu/-/pipelines/29018 Android: * Fix missing dependency for BOOTMETH_ANDROID * Add bootconfig support * Add 'get ramdisk' command to abootimg DFU: * Improve error handling in dfu_fill_entity() USB Gadget: * ci_udc: Ensure ci_ep->desc is valid before using it * ci_udc: Add additional debug prints
2026-01-16Merge patch series "video: simple_panel support for am335x evm panel"Tom Rini
Markus Schneider-Pargmann (TI.com) <[email protected]> says: This series adds the capability to define hardcoded panel settings to the simple_panel driver similar to the Linux Kernel and adds the panel used on am335x evm. panel-uclass.c is extended to support get_modes() for panels and drm_display_mode conversion. In a second step the tilcdc is extended to support OF graph to be able to connect to the simple panel devicetree node. Link: https://lore.kernel.org/r/20260105-topic-am33-evm-lcd-v2026-01-v4-0-7617591b8159@baylibre.com
2026-01-16spl: fix incorrect dependency for SPL_NETQuentin Schulz
When SPL_NET is included, scripts/Makefile.xpl includes net/. However, in this directory, the Makefile only compiles things if CONFIG_NET or CONFIG_NET_LWIP is defined (it doesn't use $(PHASE_)). Therefore, at least one networking stack needs to be enabled for SPL_NET=y to do anything meaningful. In certain cases (e.g. am62px_evm_r5_ethboot_defconfig + NO_NET=y via menuconfig), it is possible to fail the build with undefined references (since include/net-common.h does check with CONFIG_IS_ENABLED(NET) which would be true for SPL_NET, but the implementation wouldn't be compiled). Fix this oversight by making sure a network stack (and the legacy one) is available when selecting SPL_NET. Fixes: 8cb330355bd5 ("net: introduce alternative implementation as net/lwip/") Reviewed-by: Jerome Forissier <[email protected]> Signed-off-by: Quentin Schulz <[email protected]>
2026-01-16arm: mediatek: remove extra gpio headerDavid Lechner
Remove empty gpio.h header file and CONFIG_GPIO_EXTRA_HEADER on ARCH_MEDIATEK. There is no reason to have these since the header doesn't contain anything. Signed-off-by: David Lechner <[email protected]> Reviewed-by: Quentin Schulz <[email protected]>
2026-01-16bootstd: rauc: Free memory during error handlingFrancois Berder
While reading bootflow, memory was not released if an error occurred. Signed-off-by: Francois Berder <[email protected]> Acked-by: Martin Schwan <[email protected]> Tested-by: Martin Schwan <[email protected]>
2026-01-16arm: dts: an7581: set r_smpl for MMC in U-BootRay Liu
When booting from SPI, the ROM code does not initialize the MMC controller on AN7581. As a result, the first MMC initialization is performed by U-Boot. In this case, the r_smpl bit is left uninitialized, which may cause incorrect sampling timing during early MMC access. Set the r_smpl bit explicitly in the U-Boot device tree to ensure reliable MMC initialization. This change is limited to the U-Boot-specific device tree. The Linux MMC driver already performs runtime delay detection and does not require a fixed r_smpl setting. Signed-off-by: Ray Liu <[email protected]>
2026-01-16video: ti: am335x: Support OF graphMarkus Schneider-Pargmann (TI.com)
Add support for OF graph parsing. When using OF graph the default tilcdc_panel_info is used which is the same as defined in Linux. Signed-off-by: Markus Schneider-Pargmann (TI.com) <[email protected]>
2026-01-16video: simple_panel: Add tfc_s9700rtwv43tr_01bMarkus Schneider-Pargmann (TI.com)
Add timing data for tfc_s9700rtwv43tr_01b from Linux to the simple-panel driver. To support hardcoded timing data as Linux does, add a new struct simple_panel_drv_data which holds a struct display_timing pointer as well. The hardcoded timing data is preferred over DT parsing. Reviewed-by: Fabio Estevam <[email protected]> Signed-off-by: Markus Schneider-Pargmann (TI.com) <[email protected]>
2026-01-16panel: Lightweight support of get_modes()Markus Schneider-Pargmann (TI.com)
Linux uses get_modes() to fetch all available panel modes from the driver. This is also used to fetch the modes from Linux's simple panel implementation where a list of drm_display_mode structs is used to define the different possible panels. To make our work easier, create a compatible way of fetching and defining these modes in u-boot. get_modes() fetches the available modes from the panel driver. The get_display_timing() call maps the drm_display_mode properties to the display_timing struct. This call now uses whatever panel operation is available, get_display_timing() or get_modes(). Reviewed-by: Fabio Estevam <[email protected]> Signed-off-by: Markus Schneider-Pargmann (TI.com) <[email protected]>
2026-01-16panel: Add missing comment for the timing argumentMarkus Schneider-Pargmann (TI.com)
For completeness add it. Signed-off-by: Markus Schneider-Pargmann (TI.com) <[email protected]>
2026-01-16usb: xhci-dwc3: Add "apple,t8103-dwc3" compatibleJanne Grunau
The Linux support for dwc3 on Apple silicon SoCs switched to using a apple specific glue driver [1] that uses it own compatible string. The glue driver handles platform specific requirements on the interaction between dwc3 and the USB2/USB3 PHY and reset-controller for USB role switches and plug events. To keep USB working as before when the nodes still carried "snps,dwc3" as compatible add "apple,t8103-dwc3" to the of match table. Eventually it is probably advisable to add a dwc3-apple glue driver and write code for the currently empty Apple Type-C PHY driver in phy-apple-atc.c. Link: https://lore.kernel.org/asahi/[email protected]/ [1] Reviewed-by: Neal Gompa <[email protected]> Reviewed-by: Mark Kettenis <[email protected]> Reviewed-by: Marek Vasut <[email protected]> Signed-off-by: Janne Grunau <[email protected]>
2026-01-16test: abootimg: Add test for bootconfig handlingGuillaume La Roque (TI.com)
Add test to verify that androidboot.* parameters are correctly extracted from bootargs and appended to the bootconfig section when using 'abootimg get ramdisk' with boot image v4 and vendor_boot image. The test verifies: - androidboot.* parameters are removed from bootargs - They are appended to the bootconfig section in the ramdisk - Non-androidboot parameters remain in bootargs - The bootconfig trailer is properly updated Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Guillaume La Roque (TI.com) <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]> Link: https://lore.kernel.org/r/[email protected] [mkorpershoek: dropped whitespace changes from original patch] Signed-off-by: Mattijs Korpershoek <[email protected]>
2026-01-16arm64: versal2: Fix emmc boot mode boot_target issuePranav Tilak
The eMMC boot device controller on Versal2 requires device pointer initialization before accessing its sequence number. The EMMC_MODE case was using dev_seq(dev) on an uninitialized pointer, causing corrupted boot_targets entries (mmc7f7fbfbf instead of mmc0/mmc1). Add uclass_get_device_by_name() call to properly initialize the device pointer before reading the sequence number. The dev sequence number is determined at runtime based on DT aliases. Fix boot_targets corruption in eMMC boot mode, allowing proper boot device selection instead of falling back to JTAG mode. Signed-off-by: Pranav Tilak <[email protected]> Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2026-01-15Merge tag 'net-20260115' of https://source.denx.de/u-boot/custodians/u-boot-netTom Rini
Pull request net-20260115. CI: https://source.denx.de/u-boot/custodians/u-boot-net/-/pipelines/29008 net: - phy: micrel KSZ9031 and KSZ9021 fixes - phy: marvell10g fix - Fix "net stats" help - Add Microsemi/Microchip MDIO driver - tftpput: Rework to exclude code from xPL phases net-legacy: - Some refactoring to help with lwIP NF support net-lwip: - Add NFS support
2026-01-15cmd: abootimg: Add 'get ramdisk' commandGuillaume La Roque (TI.com)
Add support for retrieving ramdisk address and size from Android boot images. This command allows users to extract the ramdisk information for boot image v3+ which combines vendor ramdisk, boot ramdisk and bootconfig sections. Reviewed-by: Mattijs Korpershoek <[email protected]> Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Guillaume La Roque (TI.com) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mattijs Korpershoek <[email protected]>
2026-01-15boot: android: Add bootconfig supportGuillaume La Roque (TI.com)
For android vendor boot image version 4 bootconfig is mandatory.[1] In the android_image_get_ramdisk function, after copying both vendor and boot ramdisks, we extract all androidboot.* entries from the kernel command line. These entries are added to the bootconfig section. We then update the sizes of the ramdisk and bootconfig. Finally, all androidboot.* entries are removed from the kernel command line. [1] https://source.android.com/docs/core/architecture/partitions/vendor-boot-partitions#bootloader-support Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Guillaume La Roque (TI.com) <[email protected]> Link: https://lore.kernel.org/r/[email protected] [mkorpershoek: dropped irrelevant code comments] Signed-off-by: Mattijs Korpershoek <[email protected]>
2026-01-15boot: android: Add sandbox memory mapping supportGuillaume La Roque (TI.com)
Use map_to_sysmem() to convert header pointers to physical addresses in parse_hdr functions, and add proper map_sysmem()/unmap_sysmem() calls in android_image_get_data() for sandbox compatibility. Reviewed-by: Mattijs Korpershoek <[email protected]> Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Guillaume La Roque (TI.com) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mattijs Korpershoek <[email protected]>
2026-01-15boot: android: import addBootConfigParameters() from AOSPMattijs Korpershoek (TI.com)
To properly implement Android boot image v4, U-Boot must be able to add additional entries to the bootconfig. Add `add_bootconfig_parameters()` to do so. This has been imported from Google's U-Boot source[1] The variables/function names have been reworked to be compliant with U-Boot's coding style. [1] https://android.googlesource.com/platform/external/u-boot/+/7af0a0506d4de6f5ea147d10fb0664a8af07d326 Signed-off-by: Mattijs Korpershoek (TI.com) <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]> Signed-off-by: Guillaume La Roque (TI.com) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mattijs Korpershoek <[email protected]>
2026-01-15net: phy: micrel_ksz90x1: support forced GIGE master for KSZ9031Markus Niebel
The micrel KSZ9031 phy has a optional clock pin (CLK125_NDO) which can be used as reference clock for the MAC unit. The clock signal must meet the RGMII requirements to ensure the correct data transmission between the MAC and the PHY. The KSZ9031 phy does not fulfill the duty cycle requirement if the phy is configured as slave. For a complete describtion look at the errata sheets: DS80000691D or DS80000692D. The errata sheet recommends to force the phy into master mode whenever there is a 1000Base-T link-up as work around. Only set the "micrel,force-master" property if you use the phy reference clock provided by CLK125_NDO pin as MAC reference clock in your application. Attention: this workaround is only usable if the link partner can be configured to slave mode for 1000Base-T. This follows linux implementation in commit e1b505a60366 ("net: phy: micrel: add 125MHz reference clock workaround") Signed-off-by: Markus Niebel <[email protected]> Signed-off-by: Max Merchel <[email protected]>
2026-01-15net: phy: micrel_ksz90x1: disable asymmetric pause for KSZ9031 and KSZ9021Markus Niebel
Disable the support due to chip errata and call genphy_config_aneg instead of genphy_config. For a complete describtion look at the KSZ9031 errata sheets: DS80000691D or DS80000692D. Micrel KSZ9021 has no errata, but has the same issue with Asymmetric Pause. This patch apply the same workaround as the one for KSZ9031. This follows linux implementation in commits 3aed3e2a143c ("net: phy: micrel: add Asym Pause workaround") 407d8098cb1a ("net: phy: micrel: add Asym Pause workaround for KSZ9021") Signed-off-by: Markus Niebel <[email protected]> Signed-off-by: Max Merchel <[email protected]>
2026-01-15net: phy: marvell10g: Fix PHY mode bitmap handlingMarek Vasut
Replace PHY interface mode bitmap handling with comparison test to match U-Boot PHY subsystem behavior. U-Boot currently implements only single PHY interface mode for each PHY. Linux currently uses bitmap of PHY interface modes for each PHY. The reason why in Linux uses bitmap of supported interface modes is so that Linux can select the best serdes mode switching behavior for the PHY. For example if the host only supports 10gbase-r serdes mode, then the PHY must always talk to the host in 10gbase-r mode, even if the RJ-45 copper speed was autonegotiated to lower speed (i.e. 1Gbps). If the host supports both 10gbase-r and sgmii serdes modes, we want the PHY to switch to sgmii if the RJ-45 speed is 1000/100/10, and to switch to 10gbase-r if the RJ-45 speed is 10000. U-Boot does not implement this functionality yet, therefore remove modes which cannot be currently supported and switch mv_test_bit() to plain mode comparison. Fixes: b6fcab0728cb ("net: phy: marvell10g: Adapt Marvell 10G PHY driver from Linux") Signed-off-by: Marek Vasut <[email protected]>
2026-01-15Add missing “net” prefix in help netLink Mauve
The usage of the net sub-system was missing the complete command for “net stats”. Signed-off-by: Link Mauve <[email protected]> Reviewed-by: Jerome Forissier <[email protected]>
2026-01-15net: add Microsemi/Microchip MDIO driverRobert Marko
Add Microsemi/Microchip MDIO driver for interfaces found in their network switches. Driver is based on the Linux version. Signed-off-by: Robert Marko <[email protected]> Acked-by: Jerome Forissier <[email protected]>
2026-01-15net: tftpput: Rework to exclude code from xPL phasesTom Rini
Given how the support for CONFIG_CMD_TFTPPUT is woven through the support for the tftp protocol we currently end up including "put" support in xPL phases, if enabled. This in turn can lead to size overflow on those platforms as xPL tends to be constrained. To resolve this, use "CMD_TFTPPUT" in the code to check for both CONFIG_CMD_TFTPPUT being true and not being in an xPL build phase. Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Jerome Forissier <[email protected]>
2026-01-15configs: qemu_arm64_lwip_defconfig: enable CMD_NFSAndrew Goodbody
Enable NFS command so that it gets built by CI and can be tested more easily. Signed-off-by: Andrew Goodbody <[email protected]> Acked-by: Jerome Forissier <[email protected]>
2026-01-15net: lwip: nfs: Port the NFS code to work with lwIPAndrew Goodbody
After the preparatory patches moved most of the NFS code into common files we now add the code to enable NFS support with lwIP. Signed-off-by: Andrew Goodbody <[email protected]> Acked-by: Jerome Forissier <[email protected]>
2026-01-15net: nfs: Move most NFS code to common filesAndrew Goodbody
Move most of the NFS code into common files so that it can be used by an lwIP port of NFS. Acked-by: Jerome Forissier <[email protected]> Signed-off-by: Andrew Goodbody <[email protected]>
2026-01-15net: nfs: Add licence headerAndrew Goodbody
Add the same GPL2+ licence header to the NFS code as appears on other NFS related files. Acked-by: Jerome Forissier <[email protected]> Signed-off-by: Andrew Goodbody <[email protected]>
2026-01-15net: Move some variables to net-common filesAndrew Goodbody
Make some variables available to be used by either the legacy network code or lwIP by moving them into the net-common files. This also allowed removing a small number of duplicated variables from the lwIP code. Signed-off-by: Andrew Goodbody <[email protected]> Reviewed-by: Jerome Forissier <[email protected]>
2026-01-15net: move net_state to net-commonAndrew Goodbody
Move the net_state variable into common code so that it can be used by either the legacy network code or lwIP. This is needed for porting across the NFS support code for use with lwIP. Signed-off-by: Andrew Goodbody <[email protected]> Reviewed-by: Jerome Forissier <[email protected]>
2026-01-15net:lwip: Add debug line to net-lwipAndrew Goodbody
When debugging the LWIP NFS implementation this debug line helped to show the cause of an error. This could be useful to someone in the future. Signed-off-by: Andrew Goodbody <[email protected]> Reviewed-by: Jerome Forissier <[email protected]>