common.h 912 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * arch/arm/mach-loki/common.h
  3. *
  4. * Core functions for Marvell Loki (88RC8480) SoCs
  5. *
  6. * This file is licensed under the terms of the GNU General Public
  7. * License version 2. This program is licensed "as is" without any
  8. * warranty of any kind, whether express or implied.
  9. */
  10. #ifndef __ARCH_LOKI_COMMON_H
  11. #define __ARCH_LOKI_COMMON_H
  12. struct mv643xx_eth_platform_data;
  13. /*
  14. * Basic Loki init functions used early by machine-setup.
  15. */
  16. void loki_map_io(void);
  17. void loki_init(void);
  18. void loki_init_irq(void);
  19. extern struct mbus_dram_target_info loki_mbus_dram_info;
  20. void loki_setup_cpu_mbus(void);
  21. void loki_setup_dev_boot_win(u32 base, u32 size);
  22. void loki_ge0_init(struct mv643xx_eth_platform_data *eth_data);
  23. void loki_ge1_init(struct mv643xx_eth_platform_data *eth_data);
  24. void loki_sas_init(void);
  25. void loki_uart0_init(void);
  26. void loki_uart1_init(void);
  27. extern struct sys_timer loki_timer;
  28. #endif