hardware.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /* arch/arm/mach-s3c2410/include/mach/hardware.h
  2. *
  3. * Copyright (c) 2003 Simtec Electronics
  4. * Ben Dooks <ben@simtec.co.uk>
  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.
  11. */
  12. #ifndef __ASM_ARCH_HARDWARE_H
  13. #define __ASM_ARCH_HARDWARE_H
  14. #ifndef __ASSEMBLY__
  15. extern unsigned int s3c2410_modify_misccr(unsigned int clr, unsigned int chg);
  16. #ifdef CONFIG_CPU_S3C2440
  17. extern int s3c2440_set_dsc(unsigned int pin, unsigned int value);
  18. #endif /* CONFIG_CPU_S3C2440 */
  19. #ifdef CONFIG_CPU_S3C2412
  20. extern int s3c2412_gpio_set_sleepcfg(unsigned int pin, unsigned int state);
  21. #endif /* CONFIG_CPU_S3C2412 */
  22. #endif /* __ASSEMBLY__ */
  23. #include <asm/sizes.h>
  24. #include <mach/map.h>
  25. /* machine specific hardware definitions should go after this */
  26. /* currently here until moved into config (todo) */
  27. #define CONFIG_NO_MULTIWORD_IO
  28. #endif /* __ASM_ARCH_HARDWARE_H */