s5pv310.h 976 B

12345678910111213141516171819202122232425262728293031323334
  1. /* linux/arch/arm/plat-s5p/include/plat/s5pv310.h
  2. *
  3. * Copyright (c) 2010 Samsung Electronics Co., Ltd.
  4. * http://www.samsung.com/
  5. *
  6. * Header file for s5pv310 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 S5PV310 related SoCs */
  13. extern void s5pv310_common_init_uarts(struct s3c2410_uartcfg *cfg, int no);
  14. extern void s5pv310_register_clocks(void);
  15. extern void s5pv310_setup_clocks(void);
  16. #ifdef CONFIG_CPU_S5PV310
  17. extern int s5pv310_init(void);
  18. extern void s5pv310_init_irq(void);
  19. extern void s5pv310_map_io(void);
  20. extern void s5pv310_init_clocks(int xtal);
  21. extern struct sys_timer s5pv310_timer;
  22. #define s5pv310_init_uarts s5pv310_common_init_uarts
  23. #else
  24. #define s5pv310_init_clocks NULL
  25. #define s5pv310_init_uarts NULL
  26. #define s5pv310_map_io NULL
  27. #define s5pv310_init NULL
  28. #endif