tizen 2.3.1 release
[platform/kernel/u-boot.git] / board / miromico / hammerhead / hammerhead.c
index d82fee7..78f4fd4 100644 (file)
@@ -3,7 +3,23 @@
  *
  * Mostly copied form atmel ATNGW100 sources
  *
- * SPDX-License-Identifier:    GPL-2.0+
+ * 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
  */
 
 #include <common.h>
@@ -13,7 +29,7 @@
 #include <asm/sdram.h>
 #include <asm/arch/clk.h>
 #include <asm/arch/hmatrix.h>
-#include <asm/arch/hardware.h>
+#include <asm/arch/memory-map.h>
 #include <asm/arch/mmu.h>
 #include <asm/arch/portmux.h>
 
@@ -52,8 +68,7 @@ static const struct sdram_config sdram_config = {
 #ifdef CONFIG_CMD_NET
 int board_eth_init(bd_t *bis)
 {
-       return macb_eth_initialize(0, (void *)ATMEL_BASE_MACB0,
-               bis->bi_phy_id[0]);
+       return macb_eth_initialize(0, (void *)MACB0_BASE, bis->bi_phy_id[0]);
 }
 #endif