Commit 1d3266ec authored by Linus Walleij's avatar Linus Walleij

ARM: ux500: add detection for DB8500 ASIC v2.2

Add a macro to properly detect the v2.2 version of the
DB8500 ASIC.
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent e1bbb55d
......@@ -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());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment