s5p6440.h 993 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /* arch/arm/plat-s5p/include/plat/s5p6440.h
  2. *
  3. * Copyright (c) 2009 Samsung Electronics Co., Ltd.
  4. * http://www.samsung.com/
  5. *
  6. * Header file for s5p6440 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. /* Common init code for S5P6440 related SoCs */
  13. extern void s5p6440_common_init_uarts(struct s3c2410_uartcfg *cfg, int no);
  14. extern void s5p6440_register_clocks(void);
  15. extern void s5p6440_setup_clocks(void);
  16. #ifdef CONFIG_CPU_S5P6440
  17. extern int s5p6440_init(void);
  18. extern void s5p6440_init_irq(void);
  19. extern void s5p6440_map_io(void);
  20. extern void s5p6440_init_clocks(int xtal);
  21. #define s5p6440_init_uarts s5p6440_common_init_uarts
  22. #else
  23. #define s5p6440_init_clocks NULL
  24. #define s5p6440_init_uarts NULL
  25. #define s5p6440_map_io NULL
  26. #define s5p6440_init NULL
  27. #endif
  28. /* S5P6440 timer */
  29. extern struct sys_timer s5p6440_timer;