1c3fe0bff28769e26de8905a5e9b07fa2edd876b
[oweals/u-boot.git] / arch / arm / mach-rmobile / include / mach / rmobile.h
1 #ifndef __ASM_ARCH_RMOBILE_H
2 #define __ASM_ARCH_RMOBILE_H
3
4 #if defined(CONFIG_ARCH_RMOBILE)
5 #if defined(CONFIG_SH73A0)
6 #include <asm/arch/sh73a0.h>
7 #elif defined(CONFIG_R8A7740)
8 #include <asm/arch/r8a7740.h>
9 #elif defined(CONFIG_R8A7790)
10 #include <asm/arch/r8a7790.h>
11 #elif defined(CONFIG_R8A7791)
12 #include <asm/arch/r8a7791.h>
13 #elif defined(CONFIG_R8A7793)
14 #include <asm/arch/r8a7793.h>
15 #elif defined(CONFIG_R8A7794)
16 #include <asm/arch/r8a7794.h>
17 #elif defined(CONFIG_R8A7795)
18 #include <asm/arch/r8a7795.h>
19 #else
20 #error "SOC Name not defined"
21 #endif
22 #endif /* CONFIG_ARCH_RMOBILE */
23
24 #ifndef __ASSEMBLY__
25 u32 rmobile_get_cpu_type(void);
26 u32 rmobile_get_cpu_rev_integer(void);
27 u32 rmobile_get_cpu_rev_fraction(void);
28 #endif /* __ASSEMBLY__ */
29
30 #endif /* __ASM_ARCH_RMOBILE_H */