imx: imx6sx-sdb: Enable DM QSPI driver
[oweals/u-boot.git] / board / freescale / mx53loco / mx53loco_video.c
index bc5e8a9d3e0f63de4f983086550a4a2b483d5199..160af1ef0df3f7bb095f33d92e245583206601ae 100644 (file)
@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (C) 2012 Freescale Semiconductor, Inc.
  * Fabio Estevam <fabio.estevam@freescale.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -92,7 +91,7 @@ void setup_iomux_lcd(void)
 int board_video_skip(void)
 {
        int ret;
-       char const *e = getenv("panel");
+       char const *e = env_get("panel");
 
        if (e) {
                if (strcmp(e, "seiko") == 0) {