]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arm/mach-kirkwood/cpu.c
env: Rename getenv/_f() to env_get()
[people/ms/u-boot.git] / arch / arm / mach-kirkwood / cpu.c
index 4c9d3fde47f58af4915676505bd0cb80d2cd1f45..db2ff0311cfd0dac58cd3d7c7d353ea7c483a1f1 100644 (file)
@@ -129,7 +129,7 @@ int kw_config_adr_windows(void)
 static void kw_sysrst_action(void)
 {
        int ret;
-       char *s = getenv("sysrstcmd");
+       char *s = env_get("sysrstcmd");
 
        if (!s) {
                debug("Error.. %s failed, check sysrstcmd\n",
@@ -153,7 +153,7 @@ static void kw_sysrst_check(void)
        /*
         * no action if sysrstdelay environment variable is not defined
         */
-       s = getenv("sysrstdelay");
+       s = env_get("sysrstdelay");
        if (s == NULL)
                return;