]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sandbox: add FAT to the list of usable env drivers
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 4 Mar 2021 18:28:37 +0000 (18:28 +0000)
committerSimon Glass <sjg@chromium.org>
Mon, 22 Mar 2021 06:23:26 +0000 (19:23 +1300)
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

index 3c63d45dd3e1d0d3bc7ed203657e64e39afa8572..902b99ed500562950aebb3751fb0352bc3359ba2 100644 (file)
@@ -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)