From: Neal Frager Date: Tue, 6 Jan 2026 12:37:29 +0000 (+0000) Subject: board: zynqmp: allow env in fat/ext when booting out of qspi X-Git-Tag: v2026.04-rc1~25^2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a2764721af6cbaabfd496f3bcfa2427fc3d7cc0;p=thirdparty%2Fu-boot.git board: zynqmp: allow env in fat/ext when booting out of qspi Allow saving the environment in fat and in ext4 when bootmode is qspi. Signed-off-by: Ricardo Salveti Signed-off-by: Neal Frager Signed-off-by: Michal Simek Link: https://lore.kernel.org/r/20260106123729.1483656-1-neal.frager@amd.com --- diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index 3b28ba62374..769e52bcfb5 100644 --- a/board/xilinx/zynqmp/zynqmp.c +++ b/board/xilinx/zynqmp/zynqmp.c @@ -628,6 +628,10 @@ enum env_location env_get_location(enum env_operation op, int prio) case QSPI_MODE_32BIT: if (IS_ENABLED(CONFIG_ENV_IS_IN_SPI_FLASH)) return ENVL_SPI_FLASH; + if (IS_ENABLED(CONFIG_ENV_IS_IN_FAT)) + return ENVL_FAT; + if (IS_ENABLED(CONFIG_ENV_IS_IN_EXT4)) + return ENVL_EXT4; return ENVL_NOWHERE; case JTAG_MODE: default: