ARM: DRA7: Add is_dra7xx cpu check definition
A generic is_dra7xx cpu check is useful for grouping all the revisions under that. This is used in the subsequent patches. Signed-off-by: Sricharan R <r.sricharan@ti.com>
This commit is contained in:
parent
39245c8699
commit
39302dcd30
@ -605,6 +605,14 @@ static inline u8 is_omap54xx(void)
|
|||||||
extern u32 *const omap_si_rev;
|
extern u32 *const omap_si_rev;
|
||||||
return ((*omap_si_rev & 0xFF000000) == OMAP54xx);
|
return ((*omap_si_rev & 0xFF000000) == OMAP54xx);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define DRA7XX 0x07000000
|
||||||
|
|
||||||
|
static inline u8 is_dra7xx(void)
|
||||||
|
{
|
||||||
|
extern u32 *const omap_si_rev;
|
||||||
|
return ((*omap_si_rev & 0xFF000000) == DRA7XX);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user