1 /* Copyright (C) 2013 Jonas Jensen <jonas.jensen@gmail.com>
2 * This program is free software; you can redistribute it and/or modify it
3 * under the terms of the GNU General Public License as published by the
4 * Free Software Foundation; either version 2 of the License,
5 * or (at your option) any later version. */
7 #include <linux/kernel.h>
8 #include <linux/init.h>
10 #include <asm/mach-types.h>
11 #include <asm/mach/arch.h>
13 #include <mach/board.h>
15 static void __init
moxart_init(void)
17 moxart_register_uart();
18 moxart_add_ethernet_devices();
19 moxart_add_rtc_device();
20 moxart_add_dma_device();
23 static void __init
fixup_uc711x(struct machine_desc
*desc
,
24 struct tag
*tags
, char **cmdline
, struct meminfo
*mi
)
26 /* moxa_serial_init(); */
29 MACHINE_START(MOXART
, "MOXA UC-7112-LX")
30 .fixup
= fixup_uc711x
,
31 .map_io
= moxart_map_io
,
32 .init_machine
= moxart_init
,
33 .init_irq
= moxart_init_irq
,
34 .timer
= &moxart_timer
,
36 /* .boot_params = 0x100,
38 .param_offset = 0x00000100, */