summaryrefslogtreecommitdiff
path: root/board/gdsys/p1022/controlcenterd.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/gdsys/p1022/controlcenterd.c')
-rw-r--r--board/gdsys/p1022/controlcenterd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/gdsys/p1022/controlcenterd.c b/board/gdsys/p1022/controlcenterd.c
index 01064dcfde..24e58cbf00 100644
--- a/board/gdsys/p1022/controlcenterd.c
+++ b/board/gdsys/p1022/controlcenterd.c
@@ -223,7 +223,7 @@ void hw_watchdog_reset(void)
#ifdef CONFIG_TRAILBLAZER
int do_bootd(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
- return run_command(getenv("bootcmd"), flag);
+ return run_command(env_get("bootcmd"), flag);
}
int board_early_init_r(void)