]> git.sur5r.net Git - u-boot/blobdiff - arch/sh/lib/zimageboot.c
SPDX: Convert all of our single license tags to Linux Kernel style
[u-boot] / arch / sh / lib / zimageboot.c
index 3fea5f5b532108c124123ba32f996118991b5d51..93933b7931d76181f1924433858d24057ab5fd2e 100644 (file)
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * (C) Copyright 2010
  *   Renesas Solutions Corp.
  *   Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
@@ -42,7 +41,7 @@ int do_sh_zimageboot (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 
        /* Linux kernel command line */
        cmdline = (char *)param + COMMAND_LINE;
-       bootargs = getenv("bootargs");
+       bootargs = env_get("bootargs");
 
        /* Clear zero page */
        /* cppcheck-suppress nullPointer */