Nobuhiro Iwamatsu | f3db9da | 2012-06-13 16:29:47 +0900 | [diff] [blame] | 1 | #ifndef __ASM_ARCH_RMOBILE_H |
| 2 | #define __ASM_ARCH_RMOBILE_H |
| 3 | |
Nobuhiro Iwamatsu | 7c11273 | 2015-10-10 05:58:28 +0900 | [diff] [blame] | 4 | #if defined(CONFIG_ARCH_RMOBILE) |
Nobuhiro Iwamatsu | 940103d | 2012-08-19 04:40:05 +0000 | [diff] [blame] | 5 | #if defined(CONFIG_SH73A0) |
| 6 | #include <asm/arch/sh73a0.h> |
Nobuhiro Iwamatsu | 3966dea | 2012-07-20 13:06:54 +0900 | [diff] [blame] | 7 | #elif defined(CONFIG_R8A7740) |
| 8 | #include <asm/arch/r8a7740.h> |
Nobuhiro Iwamatsu | c6ccb47 | 2013-11-21 17:06:45 +0900 | [diff] [blame] | 9 | #elif defined(CONFIG_R8A7790) |
| 10 | #include <asm/arch/r8a7790.h> |
Nobuhiro Iwamatsu | 4a495bc | 2013-11-21 17:07:45 +0900 | [diff] [blame] | 11 | #elif defined(CONFIG_R8A7791) |
| 12 | #include <asm/arch/r8a7791.h> |
masakazu.mochizuki.wd@hitachi.com | 9d0e937 | 2016-04-12 17:11:41 +0900 | [diff] [blame] | 13 | #elif defined(CONFIG_R8A7792) |
| 14 | #include <asm/arch/r8a7792.h> |
Nobuhiro Iwamatsu | 032d59c | 2014-11-05 06:50:06 +0900 | [diff] [blame] | 15 | #elif defined(CONFIG_R8A7793) |
| 16 | #include <asm/arch/r8a7793.h> |
Nobuhiro Iwamatsu | 1b15ba6 | 2014-06-24 17:10:02 +0900 | [diff] [blame] | 17 | #elif defined(CONFIG_R8A7794) |
| 18 | #include <asm/arch/r8a7794.h> |
Nobuhiro Iwamatsu | 2a6078e | 2016-04-01 03:51:35 +0900 | [diff] [blame] | 19 | #elif defined(CONFIG_R8A7795) |
| 20 | #include <asm/arch/r8a7795.h> |
Nobuhiro Iwamatsu | 940103d | 2012-08-19 04:40:05 +0000 | [diff] [blame] | 21 | #else |
Nobuhiro Iwamatsu | f3db9da | 2012-06-13 16:29:47 +0900 | [diff] [blame] | 22 | #error "SOC Name not defined" |
Nobuhiro Iwamatsu | 940103d | 2012-08-19 04:40:05 +0000 | [diff] [blame] | 23 | #endif |
Nobuhiro Iwamatsu | 7c11273 | 2015-10-10 05:58:28 +0900 | [diff] [blame] | 24 | #endif /* CONFIG_ARCH_RMOBILE */ |
Nobuhiro Iwamatsu | f3db9da | 2012-06-13 16:29:47 +0900 | [diff] [blame] | 25 | |
Nobuhiro Iwamatsu | 5e0f45d | 2014-03-31 14:15:29 +0900 | [diff] [blame] | 26 | #ifndef __ASSEMBLY__ |
| 27 | u32 rmobile_get_cpu_type(void); |
| 28 | u32 rmobile_get_cpu_rev_integer(void); |
| 29 | u32 rmobile_get_cpu_rev_fraction(void); |
| 30 | #endif /* __ASSEMBLY__ */ |
| 31 | |
Nobuhiro Iwamatsu | f3db9da | 2012-06-13 16:29:47 +0900 | [diff] [blame] | 32 | #endif /* __ASM_ARCH_RMOBILE_H */ |