mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
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
1 changed files with 8 additions and 0 deletions
|
@ -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 a new issue