diff mbox series

sandbox: add FAT to the list of usable env drivers

Message ID 20210304182837.63165-1-xypron.glpk@gmx.de
State Accepted
Commit 2a38e712652f678c9e6141f5d83bc4fdfafe161f
Delegated to: Simon Glass
Headers show
Series sandbox: add FAT to the list of usable env drivers | expand

Commit Message

Heinrich Schuchardt March 4, 2021, 6:28 p.m. UTC
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>
---
 board/sandbox/sandbox.c | 1 +
 1 file changed, 1 insertion(+)

--
2.28.0

Comments

Simon Glass March 15, 2021, 5:16 a.m. UTC | #1
On Fri, 5 Mar 2021 at 07:28, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
>
> 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>
> ---
>  board/sandbox/sandbox.c | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Simon Glass <sjg@chromium.org>
Simon Glass March 16, 2021, 5:58 a.m. UTC | #2
On Fri, 5 Mar 2021 at 07:28, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
>
> 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>
> ---
>  board/sandbox/sandbox.c | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot-dm/next, thanks!
diff mbox series

Patch

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)