[PATCH] sandbox: add FAT to the list of usable env drivers

Heinrich Schuchardt xypron.glpk at gmx.de
Thu Mar 4 19:28:37 CET 2021


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 at gmx.de>
---
 board/sandbox/sandbox.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/board/sandbox/sandbox.c b/board/sandbox/sandbox.c
index 937ce28411..36573f4e5f 100644
--- a/board/sandbox/sandbox.c
+++ b/board/sandbox/sandbox.c
@@ -49,6 +49,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.28.0



More information about the U-Boot mailing list