blob: b11d8fdeca9351bfd69438b78a7083eadbf45d54 [file] [log] [blame]
Nobuhiro Iwamatsuf17073a2012-11-13 16:43:09 +09001/*
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 Iwamatsuf17073a2012-11-13 16:43:09 +090014#include "common.h"
Nobuhiro Iwamatsuf17073a2012-11-13 16:43:09 +090015
16static struct mv643xx_eth_platform_data openblocks_ge00_data = {
17 .phy_addr = MV643XX_ETH_PHY_ADDR(0),
18};
19
Nobuhiro Iwamatsuf17073a2012-11-13 16:43:09 +090020void __init openblocks_a6_init(void)
21{
22 /*
23 * Basic setup. Needs to be called early.
24 */
Nobuhiro Iwamatsuf17073a2012-11-13 16:43:09 +090025 kirkwood_ge00_init(&openblocks_ge00_data);
26}