summaryrefslogtreecommitdiff
path: root/board/birdland/bav335x/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/birdland/bav335x/board.c')
-rw-r--r--board/birdland/bav335x/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/birdland/bav335x/board.c b/board/birdland/bav335x/board.c
index e174336e2c..f284568ec9 100644
--- a/board/birdland/bav335x/board.c
+++ b/board/birdland/bav335x/board.c
@@ -163,7 +163,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