exynos4.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /* linux/arch/arm/plat-samsung/include/plat/exynos4.h
  2. *
  3. * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
  4. * http://www.samsung.com
  5. *
  6. * Header file for exynos4 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 EXYNOS4 related SoCs */
  13. extern void exynos4_common_init_uarts(struct s3c2410_uartcfg *cfg, int no);
  14. extern void exynos4_register_clocks(void);
  15. extern void exynos4210_register_clocks(void);
  16. extern void exynos4212_register_clocks(void);
  17. extern void exynos4_setup_clocks(void);
  18. #ifdef CONFIG_ARCH_EXYNOS4
  19. extern int exynos4_init(void);
  20. extern void exynos4_init_irq(void);
  21. extern void exynos4_map_io(void);
  22. extern void exynos4_init_clocks(int xtal);
  23. extern struct sys_timer exynos4_timer;
  24. #define exynos4_init_uarts exynos4_common_init_uarts
  25. #else
  26. #define exynos4_init_clocks NULL
  27. #define exynos4_init_uarts NULL
  28. #define exynos4_map_io NULL
  29. #define exynos4_init NULL
  30. #endif