Commit | Line | Data |
---|---|---|
a09e64fb | 1 | /* arch/arm/mach-s3c2410/include/mach/hardware.h |
1da177e4 | 2 | * |
f056076e BD |
3 | * Copyright (c) 2003 Simtec Electronics |
4 | * Ben Dooks <ben@simtec.co.uk> | |
1da177e4 LT |
5 | * |
6 | * S3C2410 - hardware | |
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. | |
1da177e4 LT |
11 | */ |
12 | ||
13 | #ifndef __ASM_ARCH_HARDWARE_H | |
14 | #define __ASM_ARCH_HARDWARE_H | |
15 | ||
16 | #ifndef __ASSEMBLY__ | |
17 | ||
1da177e4 LT |
18 | extern unsigned int s3c2410_modify_misccr(unsigned int clr, unsigned int chg); |
19 | ||
9153bd75 BD |
20 | #ifdef CONFIG_CPU_S3C2440 |
21 | ||
22 | extern int s3c2440_set_dsc(unsigned int pin, unsigned int value); | |
23 | ||
24 | #endif /* CONFIG_CPU_S3C2440 */ | |
25 | ||
67d729ad BD |
26 | #ifdef CONFIG_CPU_S3C2412 |
27 | ||
28 | extern int s3c2412_gpio_set_sleepcfg(unsigned int pin, unsigned int state); | |
29 | ||
30 | #endif /* CONFIG_CPU_S3C2412 */ | |
9153bd75 | 31 | |
1da177e4 LT |
32 | #endif /* __ASSEMBLY__ */ |
33 | ||
34 | #include <asm/sizes.h> | |
a09e64fb | 35 | #include <mach/map.h> |
1da177e4 LT |
36 | |
37 | /* machine specific hardware definitions should go after this */ | |
38 | ||
39 | /* currently here until moved into config (todo) */ | |
40 | #define CONFIG_NO_MULTIWORD_IO | |
41 | ||
42 | #endif /* __ASM_ARCH_HARDWARE_H */ |