Message ID | 1383912638-21672-2-git-send-email-r.sricharan@ti.com |
---|---|
State | Accepted |
Delegated to: | Tom Rini |
Headers | show |
On Fri, Nov 08, 2013 at 05:40:36PM +0530, SRICHARAN R wrote: > 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> Applied to u-boot-ti/master, thanks!
diff --git a/arch/arm/include/asm/omap_common.h b/arch/arm/include/asm/omap_common.h index 3a998cc..3655e5a 100644 --- a/arch/arm/include/asm/omap_common.h +++ b/arch/arm/include/asm/omap_common.h @@ -600,6 +600,14 @@ static inline u8 is_omap54xx(void) extern u32 *const omap_si_rev; 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 /*
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> --- arch/arm/include/asm/omap_common.h | 8 ++++++++ 1 file changed, 8 insertions(+)