s5pc100.h 931 B

123456789101112131415161718192021222324252627282930313233
  1. /* arch/arm/plat-s5p/include/plat/s5pc100.h
  2. *
  3. * Copyright (c) 2010 Samsung Electronics Co., Ltd.
  4. * http://www.samsung.com/
  5. *
  6. * Header file for s5pc100 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 S5PC100 related SoCs */
  13. extern void s5pc100_common_init_uarts(struct s3c2410_uartcfg *cfg, int no);
  14. extern void s5pc100_register_clocks(void);
  15. extern void s5pc100_setup_clocks(void);
  16. #ifdef CONFIG_CPU_S5PC100
  17. extern int s5pc100_init(void);
  18. extern void s5pc100_init_irq(void);
  19. extern void s5pc100_map_io(void);
  20. extern void s5pc100_init_clocks(int xtal);
  21. #define s5pc100_init_uarts s5pc100_common_init_uarts
  22. #else
  23. #define s5pc100_init_clocks NULL
  24. #define s5pc100_init_uarts NULL
  25. #define s5pc100_map_io NULL
  26. #define s5pc100_init NULL
  27. #endif