Skip to content

Commit

Permalink
ARM: ux500: add a U8520 detection macro
Browse files Browse the repository at this point in the history
In line with the other macros this detects the DB8520
ASIC variant.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Linus Walleij committed Aug 9, 2012
1 parent a803521 commit a4d9b33
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/arm/mach-ux500/include/mach/id.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a4d9b33

Please sign in to comment.