8 #ifndef __MACH_UX500_ID
9 #define __MACH_UX500_ID
41 return dbx500_partnumber() == 0x8500;
46 return dbx500_partnumber() == 0x8520;
49 static inline bool cpu_is_u8500_family(
void)
51 return cpu_is_u8500() || cpu_is_u8520();
56 return dbx500_partnumber() == 0x9540;
61 return dbx500_partnumber() == 0x8540;
64 static inline bool cpu_is_ux540_family(
void)
66 return cpu_is_u9540() || cpu_is_u8540();
75 return cpu_is_u8500() && dbx500_revision() == 0x00;
80 return cpu_is_u8500() && (dbx500_revision() & 0xf0) == 0xA0;
85 return cpu_is_u8500() && dbx500_revision() == 0xA0;
90 return cpu_is_u8500() && dbx500_revision() == 0xA1;
95 return cpu_is_u8500() && ((dbx500_revision() & 0xf0) == 0xB0);
98 static inline bool cpu_is_u8500v20(
void)
100 return cpu_is_u8500() && (dbx500_revision() == 0xB0);
103 static inline bool cpu_is_u8500v21(
void)
105 return cpu_is_u8500() && (dbx500_revision() == 0xB1);
108 static inline bool cpu_is_u8500v22(
void)
110 return cpu_is_u8500() && (dbx500_revision() == 0xB2);
113 static inline bool cpu_is_u8500v20_or_later(
void)
115 return (cpu_is_u8500() && !cpu_is_u8500v10() && !cpu_is_u8500v11());
118 static inline bool ux500_is_svp(
void)
123 #define ux500_unknown_soc() BUG()