diff options
Diffstat (limited to 'board/highbank/highbank.c')
-rw-r--r-- | board/highbank/highbank.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/highbank/highbank.c b/board/highbank/highbank.c index 1af2207867..f7c05ab08f 100644 --- a/board/highbank/highbank.c +++ b/board/highbank/highbank.c @@ -80,11 +80,11 @@ int misc_init_r(void) boot_choice = readl(HB_SREG_A9_BOOT_SRC_STAT) & 0xff; sprintf(envbuffer, "bootcmd%d", boot_choice); - if (getenv(envbuffer)) { + if (env_get(envbuffer)) { sprintf(envbuffer, "run bootcmd%d", boot_choice); - setenv("bootcmd", envbuffer); + env_set("bootcmd", envbuffer); } else - setenv("bootcmd", ""); + env_set("bootcmd", ""); return 0; } |