]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/sh/lib/bootm.c
env: Rename getenv/_f() to env_get()
[people/ms/u-boot.git] / arch / sh / lib / bootm.c
index 8a0010be23797d4ac075e0b5818d7d7e11e3e284..09fbd5e5df8ddae7e0e6797069a7732d829b346f 100644 (file)
@@ -61,7 +61,7 @@ int do_bootm_linux(int flag, int argc, char * const argv[], bootm_headers_t *ima
        char *cmdline = (char *)param + COMMAND_LINE;
        /* PAGE_SIZE */
        unsigned long size = images->ep - (unsigned long)param;
-       char *bootargs = getenv("bootargs");
+       char *bootargs = env_get("bootargs");
 
        /*
         * allow the PREP bootm subcommand, it is required for bootm to work