e120577695705c7411bc75db44e1596b240449ca
[openwrt.git] / target / linux / adm5120 / files / arch / mips / adm5120 / boards / generic.c
1 /*
2 * $Id$
3 *
4 * Generic ADM5120 based board
5 *
6 * Copyright (C) 2007 OpenWrt.org
7 * Copyright (C) 2007 Gabor Juhos <juhosg at openwrt.org>
8 *
9 * This program is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU General Public License version 2 as published
11 * by the Free Software Foundation.
12 *
13 */
14
15 #include <linux/kernel.h>
16 #include <linux/init.h>
17
18 #include <asm/bootinfo.h>
19 #include <asm/gpio.h>
20
21 #include <adm5120_board.h>
22 #include <adm5120_platform.h>
23
24 static struct platform_device *generic_devices[] __initdata = {
25 &adm5120_flash0_device,
26 &adm5120_hcd_device,
27 };
28
29 /*--------------------------------------------------------------------------*/
30
31 ADM5120_BOARD_START(GENERIC, "Generic ADM5120 board")
32 .eth_num_ports = 6,
33 .num_devices = ARRAY_SIZE(generic_devices),
34 .devices = generic_devices,
35 ADM5120_BOARD_END
This page took 0.040785 seconds and 3 git commands to generate.