[PATCH v1 1/1] board: zynqmp: allow env in fat/ext when booting out of qspi
Michal Simek
michal.simek at amd.com
Mon Jan 12 10:32:37 CET 2026
On 1/6/26 13:37, Neal Frager wrote:
> Allow saving the environment in fat and in ext4 when bootmode is qspi.
>
> Signed-off-by: Ricardo Salveti <ricardo at foundries.io>
> Signed-off-by: Neal Frager <neal.frager at amd.com>
> ---
> board/xilinx/zynqmp/zynqmp.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> 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:
Applied.
M
More information about the U-Boot
mailing list