This series introduces new Kconfig options to configure default environment variables used in script-based boot scenarios. Specifically, it allows setting the following standard boot environment variables:
- boot_script_dhcp via BOOTSCRIPT_DHCP - script_offset_f and script_size_f via USE_SPI_FLASH_SCRIPT and related options These changes make it possible to define standard boot environment variables directly via Kconfig, allowing higher-level build systems like Yocto to set them at build time. This avoids the need for post-build environment patches or runtime overrides, improving reproducibility and simplifying integration in automated firmware build workflows. Wadim Egorov (2): boot: Add BOOTSCRIPT_DHCP Kconfig option for boot_script_dhcp env mtd: bootdev: Add Kconfig option for defining script parameters boot/Kconfig | 18 ++++++++++++++++++ drivers/mtd/spi/Kconfig | 26 ++++++++++++++++++++++++++ include/env_default.h | 7 +++++++ 3 files changed, 51 insertions(+) -- 2.34.1