summaryrefslogtreecommitdiffstats
path: root/board/compulab
diff options
context:
space:
mode:
Diffstat (limited to 'board/compulab')
-rw-r--r--board/compulab/cm_fx6/cm_fx6.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/board/compulab/cm_fx6/cm_fx6.c b/board/compulab/cm_fx6/cm_fx6.c
index 2fb8db5e58..3e518c18d4 100644
--- a/board/compulab/cm_fx6/cm_fx6.c
+++ b/board/compulab/cm_fx6/cm_fx6.c
@@ -95,7 +95,10 @@ int board_video_skip(void)
{
int ret;
struct display_info_t *preset;
- char const *panel = getenv("panel");
+ char const *panel = getenv("displaytype");
+
+ if (!panel) /* Also accept panel for backward compatibility */
+ panel = getenv("panel");
if (!panel)
return -ENOENT;
OpenPOWER on IntegriCloud