imx: imx6sx-sdb: Enable DM QSPI driver
[oweals/u-boot.git] / board / freescale / mx53loco / mx53loco_video.c
index c4654c9b96ee2560c54872d8e2b7b4905f9702ac..160af1ef0df3f7bb095f33d92e245583206601ae 100644 (file)
@@ -1,24 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (C) 2012 Freescale Semiconductor, Inc.
  * Fabio Estevam <fabio.estevam@freescale.com>
- *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
  */
 
 #include <common.h>
@@ -108,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) {