From 2a38e712652f678c9e6141f5d83bc4fdfafe161f Mon Sep 17 00:00:00 2001
From: Heinrich Schuchardt <xypron.glpk@gmx.de>
Date: Thu, 4 Mar 2021 18:28:37 +0000
Subject: [PATCH] sandbox: add FAT to the list of usable env drivers

Add the FAT environment driver to the priority list.

When testing the UEFI sub-system the EFI system partition is formatted with
FAT so it is reasonable to store the environment there.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
---
 board/sandbox/sandbox.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/board/sandbox/sandbox.c b/board/sandbox/sandbox.c
index 3c63d45dd3..902b99ed50 100644
--- a/board/sandbox/sandbox.c
+++ b/board/sandbox/sandbox.c
@@ -48,6 +48,7 @@ unsigned long timer_read_counter(void)
 static enum env_location env_locations[] = {
 	ENVL_NOWHERE,
 	ENVL_EXT4,
+	ENVL_FAT,
 };
 
 enum env_location env_get_location(enum env_operation op, int prio)
-- 
2.39.5