Commit | Line | Data |
---|---|---|
f17073a3 NI |
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> | |
f17073a3 | 14 | #include "common.h" |
f17073a3 NI |
15 | |
16 | static struct mv643xx_eth_platform_data openblocks_ge00_data = { | |
17 | .phy_addr = MV643XX_ETH_PHY_ADDR(0), | |
18 | }; | |
19 | ||
f17073a3 NI |
20 | void __init openblocks_a6_init(void) |
21 | { | |
22 | /* | |
23 | * Basic setup. Needs to be called early. | |
24 | */ | |
f17073a3 NI |
25 | kirkwood_ge00_init(&openblocks_ge00_data); |
26 | } |