Nobuhiro Iwamatsu | c6ccb47 | 2013-11-21 17:06:45 +0900 | [diff] [blame] | 1 | /* |
| 2 | * arch/arm/include/asm/arch-rmobile/r8a7790.h |
| 3 | * |
Nobuhiro Iwamatsu | 52b9674 | 2014-03-27 16:11:17 +0900 | [diff] [blame] | 4 | * Copyright (C) 2013,2014 Renesas Electronics Corporation |
Nobuhiro Iwamatsu | c6ccb47 | 2013-11-21 17:06:45 +0900 | [diff] [blame] | 5 | * |
| 6 | * SPDX-License-Identifier: GPL-2.0 |
Nobuhiro Iwamatsu | 52b9674 | 2014-03-27 16:11:17 +0900 | [diff] [blame] | 7 | */ |
Nobuhiro Iwamatsu | c6ccb47 | 2013-11-21 17:06:45 +0900 | [diff] [blame] | 8 | |
| 9 | #ifndef __ASM_ARCH_R8A7790_H |
| 10 | #define __ASM_ARCH_R8A7790_H |
| 11 | |
Nobuhiro Iwamatsu | 52b9674 | 2014-03-27 16:11:17 +0900 | [diff] [blame] | 12 | #include "rcar-base.h" |
Nobuhiro Iwamatsu | c6ccb47 | 2013-11-21 17:06:45 +0900 | [diff] [blame] | 13 | |
Nobuhiro Iwamatsu | 06cadf1 | 2014-03-31 12:28:23 +0900 | [diff] [blame^] | 14 | #define R8A7790_CUT_ES2X 2 |
| 15 | #define IS_R8A7790_ES2() \ |
| 16 | (rmobile_get_cpu_rev_integer() == R8A7790_CUT_ES2X) |
| 17 | |
Nobuhiro Iwamatsu | c6ccb47 | 2013-11-21 17:06:45 +0900 | [diff] [blame] | 18 | #endif /* __ASM_ARCH_R8A7790_H */ |