summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeal Frager <[email protected]>2026-01-06 12:37:29 +0000
committerMichal Simek <[email protected]>2026-01-12 10:32:23 +0100
commit7a2764721af6cbaabfd496f3bcfa2427fc3d7cc0 (patch)
treecbb74c935801848a21e662ad1a05b7693630f233
parente55a57715d942c20eafcf472998a333579f4b5f4 (diff)
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 <[email protected]> Signed-off-by: Neal Frager <[email protected]> Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/[email protected]
-rw-r--r--board/xilinx/zynqmp/zynqmp.c4
1 files changed, 4 insertions, 0 deletions
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: