ARM: tegra: avoid more operations in non-secure world
[oweals/u-boot.git] / arch / arm / mach-imx / video.c
index 55242f0eaabaedad4a8dce5ef4cec0e996eb7f74..b40ce53405ae2af765549cd02c85540199781d61 100644 (file)
@@ -1,6 +1,4 @@
-/*
- * SPDX-License-Identifier:    GPL-2.0+
- */
+// SPDX-License-Identifier: GPL-2.0+
 
 #include <common.h>
 #include <linux/errno.h>
@@ -10,7 +8,7 @@ int board_video_skip(void)
 {
        int i;
        int ret;
-       char const *panel = getenv("panel");
+       char const *panel = env_get("panel");
 
        if (!panel) {
                for (i = 0; i < display_count; i++) {