rmobile.h 708 B

12345678910111213141516171819202122232425262728
  1. #ifndef __ASM_ARCH_RMOBILE_H
  2. #define __ASM_ARCH_RMOBILE_H
  3. #if defined(CONFIG_RMOBILE)
  4. #if defined(CONFIG_SH73A0)
  5. #include <asm/arch/sh73a0.h>
  6. #elif defined(CONFIG_R8A7740)
  7. #include <asm/arch/r8a7740.h>
  8. #elif defined(CONFIG_R8A7790)
  9. #include <asm/arch/r8a7790.h>
  10. #elif defined(CONFIG_R8A7791)
  11. #include <asm/arch/r8a7791.h>
  12. #elif defined(CONFIG_R8A7793)
  13. #include <asm/arch/r8a7793.h>
  14. #elif defined(CONFIG_R8A7794)
  15. #include <asm/arch/r8a7794.h>
  16. #else
  17. #error "SOC Name not defined"
  18. #endif
  19. #endif /* CONFIG_RMOBILE */
  20. #ifndef __ASSEMBLY__
  21. u32 rmobile_get_cpu_type(void);
  22. u32 rmobile_get_cpu_rev_integer(void);
  23. u32 rmobile_get_cpu_rev_fraction(void);
  24. #endif /* __ASSEMBLY__ */
  25. #endif /* __ASM_ARCH_RMOBILE_H */