From: Nobuhiro Iwamatsu Date: Mon, 31 Mar 2014 03:28:23 +0000 (+0900) Subject: arm: rmobile: r8a7790: Add support ES2 revision X-Git-Tag: v2014.07-rc2~9^2~2^2~10 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f637656dd4095eea789fbb45573b724810cc67c7;p=u-boot arm: rmobile: r8a7790: Add support ES2 revision There is ES2 is a new revision to R8A7790. This adds support this revision. Signed-off-by: Nobuhiro Iwamatsu Signed-off-by: Nobuhiro Iwamatsu --- diff --git a/arch/arm/include/asm/arch-rmobile/r8a7790.h b/arch/arm/include/asm/arch-rmobile/r8a7790.h index bd210d005d..6ef665d583 100644 --- a/arch/arm/include/asm/arch-rmobile/r8a7790.h +++ b/arch/arm/include/asm/arch-rmobile/r8a7790.h @@ -11,4 +11,8 @@ #include "rcar-base.h" +#define R8A7790_CUT_ES2X 2 +#define IS_R8A7790_ES2() \ + (rmobile_get_cpu_rev_integer() == R8A7790_CUT_ES2X) + #endif /* __ASM_ARCH_R8A7790_H */