Skip to content

Commit

Permalink
ARM: ux500: add detection for DB8500 ASIC v2.2
Browse files Browse the repository at this point in the history
Add a macro to properly detect the v2.2 version of the
DB8500 ASIC.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Linus Walleij committed Aug 9, 2012
1 parent e1bbb55 commit 1d3266e
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 @@ -105,6 +105,11 @@ static inline bool cpu_is_u8500v21(void)
return cpu_is_u8500() && (dbx500_revision() == 0xB1);
}

static inline bool cpu_is_u8500v22(void)
{
return cpu_is_u8500() && (dbx500_revision() == 0xB2);
}

static inline bool cpu_is_u8500v20_or_later(void)
{
return (cpu_is_u8500() && !cpu_is_u8500v10() && !cpu_is_u8500v11());
Expand Down

0 comments on commit 1d3266e

Please sign in to comment.