提交 1d3266ec 编写于 作者: L 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: NLinus Walleij <linus.walleij@linaro.org>
上级 e1bbb55d
...@@ -105,6 +105,11 @@ static inline bool cpu_is_u8500v21(void) ...@@ -105,6 +105,11 @@ static inline bool cpu_is_u8500v21(void)
return cpu_is_u8500() && (dbx500_revision() == 0xB1); 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) static inline bool cpu_is_u8500v20_or_later(void)
{ {
return (cpu_is_u8500() && !cpu_is_u8500v10() && !cpu_is_u8500v11()); return (cpu_is_u8500() && !cpu_is_u8500v10() && !cpu_is_u8500v11());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册