rmobile.h 778 B

123456789101112131415161718192021222324252627282930
  1. #ifndef __ASM_ARCH_RMOBILE_H
  2. #define __ASM_ARCH_RMOBILE_H
  3. #if defined(CONFIG_ARCH_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. #elif defined(CONFIG_R8A7795)
  17. #include <asm/arch/r8a7795.h>
  18. #else
  19. #error "SOC Name not defined"
  20. #endif
  21. #endif /* CONFIG_ARCH_RMOBILE */
  22. #ifndef __ASSEMBLY__
  23. u32 rmobile_get_cpu_type(void);
  24. u32 rmobile_get_cpu_rev_integer(void);
  25. u32 rmobile_get_cpu_rev_fraction(void);
  26. #endif /* __ASSEMBLY__ */
  27. #endif /* __ASM_ARCH_RMOBILE_H */