arm: rmobile: Add support R8A7794
[oweals/u-boot.git] / arch / arm / include / asm / arch-rmobile / rmobile.h
1 #ifndef __ASM_ARCH_RMOBILE_H
2 #define __ASM_ARCH_RMOBILE_H
3
4 #if defined(CONFIG_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_R8A7794)
14 #include <asm/arch/r8a7794.h>
15 #else
16 #error "SOC Name not defined"
17 #endif
18 #endif /* CONFIG_RMOBILE */
19
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
26 #endif /* __ASM_ARCH_RMOBILE_H */