]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
board: zynqmp: allow env in fat/ext when booting out of qspi
authorNeal Frager <neal.frager@amd.com>
Tue, 6 Jan 2026 12:37:29 +0000 (12:37 +0000)
committerMichal Simek <michal.simek@amd.com>
Mon, 12 Jan 2026 09:32:23 +0000 (10:32 +0100)
Allow saving the environment in fat and in ext4 when bootmode is qspi.

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Neal Frager <neal.frager@amd.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20260106123729.1483656-1-neal.frager@amd.com
board/xilinx/zynqmp/zynqmp.c

index 3b28ba62374e99f0d7ec1ba4d9f985dd35b86854..769e52bcfb5f29ff07b2f135716e62869fdeffe2 100644 (file)
@@ -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: