Nobuhiro Iwamatsu | f17073a | 2012-11-13 16:43:09 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2012 Nobuhiro Iwamatsu <iwamatsu@nigauri.org> |
| 3 | * |
| 4 | * arch/arm/mach-kirkwood/board-openblocks_a6.c |
| 5 | * |
| 6 | * This file is licensed under the terms of the GNU General Public |
| 7 | * License version 2. This program is licensed "as is" without any |
| 8 | * warranty of any kind, whether express or implied. |
| 9 | */ |
| 10 | |
| 11 | #include <linux/kernel.h> |
| 12 | #include <linux/init.h> |
| 13 | #include <linux/mv643xx_eth.h> |
Nobuhiro Iwamatsu | f17073a | 2012-11-13 16:43:09 +0900 | [diff] [blame] | 14 | #include "common.h" |
Nobuhiro Iwamatsu | f17073a | 2012-11-13 16:43:09 +0900 | [diff] [blame] | 15 | |
| 16 | static struct mv643xx_eth_platform_data openblocks_ge00_data = { |
| 17 | .phy_addr = MV643XX_ETH_PHY_ADDR(0), |
| 18 | }; |
| 19 | |
Nobuhiro Iwamatsu | f17073a | 2012-11-13 16:43:09 +0900 | [diff] [blame] | 20 | void __init openblocks_a6_init(void) |
| 21 | { |
| 22 | /* |
| 23 | * Basic setup. Needs to be called early. |
| 24 | */ |
Nobuhiro Iwamatsu | f17073a | 2012-11-13 16:43:09 +0900 | [diff] [blame] | 25 | kirkwood_ge00_init(&openblocks_ge00_data); |
| 26 | } |