core.h 712 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Copyright 2000 Deep Blue Solutions Ltd
  3. * Copyright 2004 ARM Limited
  4. * Copyright 2008 Cavium Networks
  5. *
  6. * This file is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License, Version 2, as
  8. * published by the Free Software Foundation.
  9. */
  10. #ifndef __CNS3XXX_CORE_H
  11. #define __CNS3XXX_CORE_H
  12. extern void cns3xxx_timer_init(void);
  13. #ifdef CONFIG_CACHE_L2X0
  14. void __init cns3xxx_l2x0_init(void);
  15. #else
  16. static inline void cns3xxx_l2x0_init(void) {}
  17. #endif /* CONFIG_CACHE_L2X0 */
  18. void __init cns3xxx_map_io(void);
  19. void __init cns3xxx_init_irq(void);
  20. void cns3xxx_power_off(void);
  21. void cns3xxx_restart(char, const char *);
  22. #endif /* __CNS3XXX_CORE_H */