]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/ppmc8260/ppmc8260.c
patman: Use the full commit hash for 'git checkout'
[karo-tx-uboot.git] / board / ppmc8260 / ppmc8260.c
index 1808abdcb067c1da133318a6f395f4bc1b4fa2d6..f0f29b2f687686521e569bfbb2ae3a4fe663547d 100644 (file)
@@ -7,23 +7,7 @@
  * Advent Networks, Inc. <http://www.adventnetworks.com>
  * Jay Monkman <jtm@smoothsmoothie.com>
  *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -285,7 +269,7 @@ int misc_init_r (void)
        int res;
 
        if ((ds != 0) && (ds != 0xff)) {
-               res = getenv_("ethaddr", (char *)tmp, sizeof (tmp));
+               res = getenv_f("ethaddr", (char *)tmp, sizeof (tmp));
                if (res > 0) {
                        ss = ((ds >> 4) & 0x0f);
                        ss += ss < 0x0a ? '0' : ('a' - 10);