summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2026-05-06net: lwip/wget: don't print content size twiceHeinrich Schuchardt
If wget_info->silent is set, we should not print anything. If wget_info->silent we print the received content size. Printing the value of the Content-Length header is redundant For chunked transfer no Content-Length header is sent. The content length is returned as HTTPC_CONTENT_LEN_INVALID by the LwIP library. In this case we were incorrectly printing '4 GiB'. Signed-off-by: Heinrich Schuchardt <[email protected]> Reviewed-by: Jerome Forissier <[email protected]>
2026-05-06net: lwip/wget: missing linefeed in diagnostic outputHeinrich Schuchardt
With NET_LWIP wget produces this output with an overlong line and missing white space: => wget $kernel_addr_r http://example.com/ ################################################# 4 GiB540 bytes transferred in 2 ms (263.7 KiB/s) Bytes transferred = 540 (21c hex) Removing the condition on inserting a line feed yields: => wget $kernel_addr_r http://example.com/ ################################################# 4 GiB 540 bytes transferred in 2 ms (263.7 KiB/s) Bytes transferred = 540 (21c hex) Signed-off-by: Heinrich Schuchardt <[email protected]> Reviewed-by: Jerome Forissier <[email protected]>
2026-05-06net: nfs: fix buffer overflow in nfs_readlink_reply()Sebastian Josue Alba Vives
nfs_readlink_reply() validates rlen only against the incoming packet length (inherited from CVE-2019-14195), but not against the destination buffer nfs_path_buff[2048]. A malicious NFS server can send a valid READLINK reply where pathlen + rlen exceeds sizeof(nfs_path_buff), overflowing the BSS buffer into adjacent memory. The recent fix in fd6e3d34097f addressed the same overflow class in net/lwip/nfs.c but left the legacy path in net/nfs-common.c unpatched. Add bounds checks before both memcpy calls in nfs_readlink_reply(): - relative path branch: reject if pathlen + rlen >= sizeof(nfs_path_buff) - absolute path branch: reject if rlen >= sizeof(nfs_path_buff) Fixes: cf3a4f1e86 ("net: nfs: Fix CVE-2019-14195") Cc: [email protected] Signed-off-by: Sebastian Alba Vives <[email protected]> Reviewed-by: Jerome Forissier <[email protected]>
2026-05-06net: phy: dp83867: default to 2ns delay if unspecified in device-treeSiddharth Vadapalli
Since Linux commit c360eb0c3ccb ("dt-bindings: net: ethernet-controller: Add informative text about RGMII delays"), the interpretation of RGMII delays has changed. Prior to the commit, the RGMII Variant among "rgmii", "rgmii-id", "rgmii-rxid" and "rgmii-txid" clearly specified whether it is the MAC or the PHY that "should" add the delay. However, post that commit, the RGMII Variant only specifies whether or not there is a delay on the PCB traces between the MAC and the PHY, leaving it open as to who adds the delay. Hence, instead of enforcing the existence of the device-tree properties "ti,rx-internal-delay" and "ti,tx-internal-delay", default to a delay of 2ns, while continuing to override this delay with the aforementioned properties, if they exist in the device-tree. This is in line with the Linux driver implementation updated by commit 6bf78849371d ("net: phy: dp83867: use 2ns delay if not specified in DTB"). Signed-off-by: Siddharth Vadapalli <[email protected]> Reviewed-by: Anshul Dalal <[email protected]>
2026-05-06configs: ten64: add USB start to prebootMathew McBride
There are two reasons why the USB stack needs to be started before handing to bootflow or other boot sequences: 1. When a USB hub is present on the board, we need to do the required sequences to make it usable 2. To make USB storage devices 'visible' to bootflow without further intervention Signed-off-by: Mathew McBride <[email protected]> Signed-off-by: Peng Fan <[email protected]>
2026-05-06arm: dts: remove local copy of Ten64 board DTSMathew McBride
This board has been migrated to the upstream / kernel device tree version (OF_UPSTREAM), so remove the old 'local' copies that are no longer required. However, the -u-boot.dtsi append needs to remain, because the SoC fsl-ls1088a-u-boot.dtsi is required for some devices (like PCIe controllers and DPAA2 ethernet) to properly enumerate under U-Boot. Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Mathew McBride <[email protected]> Signed-off-by: Peng Fan <[email protected]>
2026-05-06configs: ten64: switch to OF_UPSTREAMMathew McBride
Two recent additions to the mainline device tree allow us to switch away from the local U-Boot copy: * Board/embedded controller (traverse,ten64-controller) is now in the mainline device tree. * USB Hub (USB5744) connections were also added to the mainline device tree but not in U-Boot. The LS1088A and Ten64 device trees in U-Boot were actually 'synced' to mainline some time ago, so the content (except for the changes mentioned above) is identical. Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Mathew McBride <[email protected]> Signed-off-by: Peng Fan <[email protected]>
2026-05-06configs: ten64: enable USB_ONBOARD_HUB (USB5744) optionMathew McBride
Ten64 board revs A through C have a Microchip USB5744 hub on the board, which must be configured over I2C at boot time to become usable. This function has not been part of the mainline U-Boot for this board until now, as a mainline driver and device-tree binding is now available for the USB5744. Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Mathew McBride <[email protected]> Signed-off-by: Peng Fan <[email protected]>
2026-05-06configs: ten64: enable OF_BOARD_FIXUPMathew McBride
We have added board_fix_fdt to remove elements from U-Boot's internal FDT related to the USB hub, so CONFIG_OF_BOARD_FIXUP needs to be enabled to utilize it. Signed-off-by: Mathew McBride <[email protected]> Signed-off-by: Peng Fan <[email protected]>
2026-05-06board: ten64: remove USB hub references from internal FDT when neededMathew McBride
More recent revisions of the Ten64 board do not have a USB Hub (USB5744). The references to the USB5744 need to be removed in U-Boot's internal FDT to avoid the USB5744 setup being invoked on these boards. Reviewed-by: Peng Fan <[email protected]> Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Mathew McBride <[email protected]> Signed-off-by: Peng Fan <[email protected]>
2026-05-06board: ten64: add fdt fixup to hide usb hub topologyMathew McBride
The USB Hub (microchip,usb5744) can enter a dis-/reconnect loop if a driver tries to re-initialise the hub over I2C. On the Ten64 board, this process only needs to be run once per system reset cycle, which is carried out by U-Boot. As there are distributions shipping with the affected driver by default, the best solution is to remove the USB hub topology information from the FDT passed to the operating system, so the OS won't attempt to re-initialise the USB hub under any circumstance. Signed-off-by: Mathew McBride <[email protected]> Signed-off-by: Peng Fan <[email protected]>
2026-05-06arm: gpio: include integer type definitions for gpio.hMathew McBride
Both consumers and sub-arch specific versions of gpio.h may reference stdint or other non-C90 type definitions. Ensure the common ones are available by including linux/types.h before any other headers. This issue came to light when the usb onboard hub driver was enabled for ten64_tfa_defconfig: In file included from ./arch/arm/include/asm/gpio.h:2, from common/usb_onboard_hub.c:10: ./arch/arm/include/asm/arch/gpio.h:17:9: error: unknown type name 'ulong' 17 | ulong addr; ./arch/arm/include/asm/arch/gpio.h:18:9: error: unknown type name 'ulong' 18 | ulong size; ./arch/arm/include/asm/arch/gpio.h:19:9: error: unknown type name 'uint' 19 | uint ngpios; (In this instance, the cited errors actually originate from arch/arm/include/asm/arch-fsl-layerscape/gpio.h, which is included by the arm top level asm/gpio.h) Implemented as per suggestion from Quentin Schulz in Link: Signed-off-by: Mathew McBride <[email protected]> Link: https://lore.kernel.org/u-boot/[email protected]/ Signed-off-by: Peng Fan <[email protected]>
2026-05-06arm: dts: layerscape: Fix SPI flash compatible string issueYe Li
When CONFIG_DM_SPI_FLASH is enabled, sf command will default find device from DT which requires to use "jedec,spi-nor" compatible string not obsoleted "spi-flash". So update NXP LS DTS to use new compatible string Signed-off-by: Ye Li <[email protected]> Acked-by: Peng Fan <[email protected]> Signed-off-by: Peng Fan <[email protected]>
2026-05-06arm: dts: layerscape: Fix DT build warning in SPI nodesYe Li
There are lots of DT warning in layerscape DTS files like: node name for SPI buses should be 'spi' and SPI bus unit address format error. Update the spi node name and flash node name to avoid build warning Signed-off-by: Ye Li <[email protected]> Acked-by: Peng Fan <[email protected]> Signed-off-by: Peng Fan <[email protected]>
2026-05-06arm: dts: fsl-ls1088a: Enable USB nodesYe Li
Enable USB nodes in -u-boot.dtsi. After sync dts with kernel, USB nodes status are set to disabled. So "usb start" does not work on ls1088ardb and ls1088aqds. Fixes: 10ff7e6b043b ("arm: dts: fsl-ls1088a: sync usb controller nodes with Linux") Signed-off-by: Ye Li <[email protected]> Tested-by: Wei Lu <[email protected]> Reviewed-by: Peng Fan <[email protected]> Signed-off-by: Peng Fan <[email protected]>
2026-05-06arm: dts: fsl-ls1088a: Enable SD deviceYe Li
Due to update of fsl-ls1088a.dtsi in previous patch, the esdhc node is disabled, so u-boot can't to probe any eSDHC controller. Fixes: fd4f7b0158d0 ("arm: dts: fsl-ls1088a: move and sync existing bindings to be under /soc") Signed-off-by: Ye Li <[email protected]> Tested-by: Wei Lu <[email protected]> Reviewed-by: Peng Fan <[email protected]> Signed-off-by: Peng Fan <[email protected]>
2026-05-06arm: dts: fsl-ls1088a: Set dpmac nodes default to disabledYe Li
Disable ethernet controller dpmac nodes in fsl-ls1088a.dtsi. Board dts is responsible to enable them. Otherwise will meet failure from ldpaa_eth driver on LS1088AQDS board, because only few dpmac controllers can be enabled on this board. Signed-off-by: Ye Li <[email protected]> Tested-by: Wei Lu <[email protected]> Reviewed-by: Peng Fan <[email protected]> Signed-off-by: Peng Fan <[email protected]>
2026-05-06arm: dts: fsl-ls1088a-qds: Fix missed -u-boot.dtsiYe Li
LS1088AQDS u-boot contains multiple DTB files: fsl-ls1088a-qds-21-x.dtb and fsl-ls1088a-qds-29-x.dtb. It does not use default device tree fsl-ls1088a-qds.dtb However, the nodes updated in fsl-ls1088a-qds-u-boot.dtsi are not included for fsl-ls1088a-qds-21-x.dts and fsl-ls1088a-qds-29-x.dts, so fail to get any output from serial. Signed-off-by: Ye Li <[email protected]> Tested-by: Wei Lu <[email protected]> Reviewed-by: Peng Fan <[email protected]> Signed-off-by: Peng Fan <[email protected]>
2026-05-06arm: layerscape: Check zero size memory bank before lmb_addYe Li
In layerspace's lmb_arch_add_memory implementation, all memory bank are added to lmb, even some is with zero size. This will cause lmb treating it as overlap with available memory by lmb_addrs_overlap and merge with available memory. Finally causing available memory start address changed to 0. For example, on LX2160, before zero memory bank added to lmb, there are two available memory regions: - region 0, start 0x80000000, size 0x7be00000 - region 1, start 0x2080000000, size 0x700000000 After zero size memory bank added, merge to one region: - region 0, start 0, size 0x2780000000 This wrong new region causes efi_memory_init issue when allocating bounce buffer because of conflict address (with uboot reserved) is allocated. Signed-off-by: Ye Li <[email protected]> Reviewed-by: Peng Fan <[email protected]> Signed-off-by: Peng Fan <[email protected]>
2026-05-06powerpc: fix dead default for SYS_L3_SIZEJulian Braha
The 'default ... if SYS_L3_SIZE_512KB' statement is written twice, making the second instance dead code. Based on the context, I believe the author of the code intended to set a default value of '1048576' when SYS_L3_SIZE_1024KB is set. This dead code was detected by kconfirm, a static analysis tool for Kconfig. Fixes: b85d75951fe ("powerpc: Migrate SYS_L3_SIZE to Kconfig") Signed-off-by: Julian Braha <[email protected]> Signed-off-by: Peng Fan <[email protected]>
2026-05-06mmc: msm_sdhci: Use max-frequency to get clock rateVaradarajan Narayanan
msm_sdc_clk_init() uses clock-frequency to get the clock rate for SDC clocks. However, the DT files seem to use max-frequency for the same. Since msm_sdc_clk_init() doesn't find clock-frequency in the DT, it sets 201500000 as the clock rate and this results in timeout errors on IPQ platforms. Additionally, clock-frequency is not DT bindings compliant. Hence, get clock rate using DT bindings compliant max-frequency. Signed-off-by: Varadarajan Narayanan <[email protected]> Reviewed-by: Sumit Garg <[email protected]> Signed-off-by: Peng Fan <[email protected]>
2026-05-06power: regulator: Correct Kconfig for PFUZE100Peng Fan
Use CONFIG_$(PHASE_)DM_REGULATOR_PFUZE100 as the build condition for pfuze100 regulator driver. Add Kconfig option for SPL_DM_REGULATOR_PFUZE100. To avoid break current platforms, set the Kconfig default value same as PMIC_PFUZE100. Signed-off-by: Peng Fan <[email protected]>
2026-05-06power: regulator: pfuze100: support non-independent modePeng Fan
Some BUCKs could work in single/dual phase mode, not in independent mode. In single/dual phase mode, registers of both regulators, must be identically set. So configure mode and value for both BUCKs. CONF registers are not touched, leave them as default OTP settings. PFUZE100/200 SW3A/B, could work in single/dual phase mode, so introduce a new macro by adding a pointer to the SW3B descriptor. Signed-off-by: Peng Fan <[email protected]>
2026-05-06power: regulator: pfuze100: support high output voltage modePeng Fan
Some PFUZE regulators can operate in either low or high output voltage mode, with different minimum voltages and voltage step sizes selected by a hardware control bit. However, the current PFUZE100 regulator driver assumes low output voltage mode only, resulting in incorrect voltage calculation and programming when high voltage mode is enabled. Extend the regulator descriptor to describe high output voltage mode by adding a mask to detect the mode and a dedicated voltage description (min_uV and step size). Update voltage get/set handling to dynamically select the correct voltage parameters based on the high voltage mode bit. Signed-off-by: Peng Fan <[email protected]>
2026-05-06power: regulator: pfuze100: Fix min_uV usagePeng Fan
regulator-min-microvolt in device tree is not always match the minimal voltage in the pmic datasheet, direclty using the min value from device tree as base may cause wrong voltage settings being written. Directly use the min_uV from datasheet to avoid wrong settings. Signed-off-by: Peng Fan <[email protected]>
2026-05-06power: regulator: tps65941: Enable FPWM bitsNeha Malcom Francis
Depending on the phase selection (single or multi), the FPWM bits configured forces the regulator to operate in PWM mode. In case of multi-phase selection, the FPWM_MP bits enforce the regulator to also operate in multi-phase. This fixes correct multi-phase operation. While at this, correct incorrect macro alignment as well. Fixes: 065a452ae6a1 ("power: regulator: tps65941: add regulator support") Link: https://www.ti.com/lit/ds/symlink/tps6594-q1.pdf Signed-off-by: Keerthy <[email protected]> Signed-off-by: Takuma Fujiwara <[email protected]> Signed-off-by: Neha Malcom Francis <[email protected]> Reviewed-by: Udit Kumar <[email protected]> Signed-off-by: Peng Fan <[email protected]>
2026-05-05Merge patch series "binman: Fix preload signing with encrypted FIT"Tom Rini
Yan WANG <[email protected]> says: This series improves the reliability and efficiency of binman preload header generation and test it against an encrypted FIT image signed with a preload header. When a preload header references other entries (e.g. an encrypted FIT) through the collection etype, the referenced entries may be rebuilt multiple times during binman processing. This becomes problematic when the referenced entry produces non-deterministic output, such as FIT encryption using random IVs or timestamps, since rebuilding the entry changes the data. This series ensures that referenced entries are built only once and that preload signing is performed after all data is collected. It also avoids unnecessary repacking or repeated signing operations by the preload. The changes include: * generate preload header placeholders in ObtainContents() and sign data only once in ProcessContentsUpdate() * mark referenced entries as build_done in the collection etype to avoid rebuilding data * add a functional test for signing an encrypted FIT with a preload header Link: https://lore.kernel.org/r/[email protected]
2026-05-05tools: binman: Test signing an encrypted FIT with a preload headerPaul HENRYS
Add a test to verify the preload header correctly signs an encrypted FIT. This test exercises the case where encryption uses random IVs that would change between mkimage calls. Signed-off-by: Paul HENRYS <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2026-05-05binman: collection: Set build_done on referenced entriesyan wang
The collection etype uses phandles in the 'content' property to reference other entries. Mark each referenced entry with build_done to avoid rebuilding the same entry data multiple times. This is important for cases where rebuilding may change the data content, e.g. due to timestamps or random IVs in encryption. Refactor GetContentsByPhandle() to return both the entry object and its data. Signed-off-by: yan wang <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2026-05-05binman: Generate preload header and sign data only oncePaul HENRYS
To optimize preload generation, generate the header and signatures only after all data has been collected in ProcessContentsUpdate(). This avoids signing the data multiple times. Since header_size is known upfront (from __init__), create a placeholder in `ObtainContents()` to avoid an extra packing pass when ProcessContentsUpdate() detects a size change. This reduces unnecessary repacking and signing operations. Signed-off-by: Paul HENRYS <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2026-05-05configs: phycore_am62x_r5_ethboot: Drop duplicate CONFIG entriesAristo Chen
CONFIG_SPL_MMC=n and CONFIG_SPL_DM_SPI=n are each listed twice in the defconfig. Remove the redundant occurrences so each option appears only once. Signed-off-by: Aristo Chen <[email protected]>
2026-05-05configs: phycore_am62ax_r5_ethboot: Drop duplicate CONFIG_SPL_MMCAristo Chen
CONFIG_SPL_MMC=n is listed twice in the defconfig. Remove the redundant occurrence so each option appears only once. Signed-off-by: Aristo Chen <[email protected]>
2026-05-05configs: r8a78000_ironhide: Drop duplicate CONFIG_SCMI_FIRMWAREAristo Chen
CONFIG_SCMI_FIRMWARE=y is listed twice in the defconfig. Remove the redundant occurrence so each option appears only once. Signed-off-by: Aristo Chen <[email protected]>
2026-05-05Merge patch series "configs: toradex: Enable EFI"Tom Rini
Francesco Dolcini <[email protected]> says: Enable standard EFI support for all the arm64 Toradex boards, as required for booting standard aarch64 Linux distribution, following the ARM recommendations for SystemReady compliance. The RTC used on these boards is not currently supported by U-Boot, therefore it is not enabled at the moment. Link: https://developer.arm.com/documentation/DUI1101/4-5/Configure-U-Boot-for-SystemReady Link: https://lore.kernel.org/r/[email protected]
2026-05-05configs: verdin-imx95: Enable EFI related optionsFrancesco Dolcini
Enable EFI related options, as suggested for booting standard aarch64 Linux distribution, following the ARM recommendations for SystemReady compliance [1]. The RTC used on this board is not currently supported by U-Boot, therefore it is not enabled at the moment. Link: https://developer.arm.com/documentation/DUI1101/4-5/Configure-U-Boot-for-SystemReady [1] Signed-off-by: Francesco Dolcini <[email protected]>
2026-05-05configs: verdin-imx8mp: Enable EFI related optionsFrancesco Dolcini
Enable EFI related options, as suggested for booting standard aarch64 Linux distribution, following the ARM recommendations for SystemReady compliance [1]. The RTC used on this board is not currently supported by U-Boot, therefore it is not enabled at the moment. Link: https://developer.arm.com/documentation/DUI1101/4-5/Configure-U-Boot-for-SystemReady [1] Signed-off-by: Francesco Dolcini <[email protected]>
2026-05-05configs: verdin-imx8mm: Enable EFI related optionsFrancesco Dolcini
Enable EFI related options, as suggested for booting standard aarch64 Linux distribution, following the ARM recommendations for SystemReady compliance [1]. The RTC used on this board is not currently supported by U-Boot, therefore it is not enabled at the moment. Link: https://developer.arm.com/documentation/DUI1101/4-5/Configure-U-Boot-for-SystemReady [1] Signed-off-by: Francesco Dolcini <[email protected]>
2026-05-05configs: verdin-am62p: Enable EFI related optionsFrancesco Dolcini
Enable EFI related options, as suggested for booting standard aarch64 Linux distribution, following the ARM recommendations for SystemReady compliance [1]. The RTC used on this board is not currently supported by U-Boot, therefore it is not enabled at the moment. Link: https://developer.arm.com/documentation/DUI1101/4-5/Configure-U-Boot-for-SystemReady [1] Signed-off-by: Francesco Dolcini <[email protected]>
2026-05-05configs: verdin-am62: Enable EFI related optionsFrancesco Dolcini
Enable EFI related options, as suggested for booting standard aarch64 Linux distribution, following the ARM recommendations for SystemReady compliance [1]. The RTC used on this board is not currently supported by U-Boot, therefore it is not enabled at the moment. Link: https://developer.arm.com/documentation/DUI1101/4-5/Configure-U-Boot-for-SystemReady [1] Signed-off-by: Francesco Dolcini <[email protected]>
2026-05-05configs: toradex-smarc-imx95: Enable EFI related optionsFrancesco Dolcini
Enable EFI related options, as suggested for booting standard aarch64 Linux distribution, following the ARM recommendations for SystemReady compliance [1]. The RTC used on this board is not currently supported by U-Boot, therefore it is not enabled at the moment. Link: https://developer.arm.com/documentation/DUI1101/4-5/Configure-U-Boot-for-SystemReady [1] Signed-off-by: Francesco Dolcini <[email protected]>
2026-05-05configs: toradex-smarc-imx8mp: Enable EFI related optionsFrancesco Dolcini
Enable EFI related options, as suggested for booting standard aarch64 Linux distribution, following the ARM recommendations for SystemReady compliance [1]. The RTC used on this board is not currently supported by U-Boot, therefore it is not enabled at the moment. Link: https://developer.arm.com/documentation/DUI1101/4-5/Configure-U-Boot-for-SystemReady [1] Signed-off-by: Francesco Dolcini <[email protected]>
2026-05-05configs: colibri-imx8x: Enable EFIFrancesco Dolcini
Enable standard EFI support, as required for booting standard aarch64 Linux distribution, following the ARM recommendations for SystemReady compliance [1]. The RTC used on this board is not currently supported by U-Boot, therefore it is not enabled at the moment. Link: https://developer.arm.com/documentation/DUI1101/4-5/Configure-U-Boot-for-SystemReady [1] Signed-off-by: Francesco Dolcini <[email protected]>
2026-05-05configs: aquila-am69: Enable EFI related optionsFrancesco Dolcini
Enable EFI related options, as suggested for booting standard aarch64 Linux distribution, following the ARM recommendations for SystemReady compliance [1]. The RTC used on this board is not currently supported by U-Boot, therefore it is not enabled at the moment. Link: https://developer.arm.com/documentation/DUI1101/4-5/Configure-U-Boot-for-SystemReady [1] Signed-off-by: Francesco Dolcini <[email protected]>
2026-05-05configs: apalis-imx8: Enable EFIFrancesco Dolcini
Enable standard EFI support, as required for booting standard aarch64 Linux distribution, following the ARM recommendations for SystemReady compliance [1]. The RTC used on this board is not currently supported by U-Boot, therefore it is not enabled at the moment. Link: https://developer.arm.com/documentation/DUI1101/4-5/Configure-U-Boot-for-SystemReady [1] Signed-off-by: Francesco Dolcini <[email protected]>
2026-05-05efi_mem_sort: use list_for_each_entry_safe insteadRandolph Sapp
Use list_for_each_entry_safe and comparisons against the current and next efi_mem_desc. This reduces the computation required for merging regions, prevents unnecessary additional iterations of the list, and requires less temporary values. Signed-off-by: Randolph Sapp <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2026-05-05efi_selftest_memory: check for duplicates firstRandolph Sapp
Check for duplicate memory mappings before reporting any incorrect attributes. Could be that second allocation has the correct type while the first doesn't. Knowing there is a duplicate in this scenario is more helpful than just reporting the first mismatch. Signed-off-by: Randolph Sapp <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2026-05-05efi_dt_fixup: use fdtdec_get_boolRandolph Sapp
Use the more straightforward fdtdec_get_bool instead of fdt_getprop and a return code check. Signed-off-by: Randolph Sapp <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]> Reviewed-by: Anshul Dalal <[email protected]> Reviewed-by: Heinrich Schuchardt <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2026-05-05lmb: allocation flags macro documentationRandolph Sapp
Update the allocation flags inline documentation to follow the kernel object like macro documentation specification. Use active voice for the short descriptions. Signed-off-by: Randolph Sapp <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2026-05-05cmd: eficonfig: adjust struct eficonfig_entry, field keyHeinrich Schuchardt
The number EFICONFIG_ENTRY_NUM_MAX - 1 must be printable to field key of struct eficonfig_entry. Fixes: 1f0583beeb32 ("eficonfig: set EFICONFIG_ENTRY_NUM_MAX to INT_MAX - 1") Fixes: 23aa0502a4b9 ("eficonfig: increase the number of menu entries") Addresses-Coverity-ID: 583414 - Out-of-bounds write Reviewed-by: Ilias Apalodimas <[email protected]> Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Heinrich Schuchardt <[email protected]>
2026-05-05efi_loader: initialize variables in efi_dp_from_http()Heinrich Schuchardt
When using lwIP, efi_dp_from_http() may fail to initialize ip or mask. Initialize the variables before the call. Addresses-Coverity-ID: 645840 - Uninitialized variables (UNINIT) Reviewed-by: Ilias Apalodimas <[email protected]> Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Heinrich Schuchardt <[email protected]>