vserver 1.9.3
[linux-2.6.git] / arch / arm / mach-s3c2410 / s3c2410.h
1 /* arch/arm/mach-s3c2410/s3c2410.h
2  *
3  * Copyright (c) 2004 Simtec Electronics
4  * Ben Dooks <ben@simtec.co.uk>
5  *
6  * Header file for s3c2410 machine directory
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License version 2 as
10  * published by the Free Software Foundation.
11  *
12  * Modifications:
13  *     18-Aug-2004 BJD  Created initial version
14  *     20-Aug-2004 BJD  Added s3c2410_board struct
15  *     04-Sep-2004 BJD  Added s3c2410_init_uarts() call
16 */
17
18 extern void s3c2410_map_io(struct map_desc *, int count);
19
20 extern void s3c2410_init_irq(void);
21
22 extern void s3c2410_init_time(void);
23
24 /* the board structure is used at first initialsation time
25  * to get info such as the devices to register for this
26  * board. This is done because platfrom_add_devices() cannot
27  * be called from the map_io entry.
28  *
29 */
30
31 struct s3c2410_board {
32         struct platform_device  **devices;
33         unsigned int              devices_count;
34 };
35
36 extern void s3c2410_set_board(struct s3c2410_board *board);
37
38 extern void s3c2410_init_uarts(struct s3c2410_uartcfg *cfg, int no);