s3c244x.h 721 B

12345678910111213141516171819202122232425
  1. /* linux/arch/arm/plat-s3c24xx/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(struct map_desc *mach_desc, int size);
  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. #define s3c244x_map_io NULL
  20. #endif