s3c244x.h 996 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /* linux/arch/arm/plat-samsung/include/plat/s3c244x.h
  2. *
  3. * Copyright (c) 2004-2005 Simtec Electronics
  4. * Ben Dooks <ben@simtec.co.uk>
  5. *
  6. * Header file for S3C2440 and S3C2442 cpu support
  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. #if defined(CONFIG_CPU_S3C2440) || defined(CONFIG_CPU_S3C2442)
  13. extern void s3c244x_map_io(void);
  14. extern void s3c244x_init_uarts(struct s3c2410_uartcfg *cfg, int no);
  15. extern void s3c244x_init_clocks(int xtal);
  16. #else
  17. #define s3c244x_init_clocks NULL
  18. #define s3c244x_init_uarts NULL
  19. #endif
  20. #ifdef CONFIG_CPU_S3C2440
  21. extern int s3c2440_init(void);
  22. extern void s3c2440_map_io(void);
  23. #else
  24. #define s3c2440_init NULL
  25. #define s3c2440_map_io NULL
  26. #endif
  27. #ifdef CONFIG_CPU_S3C2442
  28. extern int s3c2442_init(void);
  29. extern void s3c2442_map_io(void);
  30. #else
  31. #define s3c2442_init NULL
  32. #define s3c2442_map_io NULL
  33. #endif