blob: 6ef665d5835e3c3da16b10afc8d2fa9369b14943 [file] [log] [blame]
Nobuhiro Iwamatsu1d0e9272013-11-21 17:06:45 +09001/*
2 * arch/arm/include/asm/arch-rmobile/r8a7790.h
3 *
Nobuhiro Iwamatsu5723e242014-03-27 16:11:17 +09004 * Copyright (C) 2013,2014 Renesas Electronics Corporation
Nobuhiro Iwamatsu1d0e9272013-11-21 17:06:45 +09005 *
6 * SPDX-License-Identifier: GPL-2.0
Nobuhiro Iwamatsu5723e242014-03-27 16:11:17 +09007*/
Nobuhiro Iwamatsu1d0e9272013-11-21 17:06:45 +09008
9#ifndef __ASM_ARCH_R8A7790_H
10#define __ASM_ARCH_R8A7790_H
11
Nobuhiro Iwamatsu5723e242014-03-27 16:11:17 +090012#include "rcar-base.h"
Nobuhiro Iwamatsu1d0e9272013-11-21 17:06:45 +090013
Nobuhiro Iwamatsuf6376562014-03-31 12:28:23 +090014#define R8A7790_CUT_ES2X 2
15#define IS_R8A7790_ES2() \
16 (rmobile_get_cpu_rev_integer() == R8A7790_CUT_ES2X)
17
Nobuhiro Iwamatsu1d0e9272013-11-21 17:06:45 +090018#endif /* __ASM_ARCH_R8A7790_H */