summaryrefslogtreecommitdiff
path: root/board/compulab/cm_fx6/cm_fx6.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/compulab/cm_fx6/cm_fx6.c')
-rw-r--r--board/compulab/cm_fx6/cm_fx6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/compulab/cm_fx6/cm_fx6.c b/board/compulab/cm_fx6/cm_fx6.c
index 2368226546..5a8ee13c8b 100644
--- a/board/compulab/cm_fx6/cm_fx6.c
+++ b/board/compulab/cm_fx6/cm_fx6.c
@@ -114,10 +114,10 @@ int board_video_skip(void)
{
int ret;
struct display_info_t *preset;
- char const *panel = getenv("displaytype");
+ char const *panel = env_get("displaytype");
if (!panel) /* Also accept panel for backward compatibility */
- panel = getenv("panel");
+ panel = env_get("panel");
if (!panel)
return -ENOENT;