Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a4d9b33b authored by Linus Walleij's avatar Linus Walleij
Browse files

ARM: ux500: add a U8520 detection macro



In line with the other macros this detects the DB8520
ASIC variant.

Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent a8035217
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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;