summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-09-17arm: dts: k3-j721e-r5-common-proc-board: Enable HBMC in R5 SPL stageAnurag Dutta
Enable HBMC in the R5 SPL stage Fixes: c9df79ee64d0 ("arm: dts: k3-j721e-r5-common: Add HBMC overrides for R5 SPL") Signed-off-by: Anurag Dutta <[email protected]> Reviewed-by: Udit Kumar <[email protected]>
2025-09-17configs: j7200_evm_*_defconfig: Enable HBMC and MUX_MMIO at SPLAnurag Dutta
Add the HBMC and MUX_MMIO configs in the SPL and u-boot proper stage for successful HBMC boot. Signed-off-by: Anurag Dutta <[email protected]>
2025-09-17configs: j721e_evm_r5: Enable HBMC and MUX_MMIO at SPLAnurag Dutta
Add the HBMC and MUX_MMIO configs in the R5 SPL stage for successful HBMC boot. Signed-off-by: Anurag Dutta <[email protected]> Reviewed-by: Udit Kumar <[email protected]>
2025-09-17mtd: Kconfig: Add SPL_MUX_MMIO dependency to HBMC driverAnurag Dutta
MUX_MMIO is needed by HBMC in SPL stage. Enable it at SPL as well as u-boot proper stage. Signed-off-by: Anurag Dutta <[email protected]> Reviewed-by: Udit Kumar <[email protected]>
2025-09-17xilinx: Disable SPL_OS_BOOT for Zynq and ZynqMPMichal Simek
The commit 210702ae6ce8 ("spl: spi: fix falcon mode for spi boot") fixed the logic of spl_start_uboot() where 0 means OS boot and 1 means u-boot. Zynq/ZynqMP enable OS_BOOT by default but it was never really be used that's why disable it to boot via U-Boot phase all the time. Signed-off-by: Michal Simek <[email protected]>
2025-09-17Merge tag 'u-boot-stm32-20250917' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-stm CI: https://source.denx.de/u-boot/custodians/u-boot-stm/-/pipelines/27648 - Fix net suport for STM32MP2 - Fix to prevent hang in clk-stm32-core for STM32MP13 - Fix ethernet init for DH STM32MP1
2025-09-17board: ti: am57xx: Remove "ti/omap/" from name_fit_configAnurag Dutta
Commit 649f4a7d3ca7 ("board: ti: am57xx: Set fdtfile from C code instead of findfdt script") prepends "ti/omap/" to the actual name of the fdtfile whereas fit image boot needs exact dtb name. So, remove "ti/omap" from name_fit_config by substituting it with an empty string. Fixes: 649f4a7d3ca7 ("board: ti: am57xx: Set fdtfile from C code instead of findfdt script") Signed-off-by: Anurag Dutta <[email protected]> Reviewed-by: Udit Kumar <[email protected]>
2025-09-17imx95_evk: Restore support for i.MX95 A0 siliconAlice Guo
This patch is used to restore support for i.MX95 A0 silicon. To avoid duplicating defconfig, imx95.config is added and can be shared between imx95_a0_19x19_evk_defconfig and imx95_19x19_evk_defconfig. container.cfg and imximage.cfg are used to created .cfgout files that are be passed to mkimage with -n to build flash.bin. Now they have been deleted and replaced by adding their content to properties of node which type is nxp-imx9image under binman node. Fixes: 9936724aa9b ("imx95_evk: Add i.MX95 B0 support") Signed-off-by: Alice Guo <[email protected]> Tested-By: Tim Harvey <[email protected]> # imx95-19x19-evk (rA0)
2025-09-17binman: add a new entry type to support .bin file generation for the i.MX95 ↵Alice Guo
platform To support passing specific commands defined in enum imx8image_cmd to the imx8image_copy_image() function, this patch introduces a new entry type nxp-imx9image. This entry generates a plain text data file containing the relevant commands, enabling flexible configuration during image creation. Signed-off-by: Alice Guo <[email protected]>
2025-09-16Merge patch series "board: dhelectronics: Check pointer before access in ↵Tom Rini
dh_get_value_from_eeprom_buffer()" This series from Marek Vasut <[email protected]> cleans up some of the common code between dhelectronics platforms. Link: https://lore.kernel.org/r/[email protected]
2025-09-16board: dhelectronics: Use isascii() before isprint() in dh_read_eeprom_id_page()Marek Vasut
The isprint() checks printability across all 256 characters, some of the upper 128 characters are printable and produce artifacts on UART. Call isascii() first to only consider the bottom 7bit ASCII characters as printable, and then check their printability using isprint(). This fixes a rare misprint in case the ID page content is uninitialized or corrupted. Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Christoph Niedermaier <[email protected]>
2025-09-16board: dhelectronics: Check pointer before access in ↵Marek Vasut
dh_get_value_from_eeprom_buffer() The eip pointer in dh_get_value_from_eeprom_buffer() might be NULL. The current NULL pointer check happens too late, after the eip was accessed in variable assignment. Reorder the two, so the NULL pointer check happens first, and any access second, otherwise the access may trigger a hang or other undefined behavior. Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Christoph Niedermaier <[email protected]>
2025-09-16phy: Reset init count on phy exit failureMarek Vasut
In case the PHY exit callback reports failure, reset init_count to 0 anyway, so the next attempt at PHY initialization might try to reinitialize the PHY and restore it to normal operation. Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Siddharth Vadapalli <[email protected]>
2025-09-16thermal: sandbox: Staticize sandbox_thermal_get_temp()Marek Vasut
Make sandbox_thermal_get_temp() static, since this is not called outside of the driver. No functional change. Signed-off-by: Marek Vasut <[email protected]>
2025-09-16thermal: Sort the MakefileMarek Vasut
Sort the Makefile alphabetically. No functional change. Signed-off-by: Marek Vasut <[email protected]>
2025-09-16Merge patch series "Modernize U-Boot code formatting with clang-format"Tom Rini
Javier Tia <[email protected]> says: This patch series modernizes U-Boot's code formatting infrastructure by with current Linux kernel practices and providing a more robust and comprehensive formatting solution. Link: https://lore.kernel.org/r/[email protected]
2025-09-16doc: Update U-Boot coding style guide with clang-format usageJavier Tia
The U-Boot coding style guide has been updated to include information about using the `.clang-format` configuration file for automatic code formatting. This ensures consistent formatting across the entire codebase and aligns with Linux kernel coding standards. The goal with introducing a predefined coding style is consistency rather than personal preference. The .clang-format file is copied directly from the Linux kernel without any modifications, ensuring complete compatibility with kernel coding standards. Include comprehensive best practices for using clang-format, specifically guidance on formatting only changed blocks versus entire files, creating separate formatting-only commits for better code review, and leveraging git clang-format for targeted formatting. Add examples of editor integrations. This enhancement will help maintainers and contributors to easily adhere to U-Boot coding standards. Signed-off-by: Javier Tia <[email protected]>
2025-09-16Lindent: Remove wrapper around indent toolJavier Tia
The Linux kernel has not maintained the same script since 2017-11-01, and with clang-format included in U-Boot, it is not required anymore. Signed-off-by: Javier Tia <[email protected]>
2025-09-16tools: zynqmp_psu_init_minimize.sh: Switch to clang-formatJavier Tia
Replace the use of scripts/Lindent with clang-format in zynqmp_psu_init_minimize.sh. This change is made to align with the rest of the codebase that uses clang-format for code formatting. This ensures consistency across all scripts in terms of code style and formatting. Tested-by: Michal Simek <[email protected]> Signed-off-by: Javier Tia <[email protected]>
2025-09-16clang-format: Add configuration fileJavier Tia
Introduce .clang-format configuration file to U-Boot, providing significant improvements over the existing scripts/Lindent approach for C code formatting. Benefits of clang-format over scripts/Lindent: - More comprehensive formatting rules: While Lindent relies on the basic 'indent' tool with limited options, clang-format provides extensive control over code formatting with 800+ configuration options - Better handling of complex code structures: clang-format understands modern C constructs and handles nested structures, macros, and complex expressions more intelligently - IDE and editor integration: Native support in major development environments (VS Code, Vim, Emacs, etc.) enables real-time formatting - Consistent results across environments: Eliminates variations between different versions of 'indent' tool and system configurations - Active maintenance: clang-format is actively developed and updated, unlike the aging 'indent' tool Alignment with Linux kernel practices: Continues U-Boot alignment with Linux kernel development practices, maintaining consistency between these closely related projects. The Linux kernel adopted clang-format to modernize its code formatting infrastructure and improve developer experience. The .clang-format file is based on the Linux kernel configuration, specifically copied from Linux kernel v6.16 tag, which itself builds upon the initial introduction in commit d4ef8d3ff005c ("clang-format: add configuration file"). Signed-off-by: Javier Tia <[email protected]>
2025-09-16Merge patch series "Fix ADI driver header dependencies"Tom Rini
Greg Malysa <[email protected]> says: Between 2025.07 and 2025.10 many header dependency chains were improved, but this exposed implicit header usage in several of our drivers. This wasn't discovered before or included in the original fixes because our drivers are not yet used by any mainline-supported boards, so build tests did not find them. This series addresses the two build failures I've encountered while rebasing our work onto 2025.10 and continuing to prepare the next submission of our board files. Link: https://lore.kernel.org/r/[email protected]
2025-09-16mmc: adi_sdhci: Update headersGreg Malysa
As part of the header dependency cleanup between 2025.07 and 2025.10, an implicit route to obtain SZ_128M from linux/sizes.h was removed. This adds an explicit reference to linux/sizes.h to fix build failures for this driver. Signed-off-by: Greg Malysa <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2025-09-16net: dwc_eth_qos_adi: Add missing headerGreg Malysa
Following header dependency cleanups, an implicit dependence on env.h was exposed in dwc_eth_qos_adi. However because this driver is not (yet) enabled in any defconfigs, build tests did not identify the missing header. This adds the missing #include so that the driver builds correctly when enabled. Signed-off-by: Greg Malysa <[email protected]>
2025-09-16cmd: terminal: avoid serial_reinit_all() with DM_SERIAL enabledAditya Dutt
serial_reinit_all() is only available when CONFIG DM_SERIAL is disabled and CONFIG_SERIAL is enabled. Signed-off-by: Aditya Dutt <[email protected]>
2025-09-16gpio: adp5588: Add ADP5587 as compatiblePhilip Molloy
The ADP5587 is a simpler version of the ADP5588. The ADP5588 can configure two pins, C8 and C9, as GPIOs or light sensors. The ADP5587 does not include the light sensors. Signed-off-by: Philip Molloy <[email protected]>
2025-09-16env: Remove usb_ignorelist and env_fdt_path from ifdef ↵Marek Vasut
CONFIG_ENV_VARS_UBOOT_CONFIG The CONFIG_ENV_VARS_UBOOT_CONFIG should protect only U-Boot configuration variables in environment, those are arch, cpu, board, board_name, vendor, soc. It should certainly not hide usb_ignorelist or env_fdt_path from the environment. Fix it. Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Tom Rini <[email protected]>
2025-09-16board: starfive: visionfive2: deprecate mixed-case product ids VF7110a VF7110bE Shattow
Per recent discussion [1] product IDs VF7110A or VF7110B from EEPROM are sufficient to select for VisionFive 2 1.2a or VisionFive 2 1.3b boards. There are no VisionFive 2 products with mixed-case product IDs in EERPOM so factor out the unnecessary select case conditional. 1: https://lore.kernel.org/u-boot/ZQ2PR01MB1307D97D2C9566B8EE443812E6062@ZQ2PR01MB1307.CHNPR01.prod.partner.outlook.cn/ Signed-off-by: E Shattow <[email protected]> Reported-by: Hal Feng <[email protected]>
2025-09-16ARM: stm32: Perform node compatible check for KS8851 earlyMarek Vasut
Check the compatible string of ethernet1 node for KS8851 very early on, before calling uclass_get_device_by_of_path() which might initialize the device and possibly attempt to configure MAC address into device which is not KS8851. Doing the compatibility check early prevent this. Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Patrice Chotard <[email protected]>
2025-09-16net: dwc_eth_qos: Fix support for stm32mp2 platformMarek Vasut
The layout of SYSCFG_ETHnCR on STM32MP25xx is slightly different yet again. Add missing swizzling to program the correct register with the correct content. Fixes: 20afca89ed53 ("net: dwc_eth_qos: add support of stm32mp2 platform") Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Christophe ROULLIER<[email protected]>
2025-09-16clk: stm32: Pass udevice pointer to clk_register_composite()Marek Vasut
The clk_register_composite() does clk_resolve_parent_clk() look up, which requires valid udevice pointer. Do not pass NULL, pass a valid device pointer to prevent hang on registering ck_usbo_48m clock on STM32MP13xx. Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Patrice Chotard <[email protected]>
2025-09-15mach-k3: fix reading size and addr from fdt on R5Anshul Dalal
fdtdec_get_addr_size uses architecture dependent datatypes which causes the 32-bit R5 to fail when reading the 64-bit size and addr fields of reg nodes from the fdt. Therefore change it to a common api for both 64 and 32 bit platforms to allow for fdt fixups from R5. Fixes: 8b0fc29de0e3 ("arm: mach-k3: am62: Fixup TF-A/OP-TEE reserved-memory node in FDT") Signed-off-by: Anshul Dalal <[email protected]> Reviewed-by: Dhruva Gole <[email protected]>
2025-09-15board: ti: common: Kconfig: add CMD_MEMINFOAnshul Dalal
Add CMD_MEMINFO and CMD_MEMINFO_MAP to list of configs implied by TI_COMMON_CMD_OPTIONS. This allows users to easily view the memory configuration and the memory maps at runtime. Signed-off-by: Anshul Dalal <[email protected]>
2025-09-13arm: armv8: Fix spl recover data section brokenYe Li
SPL recover data section is broken which causes reboot failure on some i.MX platforms (iMX8QM/iMX95). The global variable cold_reboot_flag is assigned to weak reset_flag function which always return 1, so restore never been executed in warm reboot. Fixes: 1c37e59bfbba ("arm: armv8: Improve SPL data save and restore implementation") Signed-off-by: Ye Li <[email protected]> Reviewed-by: Fabio Estevam <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2025-09-12Revert "sandbox: replace deprecated getenv() with env_get()"Tom Rini
While testing changes, I missed that Gitlab had failed CI with pytest failures due to this change. This reverts commit 4c822970d366415e717730606734e815993a70bb. Cc: Osama Abdelkader <[email protected]> Signed-off-by: Tom Rini <[email protected]>
2025-09-12sandbox: replace deprecated getenv() with env_get()Osama Abdelkader
use env_get() instead of getenv() for consistency. Signed-off-by: Osama Abdelkader <[email protected]>
2025-09-12mkimage: Add support for bundling TFA BL31 in mkimage -f autoMarek Vasut
Introduce two new parameters to be used with mkimage -f auto to bundle TFA BL31 image into fitImage, using auto-generated fitImage. Add -y to specify TFA BL31 file name and -Y to specify TFA BL31 load and entry point address. This is meant to be used with systems which boot all of TFA BL31, Linux and its DT from a single fitImage, all booted by U-Boot. Example invocation: " $ mkimage -E -A arm64 -C none -e 0x50200000 -a 0x50200000 -f auto \ -d arch/arm64/boot/Image \ -b arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dtb \ -y ../tfa/build/rcar_gen4/release/bl31.bin -Y 0x46400000 \ /path/to/output/fitImage " Documentation update and test are also included, the test validates both positive and negative test cases, where fitImage does not include TFA BL31 and does include TFA BL31 blobs. Signed-off-by: Marek Vasut <[email protected]>
2025-09-12bloblist: adjust default bloblist size after relocHeinrich Schuchardt
If neither CONFIG_BLOBLIST_FIXED NOR CONFIG_BLOBLIST_ALLOC is set, currently CONFIG_BLOBLIST_SIZE_RELOC defaults to 0 except if * CONFIG_ARM=y && CONFIG_EFI_LOADER=y && GENERATE_ACPI_TABLE=y. A size of zero never makes sense for a bloblist. When using QFW we need more than 64 KiB to host the ACPI table. In this case CONFIG_BLOBLIST_ALLOC is used. Set a reasonable default. Remove the CONFIG_BLOBLIST_SIZE_RELOC in ARM QEMU defconfigs which are not compatible with ACPI tables passed from QEMU. Reported-by: Emil Renner Berthing <[email protected]> Fixes: 6f9b015c138b ("common: Enable BLOBLIST_TABLES on arm") Signed-off-by: Heinrich Schuchardt <[email protected]> Acked-by: Ilias Apalodimas <[email protected]>
2025-09-12bloblist: use correct types for physical addressesHeinrich Schuchardt
It is expected that bloblists are stored in high memory beyond 2 GiB. We must not use int as data type for these addresses but phys_addr_t. Fixes: f9ef9fb033d5 ("bloblist: Handle alignment with a void entry") Signed-off-by: Heinrich Schuchardt <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]>
2025-09-12Merge patch series "arm: mach-k3: am64x: Add reset cause for cpuinfo"Tom Rini
Steffen Kothe <[email protected]> says: AM64X hereby receives support for reset reason printing during boot. Unfortunately does the AM64X register mapping slighlty differ from the AM62X. WDT and PORZ are not part of the reset source register, but the mapping remains the same for all other causes. To prevent ifdef/else constructs, I decided to follow a simple copy/paste approach and adjusted the logic accordingly. Link: https://lore.kernel.org/r/[email protected]
2025-09-12arm: mach-k3: am64x: Implement get_reset_reason()Steffen Kothe
Implement get_reset_reason() for AM64x to enable reporting of the reset cause in the cpuinfo output. Notice that the AM64x does not support dedicated reset cause bits for WDT and PORZ as the AM62x does. An explanation of this difference is not part of the technical reference manual and remains unclear. Signed-off-by: Steffen Kothe <[email protected]> Reviewed-by: Bryan Brattlof <[email protected]>
2025-09-12arm: mach-k3: am64_hardware.h: Add CTRLMMR_MCU_RST_SRC reset cause bit mappingsSteffen Kothe
AM64X SoCs use similar but not identical bit mappings like the AM62X family. In detail does the AM64X not support PORZ and WDT as reset caused. Add the mapping according to the technical reference manual into the SoC specific header. Signed-off-by: Steffen Kothe <[email protected]> Reviewed-by: Bryan Brattlof <[email protected]>
2025-09-12spl: spi: fix falcon mode for spi bootAnshul Dalal
spl_start_uboot is a board overridable function that switches to falcon boot mode on return value of 0. Though for SPI, the falcon boot mode was being enabled on return value of 1 which is not the correct behaviour. Therefore this patch fixes it to the expected boot flow. Fixes: 14509a28aa20 ("spl: spi: Consolidate spi_load_image_os into spl_spi_load_image") Signed-off-by: Anshul Dalal <[email protected]>
2025-09-11board: ti: fdt_ops: make ti_set_fdt_env() const-correctBhimeswararao Matsa
Make the fdt_map parameter a pointer to const, since the function only reads the mapping table. This improves API correctness and allows maps to live in read-only data. No functional change intended Signed-off-by: Bhimeswararao Matsa <[email protected]>
2025-09-11board: ti: am65x: Overwrite get_overlay_mmcJudith Mendez
Unlike other K3 SoC's, am65 SoC has the capability to detect daughter cards and automatically generate a list of white-space separated overlays in name_overlays environment variable. When applied during boot with get_overlay_mmc, the path to overlays with default distribution is incorrect where path is currently: boot/dtb and the overlays exist in boot/dtb/ti. Fix the path in get_overlay_mmc so that overlays are automatically applied correctly during boot time. Signed-off-by: Judith Mendez <[email protected]>
2025-09-11arm: mach-k3: increase max resasg_entriesUdit Kumar
Increase max resasg_entries to accommodate max size of largest device J784S4. Link: https://software-dl.ti.com/tisci/esd/latest/5_soc_doc/j784s4/resasg_types.html Reported-by: Jared McArthur <[email protected]> Signed-off-by: Udit Kumar <[email protected]>
2025-09-11mach-k3: am62*: Fix backup from eMMC boot modeJudith Mendez
Currently logic in spl_mmc_boot_mode only lookes at main devstat to determine the bootmode to return. Thus, when using: 'eMMC boot' as primary boot mode and 'MMCSD boot from eMMC UDA' as backup boot mode, 'eMMC boot' is always selected. Add check for bootindex to determine if ROM boot via backup boot mode and return MMCSD_MODE_FS which is the only supported backup bootmode with eMMC device. Signed-off-by: Judith Mendez <[email protected]> Reviewed-by: Anshul Dalal <[email protected]> Reviewed-by: Moteen Shah <[email protected]>
2025-09-11Merge patch series "Fix dma_addr_t for R5 SPL"Tom Rini
Anshul Dalal <[email protected]> says: On various TI's K3 platforms boot failure was observed on SPI NOR since the commit 5609f200d062 ("arm: Kconfig: enable LTO for ARCH_K3"). This issue was root caused to stack corruption by the 'udma_transfer' function. Where the local variable 'paddr' of type 'dma_addr_t' was being written to as a 64-bit value which overwrote the stack frame of the caller (dma_memcpy) as only 32-bits had been reserved for paddr on the stack, specifically the r4 register in the frame of dma_memcpy was being overwritten with a 0. drivers/dma/ti/k3-udma.c:2192: int udma_transfer(...) { ... dma_addr_t paddr = 0; ... /* paddr was written to as 64-bit value here */ udma_poll_completion(uc, &paddr); } drivers/dma/dma-uclass.c:234: int dma_memcpy(...) { dma_addr_t destination; dma_addr_t source; int ret; ... /* This call resolves to udma_transfer */ ret = ops->transfer(...); ... dma_unmap_single(destination, ...); dma_unmap_single(...); return ret; } Enabling LTO changed how gcc mapped local variables of dma_memcpy to CPU registers, where earlier the bug was hidden since the overwritten register 'r4' was allotted to 'ret' but was allotted to 'destination' once LTO was enabled. And since the overwritten value was 0, the bug remained undetected as it just meant ret was 0, but having 'destination' set to 0 caused dma_unmap_single to fail silently leading to boot failures. The fix entails enabling DMA_ADDR_T_64BIT which changes dma_addr_t from u32 to u64 for the R5 SPL thus reserving enough space for 'paddr' to prevent the overflow. Link: https://lore.kernel.org/r/[email protected]
2025-09-11config: arch: k3: enable DMA_ADDR_T_64BITAnshul Dalal
ARCH_K3 encompasses both 32 and 64-bit cores on the same SoC, though the DMA addresses are always 64-bit in size. With the current implementation, the R5 SPL uses a u32 for dma_addr_t which leads to data overflow when functions such as k3_nav_*_pop_mem try to write a 64-bit address to dma_addr_t variable. In certain cases it leads to stack corruption which manifest as boot failures on certain compilers, such as SPI boot on GCC 14.2 or 13.3. Therefore this patch selects CONFIG_DMA_ADDR_T_64BIT for all ARCH_K3. Fixes: ffcc66e8fec5 ("dma: ti: add driver to K3 UDMA") Signed-off-by: Anshul Dalal <[email protected]> Reviewed-by: Prasanth Babu Mantena <[email protected]>
2025-09-11dma: ti: k3-udma: fix dma_addr_t typecastsAnshul Dalal
dma_addr_t is used to store any valid DMA address which might not necessarily be the same size as host architecture's word size. Though various typecasts in k3's dma and usb driver expect dma_addr_t to be the same size as the word size. This leads the compiler to throw a "cast from pointer to integer of different size" warning when the condition is not met, for example when enabling CONFIG_DMA_ADDR_T_64BIT for the R5 core. Therefore this patch fixes the typecasts by using 'uintptr_t' as an intermediary type which is guaranteed to be the same size as void* on the host architecture. Thus, eliminating the compiler warning. Signed-off-by: Anshul Dalal <[email protected]>
2025-09-11env: fix config dependency for ENV_OFFSET_REDUND_RELATIVE_ENDHeiko Thiery
Since commit 5fb88fa725 "env: Rename SYS_REDUNDAND_ENVIRONMENT to ENV_REDUNDANT" the option SYS_REDUNDAND_ENVIRONMENT is no longer available and should be renamed to ENV_REDUNDANT. Fixes: 95f03ee65c0e ("env: mmc: fix offsets relative to the end of the partition") Signed-off-by: Heiko Thiery <[email protected]> Reviewed-by: Marek Vasut <[email protected]> Reviewed-by: Tom Rini <[email protected]>