RT-AC56 3.0.0.4.374.37 core
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / arch / arm / mach-s3c2410 / include / mach / hardware.h
blobaef5631eac58107cb56952399c0612611b5a5e7b
1 /* arch/arm/mach-s3c2410/include/mach/hardware.h
3 * Copyright (c) 2003 Simtec Electronics
4 * Ben Dooks <ben@simtec.co.uk>
6 * S3C2410 - hardware
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.
13 #ifndef __ASM_ARCH_HARDWARE_H
14 #define __ASM_ARCH_HARDWARE_H
16 #ifndef __ASSEMBLY__
18 extern unsigned int s3c2410_modify_misccr(unsigned int clr, unsigned int chg);
20 #ifdef CONFIG_CPU_S3C2440
22 extern int s3c2440_set_dsc(unsigned int pin, unsigned int value);
24 #endif /* CONFIG_CPU_S3C2440 */
26 #ifdef CONFIG_CPU_S3C2412
28 extern int s3c2412_gpio_set_sleepcfg(unsigned int pin, unsigned int state);
30 #endif /* CONFIG_CPU_S3C2412 */
32 #endif /* __ASSEMBLY__ */
34 #include <asm/sizes.h>
35 #include <mach/map.h>
37 /* machine specific hardware definitions should go after this */
39 /* currently here until moved into config (todo) */
40 #define CONFIG_NO_MULTIWORD_IO
42 #endif /* __ASM_ARCH_HARDWARE_H */