configs: agilex5: Enable FAT-based environment storage in defconfig
authorAlif Zakuan Yuslaimi <alif.zakuan.yuslaimi@altera.com>
Thu, 23 Oct 2025 08:51:22 +0000 (01:51 -0700)
committerTien Fong Chee <tien.fong.chee@intel.com>
Mon, 1 Dec 2025 05:56:27 +0000 (13:56 +0800)
Enable storing the U-Boot environment in a FAT filesystem for Agilex5.

This allows the board to read and write environment variables from the
first partition of the first device formatted with FAT, in addition to the
existing UBI-based environment configuration.

Signed-off-by: Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi@altera.com>
Reviewed-by: Tien Fong Chee <tien.fong.chee@altera.com>
configs/socfpga_agilex5_defconfig

index bbe712f..64f2f1b 100644 (file)
@@ -70,7 +70,9 @@ CONFIG_CMD_UBI=y
 # CONFIG_ISO_PARTITION is not set
 # CONFIG_EFI_PARTITION is not set
 CONFIG_OF_LIST=""
+CONFIG_ENV_IS_IN_FAT=y
 CONFIG_ENV_IS_IN_UBI=y
+CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
 CONFIG_ENV_UBI_PART="root"
 CONFIG_ENV_UBI_VOLUME="env"
 CONFIG_ENV_RELOC_GD_ENV_ADDR=y