aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-orion/include/plat/common.h
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2011-05-15 07:32:41 -0400
committerNicolas Pitre <nico@fluxnic.net>2011-05-16 14:46:17 -0400
commit28a2b45054f2e3f3671e36a6e9efc82756afa31a (patch)
treeb33726c3de55636902cc033124eb3dd6ba6fe1d1 /arch/arm/plat-orion/include/plat/common.h
parent5c60255149eece2a36ec9f5c99817b85f96fe8ec (diff)
ARM: orion: Consolidate the creation of the uart platform data.
Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
Diffstat (limited to 'arch/arm/plat-orion/include/plat/common.h')
-rw-r--r--arch/arm/plat-orion/include/plat/common.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/arch/arm/plat-orion/include/plat/common.h b/arch/arm/plat-orion/include/plat/common.h
new file mode 100644
index 00000000000..92ff9916a1d
--- /dev/null
+++ b/arch/arm/plat-orion/include/plat/common.h
@@ -0,0 +1,33 @@
1/*
2 * arch/arm/plat-orion/include/plat/common.h
3 *
4 * Marvell Orion SoC common setup code used by different mach-/common.c
5 *
6 * This file is licensed under the terms of the GNU General Public
7 * License version 2. This program is licensed "as is" without any
8 * warranty of any kind, whether express or implied.
9 */
10
11#ifndef __PLAT_COMMON_H
12
13
14void __init orion_uart0_init(unsigned int membase,
15 resource_size_t mapbase,
16 unsigned int irq,
17 unsigned int uartclk);
18
19void __init orion_uart1_init(unsigned int membase,
20 resource_size_t mapbase,
21 unsigned int irq,
22 unsigned int uartclk);
23
24void __init orion_uart2_init(unsigned int membase,
25 resource_size_t mapbase,
26 unsigned int irq,
27 unsigned int uartclk);
28
29void __init orion_uart3_init(unsigned int membase,
30 resource_size_t mapbase,
31 unsigned int irq,
32 unsigned int uartclk);
33#endif