initial commit with v2.6.9
[linux-2.6.9-moxart.git] / arch / arm / mach-s3c2410 / s3c2410.h
blob09742c9bc5b4998f0f1edd79795c4d14bd95f146
1 /* arch/arm/mach-s3c2410/s3c2410.h
3 * Copyright (c) 2004 Simtec Electronics
4 * Ben Dooks <ben@simtec.co.uk>
6 * Header file for s3c2410 machine directory
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.
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
18 extern void s3c2410_map_io(struct map_desc *, int count);
20 extern void s3c2410_init_irq(void);
22 extern void s3c2410_init_time(void);
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.
31 struct s3c2410_board {
32 struct platform_device **devices;
33 unsigned int devices_count;
36 extern void s3c2410_set_board(struct s3c2410_board *board);
38 extern void s3c2410_init_uarts(struct s3c2410_uartcfg *cfg, int no);