]> git.sur5r.net Git - u-boot/blobdiff - board/nx823/nx823.c
Merge branch 'u-boot-ti/master' into 'u-boot-arm/master'
[u-boot] / board / nx823 / nx823.c
index 6ec29dc8575db08dc90bb55268b0cab6887962e5..d49fa8ca21af98754e7588ae30b582cbb15ac1c7 100644 (file)
@@ -5,28 +5,13 @@
  * (C) Copyright 2001-2002
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * 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>
 #include <malloc.h>
 #include <mpc8xx.h>
+#include <net.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -366,7 +351,7 @@ int misc_init_r (void)
        char tmp[50];
        uchar ethaddr[6];
        bd_t *bd = gd->bd;
-       ulong my_sernum = bd->bi_sernum;
+       ulong *my_sernum = (unsigned long *)&bd->bi_sernum;
 
        /* load unique serial number */
        for (i = 0; i < 8; ++i)