2012-06-13 07:29:47 +00:00
|
|
|
#ifndef __ASM_ARCH_RMOBILE_H
|
|
|
|
#define __ASM_ARCH_RMOBILE_H
|
|
|
|
|
2015-10-09 20:58:28 +00:00
|
|
|
#if defined(CONFIG_ARCH_RMOBILE)
|
2012-08-19 04:40:05 +00:00
|
|
|
#if defined(CONFIG_SH73A0)
|
|
|
|
#include <asm/arch/sh73a0.h>
|
2012-07-20 04:06:54 +00:00
|
|
|
#elif defined(CONFIG_R8A7740)
|
|
|
|
#include <asm/arch/r8a7740.h>
|
2013-11-21 08:06:45 +00:00
|
|
|
#elif defined(CONFIG_R8A7790)
|
|
|
|
#include <asm/arch/r8a7790.h>
|
2013-11-21 08:07:45 +00:00
|
|
|
#elif defined(CONFIG_R8A7791)
|
|
|
|
#include <asm/arch/r8a7791.h>
|
2014-11-04 21:50:06 +00:00
|
|
|
#elif defined(CONFIG_R8A7793)
|
|
|
|
#include <asm/arch/r8a7793.h>
|
2014-06-24 08:10:02 +00:00
|
|
|
#elif defined(CONFIG_R8A7794)
|
|
|
|
#include <asm/arch/r8a7794.h>
|
2016-03-31 18:51:35 +00:00
|
|
|
#elif defined(CONFIG_R8A7795)
|
|
|
|
#include <asm/arch/r8a7795.h>
|
2012-08-19 04:40:05 +00:00
|
|
|
#else
|
2012-06-13 07:29:47 +00:00
|
|
|
#error "SOC Name not defined"
|
2012-08-19 04:40:05 +00:00
|
|
|
#endif
|
2015-10-09 20:58:28 +00:00
|
|
|
#endif /* CONFIG_ARCH_RMOBILE */
|
2012-06-13 07:29:47 +00:00
|
|
|
|
2014-03-31 05:15:29 +00:00
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
u32 rmobile_get_cpu_type(void);
|
|
|
|
u32 rmobile_get_cpu_rev_integer(void);
|
|
|
|
u32 rmobile_get_cpu_rev_fraction(void);
|
|
|
|
#endif /* __ASSEMBLY__ */
|
|
|
|
|
2012-06-13 07:29:47 +00:00
|
|
|
#endif /* __ASM_ARCH_RMOBILE_H */
|