blob: a5b794ff838b5b230929a12f0589e26f186d668a [file] [log] [blame]
Kukjin Kim3cd7b622011-09-10 10:09:21 +09001/* linux/arch/arm/plat-samsung/include/plat/s3c2443.h
Ben Dookse4d06e32007-02-16 12:12:31 +01002 *
3 * Copyright (c) 2004-2005 Simtec Electronics
4 * Ben Dooks <ben@simtec.co.uk>
5 *
6 * Header file for s3c2443 cpu support
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
13#ifdef CONFIG_CPU_S3C2443
14
15struct s3c2410_uartcfg;
16
17extern int s3c2443_init(void);
18
Ben Dooks74b265d2008-10-21 14:06:31 +010019extern void s3c2443_map_io(void);
Ben Dookse4d06e32007-02-16 12:12:31 +010020
21extern void s3c2443_init_uarts(struct s3c2410_uartcfg *cfg, int no);
22
23extern void s3c2443_init_clocks(int xtal);
24
25extern int s3c2443_baseclk_add(void);
26
Heiko Stuebner57538972011-12-22 23:37:44 +010027extern void s3c2443_restart(char mode, const char *cmd);
Ben Dookse4d06e32007-02-16 12:12:31 +010028#else
29#define s3c2443_init_clocks NULL
30#define s3c2443_init_uarts NULL
31#define s3c2443_map_io NULL
32#define s3c2443_init NULL
Heiko Stuebner57538972011-12-22 23:37:44 +010033#define s3c2443_restart NULL
Ben Dookse4d06e32007-02-16 12:12:31 +010034#endif