]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-uniphier/mmc-first-dev.c
configs: Add DDR Kconfig support for Arria 10
[u-boot] / arch / arm / mach-uniphier / mmc-first-dev.c
index 8c45229a8953f77459cba4cf58111b135eba3365..2f1c109b9e2c18696f796856b80ad1e8fb45cbf2 100644 (file)
@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (C) 2016 Socionext Inc.
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -35,7 +34,7 @@ static int do_mmcsetn(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
        if (dev < 0)
                return CMD_RET_FAILURE;
 
-       setenv_ulong("mmc_first_dev", dev);
+       env_set_ulong("mmc_first_dev", dev);
        return CMD_RET_SUCCESS;
 }