blob: cbae50ddacc8ebc73c030a1daf34f6b648df15ab [file] [log] [blame]
Kukjin Kim3cd7b622011-09-10 10:09:21 +09001/* linux/arch/arm/plat-samsung/include/plat/s3c2412.h
Ben Dooks68d9ab32006-06-24 21:21:27 +01002 *
3 * Copyright (c) 2006 Simtec Electronics
4 * Ben Dooks <ben@simtec.co.uk>
5 *
6 * Header file for s3c2412 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_S3C2412
14
15extern int s3c2412_init(void);
16
Ben Dooks74b265d2008-10-21 14:06:31 +010017extern void s3c2412_map_io(void);
Ben Dooks68d9ab32006-06-24 21:21:27 +010018
19extern void s3c2412_init_uarts(struct s3c2410_uartcfg *cfg, int no);
20
21extern void s3c2412_init_clocks(int xtal);
22
23extern int s3c2412_baseclk_add(void);
Heiko Stuebner57538972011-12-22 23:37:44 +010024
25extern void s3c2412_restart(char mode, const char *cmd);
Ben Dooks68d9ab32006-06-24 21:21:27 +010026#else
27#define s3c2412_init_clocks NULL
28#define s3c2412_init_uarts NULL
29#define s3c2412_map_io NULL
30#define s3c2412_init NULL
Heiko Stuebner57538972011-12-22 23:37:44 +010031#define s3c2412_restart NULL
Ben Dooks68d9ab32006-06-24 21:21:27 +010032#endif