Hi Tien Fong, On Tue, 6 Oct 2026 17:52:00 +0800, Tien Fong Chee <[email protected]> wrote:
> Confirm SPL_ENV_SUPPORT is required for RAW retention path? No. The N5X RAW retention path binds SPI flash from DT (sfconfig) and reads with spi_flash_read_dm(). It does not use storage_interface / fw_dev_part. SPL_ENV_SUPPORT was enabled because fs_loader still calls env_get() unconditionally. Those variables are unset on N5X, so the env path is skipped and RAW still works. I will drop CONFIG_SPL_ENV_SUPPORT from the N5X defconfig in v3. Thanks, Lok
