mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-09-24 19:29:48 +03:00
6d8520bc41
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10305 3c298f89-4303-0410-b956-a3cf2f4a3e73
36 lines
865 B
C
36 lines
865 B
C
/*
|
|
* $Id$
|
|
*
|
|
* Generic ADM5120 based board
|
|
*
|
|
* Copyright (C) 2007 OpenWrt.org
|
|
* Copyright (C) 2007 Gabor Juhos <juhosg at openwrt.org>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License version 2 as published
|
|
* by the Free Software Foundation.
|
|
*
|
|
*/
|
|
|
|
#include <linux/kernel.h>
|
|
#include <linux/init.h>
|
|
|
|
#include <asm/bootinfo.h>
|
|
#include <asm/gpio.h>
|
|
|
|
#include <adm5120_board.h>
|
|
#include <adm5120_platform.h>
|
|
|
|
static struct platform_device *generic_devices[] __initdata = {
|
|
&adm5120_flash0_device,
|
|
&adm5120_hcd_device,
|
|
};
|
|
|
|
/*--------------------------------------------------------------------------*/
|
|
|
|
ADM5120_BOARD_START(GENERIC, "Generic ADM5120 board")
|
|
.eth_num_ports = 6,
|
|
.num_devices = ARRAY_SIZE(generic_devices),
|
|
.devices = generic_devices,
|
|
ADM5120_BOARD_END
|