summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2026-05-18clk: stub: Sort compatible strings alphabeticallyBalaji Selvanathan
Reorder compatible strings in stub_clk_ids to maintain alphabetical order for easier maintenance. Signed-off-by: Balaji Selvanathan <[email protected]> Reviewed-by: Sumit Garg <[email protected]> Reviewed-by: Casey Connolly <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Casey Connolly <[email protected]>
2026-05-18fs: ubifs: remove dead codePeter Collingbourne
This code is dead because it appears after an infinite loop; remove it. Fixes: d5888d509cc4 ("fs: ubifs: fix bugs involving symlinks in ubifs_findfile") Signed-off-by: Peter Collingbourne <[email protected]> Reviewed-by: Heiko Schocher <[email protected]> hs: corrected the commit ID
2026-05-18efi_selftest: test hii keyboard layouts moreVincent Stehlé
The HII database test for keyboard layouts register two package lists with two keyboard layouts each, but the test verifies only the GUID of the first keyboard layout. This does not catch the bugs happening with the keyboard layouts after the first one in a package. Verify all the keyboard layout GUIDs in the unit test to prevent this. Signed-off-by: Vincent Stehlé <[email protected]> Cc: Heinrich Schuchardt <[email protected]> Cc: Ilias Apalodimas <[email protected]> Cc: Tom Rini <[email protected]>
2026-05-18efi_loader: fix hii keyboard layout pointer computationVincent Stehlé
The EFI_HII_KEYBOARD_LAYOUT field `layout_length' is expressed in bytes, but we add it to the `layout' pointer with (scaled) pointer arithmetic. When adding an HII keyboard package with multiple keyboard layouts, this results in only the first layout being added correctly; fix it. Fixes: 8d3b77e36e10 ("efi: hii: add keyboard layout package support") Signed-off-by: Vincent Stehlé <[email protected]> Cc: Heinrich Schuchardt <[email protected]> Cc: Ilias Apalodimas <[email protected]> Cc: Tom Rini <[email protected]> Cc: AKASHI Takahiro <[email protected]>
2026-05-18doc: usage: cmd: reset: specify when the -edl option is availableQuentin Schulz
The option is only available when CONFIG_SYSRESET_QCOM_PSCI is enabled, so let's make that explicit in the boot cmd documentation. Due to the implementation in drivers/sysreset/sysreset-uclass.c do_reset() function, all options to the reset command are passed to all sysreset drivers' sysreset_ops.request_arg callback (including -w) which is only available when CONFIG_SYSRESET_CMD_RESET_ARGS=y. -w, however, works also without this option. Fixes: ef06c5d76ff4 ("cmd: boot: Add '-edl' option to reset command documentation") Signed-off-by: Quentin Schulz <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2026-05-18doc: usage: cmd: reset: fix typoQuentin Schulz
"Do warm WARM" doesn't mean anything, I'm assuming the intent was to say "Do WARM reset" so reword. Fixes: 34e452dd0252 ("doc: usage: Group all shell command docs into cmd/ sub-directory") Signed-off-by: Quentin Schulz <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2026-05-18cmd: boot: fix edl being shown when not supportedQuentin Schulz
edl is implemented in the sysreset_ops.request_arg callback of the qcom-psci sysreset driver. That callback is only called from sysreset_request_arg() which is compiled only when CONFIG_SYSRESET_CMD_RESET_ARGS=y. Therefore, only show the edl option if that symbol is enabled. It is in a separate if block because any option but -w will only be handled when CONFIG_SYSRESET_CMD_RESET_ARGS=y as seen with the implementation in do_reset() in drivers/sysreset/sysreset-uclass.c. Fixes: ef06c5d76ff4 ("cmd: boot: Add '-edl' option to reset command documentation") Signed-off-by: Quentin Schulz <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2026-05-18efi_loader: fix AllocatePages overlap statusHarsimran Singh Tungal
Return EFI_NOT_FOUND for EFI_ALLOCATE_ADDRESS overlap When efi_allocate_pages() is called with EFI_ALLOCATE_ADDRESS, UEFI expects EFI_NOT_FOUND if the requested address range is already allocated or unavailable. U-Boot currently returns EFI_OUT_OF_RESOURCES when efi_update_memory_map() detects an overlap after a successful lmb_alloc_mem(), which does not match EFI_ALLOCATE_ADDRESS semantics. Return EFI_NOT_FOUND for EFI_ALLOCATE_ADDRESS requests that fail due to an overlapping EFI memory descriptor, while keeping EFI_OUT_OF_RESOURCES for other allocation types. The UEFI specification [1] specifies that EFI_BOOT_SERVICES.AllocatePages must return EFI_NOT_FOUND when the requested address range is unavailable or already allocated; EFI_OUT_OF_RESOURCES applies to non‑address‑specific allocation failures. [1] https://uefi.org/specs/UEFI/2.10_A/07_Services_Boot_Services.html Signed-off-by: Harsimran Singh Tungal <[email protected]> The UEFI specification does not clearly specify the behavior. But let's follow the EDK II precedent here. Reviewed-by: Heinrich Schuchardt <[email protected]>
2026-05-15Merge tag 'u-boot-imx-next-20260515' of ↵Tom Rini
https://gitlab.denx.de/u-boot/custodians/u-boot-imx into next CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/30134 - Several conversions to OF_UPSTREAM. - Added i.MX9 Quickboot support. - Added support for i.MX952 in the fsl_enetc driver. - Update i.MX91 part number detection.
2026-05-15Merge patch series "configs: airoha: an7581: defconfig fixes & improvements"Tom Rini
Mikhail Kshevetskiy <[email protected]> says: This patch series fixes an7581_evb_defconfig. Link: https://lore.kernel.org/r/[email protected]
2026-05-15configs: airoha: an7581: disable ENV_IS_IN_MTD to avoid boot panicMikhail Kshevetskiy
Booting image generated with make an7581_evb_defconfig will results in U-Boot 2026.04-00924-gfb815bd8793b (Apr 27 2026 - 15:08:30 +0300) CPU: Airoha AN7581 DRAM: 512 MiB Core: 35 devices, 19 uclasses, devicetree: separate MMC: mmc@1fa0e000: 0 Loading Environment from MMC... *** Warning - No block device, using default environment Loading Environment from MTD... *** Warning - get_mtd_device_nm() failed, using default environment BUG at drivers/mtd/mtdcore.c:898/__put_mtd_device()! BUG! resetting ... This happens because no any mtd partition defined in dts/mtdparts. Disabling of ENV_IS_IN_MTD fixes an issue. Signed-off-by: Mikhail Kshevetskiy <[email protected]>
2026-05-15configs: airoha: an7581: enable position independent codeMikhail Kshevetskiy
This enables U-Boot loading from any 4K aligned address. It makes U-Boot debugging a bit simpler. Signed-off-by: Mikhail Kshevetskiy <[email protected]>
2026-05-15net: fsl_enetc: Add support for i.MX952Ye Li
Extend ENETC driver to support i.MX952 platform where 2 ENETC controllers are located on different PCIe buses. Key changes: - Add enetc_dev_id_imx() to derive device ID from device tree "reg" property for i.MX952, mapping bus_devfn values 0x0 and 0x100 to device IDs 0 and 1 respectively - Implement imx952_netcmix_init() to configure MII protocol and PCS settings based on PHY mode parsed from device tree - Add i.MX952 to FSL_ENETC_NETC_BLK_CTRL Kconfig dependencies Signed-off-by: Ye Li <[email protected]> Signed-off-by: Alice Guo <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2026-05-15net: fsl_enetc: fix the duplex setting on the iMX platformClark Wang
The iMX and LS platforms use different bits in the same register to set duplex, but their logics are opposite. The current settings will result in unexpected configurations in RGMII mode. Fixes: e6df2f5e22c6 ("net: fsl_enetc: Update enetc driver to support i.MX95") Signed-off-by: Clark Wang <[email protected]> Signed-off-by: Alice Guo <[email protected]> Reviewed-by: Tim Harvey <[email protected]>
2026-05-15arm: imx9: Update i.MX91 part number detectionYe Li
Change to not use NXP_RECOG fuse, but detect part number according to feature disable fuses and SPEED fuse. Signed-off-by: Ye Li <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2026-05-15imx: priblob: Fix build breakYe Li
Add config.h to fix CAAM_BASE_ADDR undeclared build error when CONFIG_CMD_PRIBLOB enabled. Signed-off-by: Ye Li <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2026-05-15power: regulator: pfuze100: Fix unchecked pmic_reg_read, return valueFrancois Berder
pmic_reg_read returns a negative value if an error occurs. This commit adds a missing check after calling pmic_reg_read. Signed-off-by: Francois Berder <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2026-05-15arm: mx6: module_fuse: update node path for Linux 6.13Peng Fan
Update node path for 5.10 Kernel. - aips-bus renamed to bus - gpmi-nand renamed to nand-controller cherry picked from https://github.com/nxp-imx/uboot-imx, tag lf-6.12.3-1.0.0, commit feb8178e97d4 ("LF-2637 mx6: fuse: update node path") add changes node path for Linux 6.13 Signed-off-by: Peng Fan <[email protected]> Signed-off-by: Max Merchel <[email protected]>
2026-05-15arm: mx6: cm-fx6: Staticize and constify driver opsMarek Vasut
Set the ops structure as static const. The structure is not accessible from outside of this driver and is not going to be modified at runtime. Signed-off-by: Marek Vasut <[email protected]>
2026-05-15board: toradex: verdin-imx95: remove gpio1 regAntoine Gouby
The RGPIO2P driver contains legacy handling for compatible combinations that expose two reg ranges (dual base) for i.MX8ULP and i.MX93. The i.MX95 GPIO controller exposes a single register range, so the dual-base handling is unnecessary. Additionally, the second address of the gpio1 reg property was wrong. When used, it needs to be offsetted by 0x40 to start at the Port Data Output register. Fixes: 60d8255d8dc0 ("board: toradex: add Toradex Verdin iMX95") Signed-off-by: Antoine Gouby <[email protected]>
2026-05-15board: toradex: smarc-imx95: remove gpio1 regAntoine Gouby
The RGPIO2P driver contains legacy handling for compatible combinations that expose two reg ranges (dual base) for i.MX8ULP and i.MX93. The i.MX95 GPIO controller exposes a single register range, so the dual-base handling is unnecessary. Signed-off-by: Antoine Gouby <[email protected]>
2026-05-15doc: board: nxp: Add Quickboot documentationSimona Toaca
Add instructions on how to use U-Boot to save DDR training data to NVM and explain the saving process. Signed-off-by: Simona Toaca <[email protected]>
2026-05-15board: nxp: imx9{4, 5, 52}_evk: Add qb save option in SPLSimona Toaca
Call qb save automatically in the board-specific spl_board_init(), if SPL_IMX_QB option is enabled. This makes sure qb_save is called before any image loading is done by the SPL. This option is also suitable for the case where U-Boot proper is missing (Falcon mode). qb save refers to saving DDR training data to NVM, so that OEI runs Quickboot flow on next reboot, skipping full training and achieveing a lower boot time. Signed-off-by: Simona Toaca <[email protected]>
2026-05-15arm: mach-imx: Add command to expose QB functionalitySimona Toaca
This command exposes 3 methods: - check -> checks if the data in volatile memory is valid (integrity check) - save -> saves the data to non-volatile memory and erases the data in volatile memory - erase -> erases the data in non-volatile memory cmd_qb can be used either directly in the U-Boot console or in an uuu script to save the QB data during flashing. It supports specifying a different boot medium than the current boot device for saving the data. Signed-off-by: Viorel Suman <[email protected]> Signed-off-by: Ye Li <[email protected]> Signed-off-by: Simona Toaca <[email protected]>
2026-05-15imx9: Add support for saving DDR training data to NVMSimona Toaca
DDR training data can be saved to NVM and be available to OEI at boot time, which will trigger QuickBoot flow. U-Boot only checks for data integrity (CRC32), while OEI is in charge of authentication when it tries to load the data from NVM. On iMX95 A0/A1, 'authentication' is done via another CRC32. On the other SoCs, authentication is done by using ELE to check the MAC stored in the ddrphy_qb_state structure. Supported platforms: iMX94, iMX95, iMX952 (using OEI) Supported storage types: eMMC, SD, SPI flash. Signed-off-by: Viorel Suman <[email protected]> Signed-off-by: Ye Li <[email protected]> Signed-off-by: Simona Toaca <[email protected]>
2026-05-15imx: ahab: Use authenticated header for images loadingYe Li
When loading container image, the container header is loaded into heap memory. If ahab is enabled, the header is be copied to another fixed RAM for authentication in ahab_auth_cntr_hdr. The better method is using container header memory being authenticated for following image loading. So update ahab_auth_cntr_hdr to return the address of container header being authenticated. Caller uses this header for following parsing and image loading. Signed-off-by: Ye Li <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2026-05-15imx9: clock: Fix missing break in get_clk_src_rateYe Li
The break is missed for ARM_PLL_CLK in get_clk_src_rate. Signed-off-by: Ye Li <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2026-05-15imx8mp_evk: Fix the ND mode VDD_SOC voltageJacky Bai
The 'CONFIG_IS_ENBLAED' check only works when there is a CONFIG_SPL_IMX8M_VDD_SOC_850MV config a option is defined and enabled. So use the 'IS_ENABLED' macro instead to fix the ND mode VDD_SOC voltage. Signed-off-by: Jacky Bai <[email protected]> Signed-off-by: Ye Li <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2026-05-15i2c: imx_lpi2c: Fix MSR status check issue in STOPYe Li
In bus_i2c_stop, the MSR SDF is checked in a loop after stop command is sent. Meanwhile, some error status in MSR is also checked by imx_lpci2c_check_clear_error. But the imx_lpci2c_check_clear_error will clear the MSR. It causes problem in below situation: In current loop, SDF does not set, but error status is found by imx_lpci2c_check_clear_error (for example, NDF), then NDF will be cleared and result has NDF error. However, because SDF does not set in this loop, it goes not next loop. When SDF is set in next loop, imx_lpci2c_check_clear_error is re-executed, but as the MSR is cleared, the result is 0. Then the stop return 0. But it should return NDF error. Signed-off-by: Ye Li <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2026-05-15net: phy: nxp-c45-tja11xx: Fix incorrect usage of devm_kzallocYe Li
devm_kzalloc needs to pass udevice for first parameter, this phy driver wrongly pass the priv in phy_device. And because the dev in phy_device is only valid after phy_connect, in probe phase this dev is NULL, so we can't use devm_kzalloc, replace it with kzalloc. Signed-off-by: Ye Li <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2026-05-15imx9: scmi: Support iMX95/94/952 secondary bootYe Li
When ROM boots from secondary container set, SPL should select correct offset to load u-boot-atf container. The implementation uses ROM passover information: 1) For non-eMMC boot partition device, use image offset in ROM passover data to get u-boot-atf container offset. 2) For eMMC boot partition device, use boot stage (secondary) in ROM passover data to select correct eMMC boot partition for u-boot-atf container. Signed-off-by: Ye Li <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2026-05-15imx9: scmi: soc: Add support for detecting primary/secondary bmode on MX95Fedor Ross
Implement the 'getprisec' subcommand of 'bmode' command for i.MX95 by reading out the ROM log events. This event is set by the BootROM if it switched to the secondary copy due to primary copy being corrupted. Signed-off-by: Fedor Ross <[email protected]> Reviewed-by: Marek Vasut <[email protected]>
2026-05-15imx: Add SPI NOR A/B switching supportMarek Vasut
Query the SM via SCMI, obtain rom_passover_t->img_set_sel and based on that, add 0 or 0x400000 offset (A or B copy offset) to boot container read address. Signed-off-by: Marek Vasut <[email protected]> Signed-off-by: Fedor Ross <[email protected]>
2026-05-15imx8mm/n: Drop unused dtsiPeng Fan
imx8m[m,n]-beacon-baseboard.dtsi was missed to be deleted in commit f5585124c90a ("arm64: imx: imx8mm-beacon: Migrate to OF_UPSTREAM") commit a64feb974f66 ("arm64: imx: imx8mn-beacon: Migrate to OF_UPSTREAM") arch/arm/dts/imx8mn-evk.dtsi was missed to be deleted in commit 73d57e0aa45f ("imx: imx8mn-evk: convert to OF_UPSTREAM") Drop them. Signed-off-by: Peng Fan <[email protected]>
2026-05-15imx8mq: Drop arch/arm/dts/imx8mq.dtsiPeng Fan
scripts/Makefile.lib already handles the including path for imx8mq.dtsi from dts/upstream. No need to keep a copy in arch/arm/dts/, and there is very minimal changes compared with the one in dts/upstream, so remove the copy. Signed-off-by: Peng Fan <[email protected]>
2026-05-15imx8mq: kontron-pitx-imx8m: Switch OF_UPSTREAMPeng Fan
arch/arm/dts/imx8mq-kontron-pitx-imx8m.dts is almost same as upstream Linux dts, so switch to OF_UPSTREAM by dropping the U-Boot copy of the dts, enabling OF_UPSTREAM and updating CONFIG_DEFAULT_DEVICE_TREE. Signed-off-by: Peng Fan <[email protected]>
2026-05-15imx8mq: librem5: Switch to OF_UPSTREAMPeng Fan
arch/arm/dts/imx8mq-librem5-r[4,3].dts is almost same as upstream Linux dts, and arch/arm/dts/imx8mq-librem5.dtsi is out of sync with upstream linux dts, but it should not break U-Boot after using OF_UPSTREAM. So switch to OF_UPSTREAM by dropping the U-Boot copy of the dts, enabling OF_UPSTREAM and updating CONFIG_DEFAULT_DEVICE_TREE. Signed-off-by: Peng Fan <[email protected]>
2026-05-15imx8mq: pico: Switch OF_UPSTREAMPeng Fan
arch/arm/dts/imx8mq-pico-pi.dts is almost same as upstream Linux dts, so switch to OF_UPSTREAM by dropping the U-Boot copy of the dts, enabling OF_UPSTREAM and updating CONFIG_DEFAULT_DEVICE_TREE. Signed-off-by: Peng Fan <[email protected]>
2026-05-15imx8mq: phanbell: Switch OF_UPSTREAMPeng Fan
arch/arm/dts/imx8mq-phanbell.dts is almost same as upstream Linux dts, so switch to OF_UPSTREAM by dropping the U-Boot copy of the dts, enabling OF_UPSTREAM and updating CONFIG_DEFAULT_DEVICE_TREE. Signed-off-by: Peng Fan <[email protected]>
2026-05-15imx8mq: reform2: Switch to OF_UPSTREAMPeng Fan
arch/arm/dts/imx8mq-mnt-reform2.dts are almost same as upstream Linux imx8mq-mnt-reform2.dts, so switch to OF_USPTREAM for this board, with only updating imx8mq-mnt-reform2-u-boot.dtsi to keep "simple-panel" compatible string for display panel. Signed-off-by: Peng Fan <[email protected]>
2026-05-15nitrogen6x: Fix compile error if VIDEO_IPUV3 is disabledJacky Cao
Following compile error happens for mx6qsabrelite when disable CONFIG_VIDEO_IPUV3. board/boundary/nitrogen6x/nitrogen6x.c: In function 'misc_init_r': board/boundary/nitrogen6x/nitrogen6x.c:912:22: error: 'RGB_BACKLIGHT_GP' undeclared (first use in this function) 912 | gpio_request(RGB_BACKLIGHT_GP, "lvds backlight"); | ^~~~~~~~~~~~~~~~ board/boundary/nitrogen6x/nitrogen6x.c:912:22: note: each undeclared identifier is reported only once for each function it appears in CC cmd/bind.o CC drivers/gpio/gpio-uclass.o CC boot/bootmeth_extlinux.o board/boundary/nitrogen6x/nitrogen6x.c:913:22: error: 'LVDS_BACKLIGHT_GP' undeclared (first use in this function) 913 | gpio_request(LVDS_BACKLIGHT_GP, "lvds backlight"); | ^~~~~~~~~~~~~~~~~ AR arch/arm/lib/lib.a make[1]: *** [scripts/Makefile.build:271: board/boundary/nitrogen6x/nitrogen6x.o] Error 1 CC boot/bootmeth_pxe.o make: *** [Makefile:2205: board/boundary/nitrogen6x] Error 2 make: *** Waiting for unfinished jobs.... To fix this, use reported macros included in CONFIG_VIDEO_IPUV3. Fixes: 1b51e5f4cd2a ("nitrogen6x: reserve used gpios") Signed-off-by: Jacky Cao <[email protected]> Reviewed-by: Simon Gaynor <[email protected]>
2026-05-15MAINTAINERS: Use N: for NXP entryMarek Vasut
Reduce the NXP MAINTAINERS entry by using N: entry glob. Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Fabio Estevam <[email protected]>
2026-05-15Merge tag 'mmc-next-2026-05-15' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-mmc into next CI: https://source.denx.de/u-boot/custodians/u-boot-mmc/-/pipelines/30112 - Staticize and constify driver ops patches from Marek - Check 'no-1-8-v' property in cv1800b_sdhci driver - Drop unecessary timer initialization for sdhci
2026-05-15smbios: Do not fall back on devicetree without valid mappingMark Kettenis
The smbios_get_val_si() function may get called for a sysinfo property for which there is no mapping to a devicetree property. Avoid a NULL pointer dereference in this case by skipping the read of the mapped property from the device tree. Fixes: 83b28b55d74f ("smbios: add support for dynamic generation of Type 9 system slot tables") Signed-off-by: Mark Kettenis <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Raymond Mao <[email protected]>
2026-05-15Merge tag 'fsl-qoriq-for-2026.07-rc3' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-fsl-qoriq CI: https://source.denx.de/u-boot/custodians/u-boot-fsl-qoriq/-/pipelines/30120 - Various fix/improvments for powerpc - Correct usage of number of memory banks for nxp and ten64 - Staticize and constify scmi sandbox driver ops
2026-05-15firmware: scmi: sandbox: Staticize and constify driver opsMarek Vasut
Set the ops structure as static const. The structure is not accessible from outside of this driver and is not going to be modified at runtime. Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Peng Fan <[email protected]> Signed-off-by: Peng Fan <[email protected]>
2026-05-15board: nxp: common: support CONFIG_FSL_USE_PCA9547_MUXVincent Jardin
Use select_i2c_ch_pca9547() only when CONFIG_FSL_USE_PCA9547_MUX is set, but several call in board/nxp/lx2160a/lx2160a.c invoke it unconditionally, or using unrelated Kconfigs (CONFIG_EMC2305, CONFIG_VID). Compilation with LX2160A target that omits the mux therefore fails with error: implicit declaration of function 'select_i2c_ch_pca9547' Add a static inline stub with -EOPNOTSUPP for the !CONFIG_FSL_USE_PCA9547_MUX case so all cases compile cleanly. Adapted from the convention used by include/scmi_nxp_protocols.h for SCMI subprotocol stubs. There is no functional change for NXP boards: all eight upstream LX2160A defconfigs (lx2160ardb / lx2160aqds / lx2162aqds and their secure / stmm / verified_boot variants) already set CONFIG_FSL_USE_PCA9547_MUX=y, so the real declaration wins. The purpose is to support new boards that do not use the PCA9547. Signed-off-by: Vincent Jardin <[email protected]> Reviewed-by: Peng Fan <[email protected]> Signed-off-by: Peng Fan <[email protected]>
2026-05-15board: nxp: lx2160a: without QIXIS, MC-ENET, PCI, LTC3882Vincent Jardin
The shared LX2160A board file calls helpers that only exist when their subsystem is enabled. Gate them on the matching CONFIG_*: - pci_init() under CONFIG_PCI. - fdt_fixup_mc_ddr() and fsl_rgmii_init() under CONFIG_FSL_MC_ENET. - qixis_*() and the QIXIS branch of checkboard() under CONFIG_FSL_QIXIS; cpu_name(buf) moves out so the non-QIXIS path still prints "Board: <name>". - EVENT_SPY_SIMPLE on init_func_vid moves inside the CONFIG_VOL_MONITOR_LTC3882_READ guard (was outside, dangling symbol when LTC3882 off). #if / #ifdef, not IS_ENABLED(), because the helpers are themselves conditionally compiled. While here, lx2160a_common.h: fix BOOT_TARGET_DEVICES_MMC 1 arg vs 2 args and gate the MMC target on CONFIG_CMD_MMC, not CONFIG_MMC. No functional change for NXP boards: LX2160ARDB, LX2160AQDS, or LX2162AQDS, but mainly build clean up in order to support other NXP lx2160a boards without those HW dependencies. Signed-off-by: Vincent Jardin <[email protected]> Signed-off-by: Peng Fan <[email protected]>
2026-05-15board: ten64: Fix OOB read in ft_board_setupFrancois Berder
base and size arrays can both contain up to total_memory_banks elements. This commit fixes the for loop condition to ensure that it does not attempt to read past the end of both arrays. Signed-off-by: Francois Berder <[email protected]> Signed-off-by: Peng Fan <[email protected]>
2026-05-15board: nxp: Fix OOB read in ft_board_setupFrancois Berder
base and size arrays can both contain up to total_memory_banks elements. This commit fixes the for loop condition to ensure that it does not attempt to read past the end of both arrays. Signed-off-by: Francois Berder <[email protected]> Signed-off-by: Peng Fan <[email protected]>