ARM: 7409/1: Do not call flush_cache_user_range with mmap_sem held
[linux/fpc-iii.git] / arch / arm / mach-ux500 / board-u5500.c
blob44fd3b5c33ec2de7f4321cf3fb513f20daa03b58
1 /*
2 * Copyright (C) ST-Ericsson SA 2010
4 * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
5 * License terms: GNU General Public License (GPL) version 2
6 */
8 #include <linux/init.h>
9 #include <linux/platform_device.h>
10 #include <linux/amba/bus.h>
11 #include <linux/gpio.h>
12 #include <linux/irq.h>
14 #include <asm/mach/arch.h>
15 #include <asm/mach-types.h>
17 #include <mach/hardware.h>
18 #include <mach/devices.h>
19 #include <mach/setup.h>
21 #include "devices-db5500.h"
23 static void __init u5500_uart_init(void)
25 db5500_add_uart0(NULL);
26 db5500_add_uart1(NULL);
27 db5500_add_uart2(NULL);
30 static void __init u5500_init_machine(void)
32 u5500_init_devices();
34 u5500_sdi_init();
35 u5500_uart_init();
38 MACHINE_START(U5500, "ST-Ericsson U5500 Platform")
39 .boot_params = 0x00000100,
40 .map_io = u5500_map_io,
41 .init_irq = ux500_init_irq,
42 .timer = &ux500_timer,
43 .init_machine = u5500_init_machine,
44 MACHINE_END