summaryrefslogtreecommitdiff
path: root/board/amazon/kc1/kc1.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/amazon/kc1/kc1.c')
-rw-r--r--board/amazon/kc1/kc1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/amazon/kc1/kc1.c b/board/amazon/kc1/kc1.c
index 13a9c6a0fe..2d8be1804a 100644
--- a/board/amazon/kc1/kc1.c
+++ b/board/amazon/kc1/kc1.c
@@ -119,7 +119,7 @@ int misc_init_r(void)
if (reboot_mode[0] > 0 && isascii(reboot_mode[0])) {
if (!getenv("reboot-mode"))
- setenv("reboot-mode", (char *)reboot_mode);
+ env_set("reboot-mode", (char *)reboot_mode);
}
omap_reboot_mode_clear();