summaryrefslogtreecommitdiff
path: root/board/syteco/zmx25/zmx25.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/syteco/zmx25/zmx25.c')
-rw-r--r--board/syteco/zmx25/zmx25.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/syteco/zmx25/zmx25.c b/board/syteco/zmx25/zmx25.c
index e02dcf2995..85fda13188 100644
--- a/board/syteco/zmx25/zmx25.c
+++ b/board/syteco/zmx25/zmx25.c
@@ -146,7 +146,7 @@ int board_late_init(void)
udelay(5000);
#endif
- e = getenv("gs_base_board");
+ e = env_get("gs_base_board");
if (e != NULL) {
if (strcmp(e, "G283") == 0) {
int key = gpio_get_value(IMX_GPIO_NR(2, 29));