1 /* arch/arm/mach-s3c2410/include/mach/hardware.h
3 * Copyright (c) 2003 Simtec Electronics
4 * Ben Dooks <ben@simtec.co.uk>
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
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>
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 */