]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-keystone/keystone.c
ARM: dts: rmobile: Add SCIF2 pinmux to E3 Ebisu
[u-boot] / arch / arm / mach-keystone / keystone.c
index beb8a767c44a7bcd0dc13f8c54393d391f37c77e..7441052a5539a10d612a195b45077f0e2cf06323 100644 (file)
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Keystone EVM : Board initialization
  *
  * (C) Copyright 2014
  *     Texas Instruments Incorporated, <www.ti.com>
- *
- * SPDX-License-Identifier:     GPL-2.0+
  */
 
 #include <common.h>
@@ -46,7 +45,7 @@ int misc_init_r(void)
        char *env;
        long ks2_debug = 0;
 
-       env = getenv("ks2_debug");
+       env = env_get("ks2_debug");
 
        if (env)
                ks2_debug = simple_strtol(env, NULL, 0);