From 359202d1fa01c6e2c4fcdcc446b157da67ca9270 Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Thu, 9 Aug 2012 16:34:41 +0200 Subject: [PATCH] --- yaml --- r: 326614 b: refs/heads/master c: a4d9b33be02bd826e09ddfebdd8ac4ccdf1aeee3 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-ux500/include/mach/id.h | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 5ee446f49a8d..5d6799ded986 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a8035217324d52a316c4dd109736f9ebd5124951 +refs/heads/master: a4d9b33be02bd826e09ddfebdd8ac4ccdf1aeee3 diff --git a/trunk/arch/arm/mach-ux500/include/mach/id.h b/trunk/arch/arm/mach-ux500/include/mach/id.h index 87aa921f3d17..d1240e458a60 100644 --- a/trunk/arch/arm/mach-ux500/include/mach/id.h +++ b/trunk/arch/arm/mach-ux500/include/mach/id.h @@ -41,6 +41,11 @@ static inline bool __attribute_const__ cpu_is_u8500(void) return dbx500_partnumber() == 0x8500; } +static inline bool __attribute_const__ cpu_is_u8520(void) +{ + return dbx500_partnumber() == 0x8520; +} + static inline bool __attribute_const__ cpu_is_u9540(void) { return dbx500_partnumber() == 0x9540;