2008-08-05 09:14:15 -06:00
|
|
|
/* arch/arm/mach-s3c2410/include/mach/hardware.h
|
2005-04-16 16:20:36 -06:00
|
|
|
*
|
2006-12-17 11:59:20 -07:00
|
|
|
* Copyright (c) 2003 Simtec Electronics
|
|
|
|
* Ben Dooks <ben@simtec.co.uk>
|
2005-04-16 16:20:36 -06:00
|
|
|
*
|
|
|
|
* S3C2410 - hardware
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ASM_ARCH_HARDWARE_H
|
|
|
|
#define __ASM_ARCH_HARDWARE_H
|
|
|
|
|
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
|
|
|
|
extern unsigned int s3c2410_modify_misccr(unsigned int clr, unsigned int chg);
|
|
|
|
|
2005-10-13 09:46:35 -06:00
|
|
|
#ifdef CONFIG_CPU_S3C2440
|
|
|
|
|
|
|
|
extern int s3c2440_set_dsc(unsigned int pin, unsigned int value);
|
|
|
|
|
|
|
|
#endif /* CONFIG_CPU_S3C2440 */
|
|
|
|
|
2008-01-28 05:01:19 -07:00
|
|
|
#ifdef CONFIG_CPU_S3C2412
|
|
|
|
|
|
|
|
extern int s3c2412_gpio_set_sleepcfg(unsigned int pin, unsigned int state);
|
|
|
|
|
|
|
|
#endif /* CONFIG_CPU_S3C2412 */
|
2005-10-13 09:46:35 -06:00
|
|
|
|
2005-04-16 16:20:36 -06:00
|
|
|
#endif /* __ASSEMBLY__ */
|
|
|
|
|
|
|
|
#include <asm/sizes.h>
|
2008-08-05 09:14:15 -06:00
|
|
|
#include <mach/map.h>
|
2005-04-16 16:20:36 -06:00
|
|
|
|
|
|
|
/* machine specific hardware definitions should go after this */
|
|
|
|
|
|
|
|
/* currently here until moved into config (todo) */
|
|
|
|
#define CONFIG_NO_MULTIWORD_IO
|
|
|
|
|
|
|
|
#endif /* __ASM_ARCH_HARDWARE_H */
|