blob: 2cc38e1b5ba31df9f5be74ca357beb52c94fb2ee [file] [log] [blame]
Nobuhiro Iwamatsu4fb44e22012-06-13 16:29:47 +09001#ifndef __ASM_ARCH_RMOBILE_H
2#define __ASM_ARCH_RMOBILE_H
3
4#if defined(CONFIG_RMOBILE)
Nobuhiro Iwamatsu1cdf2482012-08-19 04:40:05 +00005#if defined(CONFIG_SH73A0)
6#include <asm/arch/sh73a0.h>
Nobuhiro Iwamatsucfa291b2012-07-20 13:06:54 +09007#elif defined(CONFIG_R8A7740)
8#include <asm/arch/r8a7740.h>
Nobuhiro Iwamatsu1d0e9272013-11-21 17:06:45 +09009#elif defined(CONFIG_R8A7790)
10#include <asm/arch/r8a7790.h>
Nobuhiro Iwamatsubd0550f2013-11-21 17:07:45 +090011#elif defined(CONFIG_R8A7791)
12#include <asm/arch/r8a7791.h>
Nobuhiro Iwamatsufafcfc52014-06-24 17:10:02 +090013#elif defined(CONFIG_R8A7794)
14#include <asm/arch/r8a7794.h>
Nobuhiro Iwamatsu1cdf2482012-08-19 04:40:05 +000015#else
Nobuhiro Iwamatsu4fb44e22012-06-13 16:29:47 +090016#error "SOC Name not defined"
Nobuhiro Iwamatsu1cdf2482012-08-19 04:40:05 +000017#endif
Nobuhiro Iwamatsu4fb44e22012-06-13 16:29:47 +090018#endif /* CONFIG_RMOBILE */
19
Nobuhiro Iwamatsu5dd8dbd2014-03-31 14:15:29 +090020#ifndef __ASSEMBLY__
21u32 rmobile_get_cpu_type(void);
22u32 rmobile_get_cpu_rev_integer(void);
23u32 rmobile_get_cpu_rev_fraction(void);
24#endif /* __ASSEMBLY__ */
25
Nobuhiro Iwamatsu4fb44e22012-06-13 16:29:47 +090026#endif /* __ASM_ARCH_RMOBILE_H */