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

AKASHI Takahiro takahiro.akashi at linaro.org
Thu Sep 5 08:21:31 UTC 2019


env_xxx(...) -> env_xxx(ctx_uboot, ...)

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

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++)
-- 
2.21.0



More information about the U-Boot mailing list