load the mac address from flash where it is possible
[openwrt/openwrt.git] / target / linux / adm5120 / files-2.6.26 / arch / mips / adm5120 / mikrotik / rb-1xx.h
1 /*
2 * Mikrotik RouterBOARD 1xx series support
3 *
4 * Copyright (C) 2007-2008 Gabor Juhos <juhosg@openwrt.org>
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published
8 * by the Free Software Foundation.
9 *
10 */
11
12 #include <linux/kernel.h>
13 #include <linux/init.h>
14 #include <linux/delay.h>
15 #include <linux/gpio.h>
16 #include <linux/etherdevice.h>
17
18 #include <asm/bootinfo.h>
19
20 #include <asm/mach-adm5120/adm5120_defs.h>
21 #include <asm/mach-adm5120/adm5120_irq.h>
22 #include <asm/mach-adm5120/adm5120_nand.h>
23 #include <asm/mach-adm5120/adm5120_board.h>
24 #include <asm/mach-adm5120/adm5120_platform.h>
25 #include <asm/mach-adm5120/adm5120_info.h>
26
27 #include <prom/routerboot.h>
28
29 extern struct platform_nand_data rb1xx_nand_data __initdata;
30 extern struct gpio_button rb1xx_gpio_buttons[] __initdata;
31
32 extern void rb1xx_add_device_flash(void) __init;
33 extern void rb1xx_add_device_nand(void) __init;
34 extern void rb1xx_generic_setup(void) __init;