sh: sh3: Remove CPU support
[oweals/u-boot.git] / arch / sh / lib / bootm.c
index 8a0010be23797d4ac075e0b5818d7d7e11e3e284..2896e45f0df8bf05949ef4c0af03fb2b13c58374 100644 (file)
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * (C) Copyright 2003
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
  * (c) Copyright 2008 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
  * (c) Copyright 2008 Renesas Solutions Corp.
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -61,7 +60,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