diff mbox series

[U-Boot,v5,17/19] post: converted with new env interfaces

Message ID 20190905082133.18996-18-takahiro.akashi@linaro.org
State Changes Requested, archived
Delegated to: Heinrich Schuchardt
Headers show
Series efi_loader: non-volatile variables support | expand

Commit Message

AKASHI Takahiro Sept. 5, 2019, 8:21 a.m. UTC
env_xxx(...) -> env_xxx(ctx_uboot, ...)

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
---
 post/post.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/post/post.c b/post/post.c
index fb751d9a83a5..d8a8279123cc 100644
--- a/post/post.c
+++ b/post/post.c
@@ -176,7 +176,7 @@  static void post_get_env_flags(int *test_flags)
 	int i, j;
 
 	for (i = 0; i < varnum; i++) {
-		if (env_get_f(var[i], list, sizeof(list)) <= 0)
+		if (env_get_f(ctx_uboot, var[i], list, sizeof(list)) <= 0)
 			continue;
 
 		for (j = 0; j < post_list_size; j++)