blob: 1c3fe0bff28769e26de8905a5e9b07fa2edd876b [file] [log] [blame]
Nobuhiro Iwamatsuf3db9da2012-06-13 16:29:47 +09001#ifndef __ASM_ARCH_RMOBILE_H
2#define __ASM_ARCH_RMOBILE_H
3
Nobuhiro Iwamatsu7c112732015-10-10 05:58:28 +09004#if defined(CONFIG_ARCH_RMOBILE)
Nobuhiro Iwamatsu940103d2012-08-19 04:40:05 +00005#if defined(CONFIG_SH73A0)
6#include <asm/arch/sh73a0.h>
Nobuhiro Iwamatsu3966dea2012-07-20 13:06:54 +09007#elif defined(CONFIG_R8A7740)
8#include <asm/arch/r8a7740.h>
Nobuhiro Iwamatsuc6ccb472013-11-21 17:06:45 +09009#elif defined(CONFIG_R8A7790)
10#include <asm/arch/r8a7790.h>
Nobuhiro Iwamatsu4a495bc2013-11-21 17:07:45 +090011#elif defined(CONFIG_R8A7791)
12#include <asm/arch/r8a7791.h>
Nobuhiro Iwamatsu032d59c2014-11-05 06:50:06 +090013#elif defined(CONFIG_R8A7793)
14#include <asm/arch/r8a7793.h>
Nobuhiro Iwamatsu1b15ba62014-06-24 17:10:02 +090015#elif defined(CONFIG_R8A7794)
16#include <asm/arch/r8a7794.h>
Nobuhiro Iwamatsu2a6078e2016-04-01 03:51:35 +090017#elif defined(CONFIG_R8A7795)
18#include <asm/arch/r8a7795.h>
Nobuhiro Iwamatsu940103d2012-08-19 04:40:05 +000019#else
Nobuhiro Iwamatsuf3db9da2012-06-13 16:29:47 +090020#error "SOC Name not defined"
Nobuhiro Iwamatsu940103d2012-08-19 04:40:05 +000021#endif
Nobuhiro Iwamatsu7c112732015-10-10 05:58:28 +090022#endif /* CONFIG_ARCH_RMOBILE */
Nobuhiro Iwamatsuf3db9da2012-06-13 16:29:47 +090023
Nobuhiro Iwamatsu5e0f45d2014-03-31 14:15:29 +090024#ifndef __ASSEMBLY__
25u32 rmobile_get_cpu_type(void);
26u32 rmobile_get_cpu_rev_integer(void);
27u32 rmobile_get_cpu_rev_fraction(void);
28#endif /* __ASSEMBLY__ */
29
Nobuhiro Iwamatsuf3db9da2012-06-13 16:29:47 +090030#endif /* __ASM_ARCH_RMOBILE_H */