summaryrefslogtreecommitdiff
path: root/board/tcl/sl50/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/tcl/sl50/board.c')
-rw-r--r--board/tcl/sl50/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/tcl/sl50/board.c b/board/tcl/sl50/board.c
index 08af279751..f79bb9dcdd 100644
--- a/board/tcl/sl50/board.c
+++ b/board/tcl/sl50/board.c
@@ -77,7 +77,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