aboutsummaryrefslogtreecommitdiff
path: root/board/ti/am57xx
diff options
context:
space:
mode:
Diffstat (limited to 'board/ti/am57xx')
-rw-r--r--board/ti/am57xx/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c
index 7bcbc31042f..7e7056cf71c 100644
--- a/board/ti/am57xx/board.c
+++ b/board/ti/am57xx/board.c
@@ -743,7 +743,7 @@ int spl_start_uboot(void)
#ifdef CONFIG_SPL_ENV_SUPPORT
env_init();
env_load();
- if (getenv_yesno("boot_os") != 1)
+ if (env_get_yesno("boot_os") != 1)
return 1;
#endif