diff options
author | Aneesh V <aneesh@ti.com> | 2011-07-21 09:10:04 -0400 |
---|---|---|
committer | U-Boot <uboot@aari01-12.(none)> | 2011-08-03 12:49:19 +0200 |
commit | ad577c8a487ac0ab277540f5fe2ea654d98d8e9f (patch) | |
tree | a869f688a4677fa63de49fce45a293f8a1df1d1d /arch/arm/include/asm/arch-omap4/sys_proto.h | |
parent | 469ec1e35354e45dce48299248c641367ed9e68a (diff) | |
download | blackbird-obmc-uboot-ad577c8a487ac0ab277540f5fe2ea654d98d8e9f.tar.gz blackbird-obmc-uboot-ad577c8a487ac0ab277540f5fe2ea654d98d8e9f.zip |
omap4: add OMAP4430 revision check
Signed-off-by: Aneesh V <aneesh@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'arch/arm/include/asm/arch-omap4/sys_proto.h')
-rw-r--r-- | arch/arm/include/asm/arch-omap4/sys_proto.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-omap4/sys_proto.h b/arch/arm/include/asm/arch-omap4/sys_proto.h index 3624378f20..c10fa18700 100644 --- a/arch/arm/include/asm/arch-omap4/sys_proto.h +++ b/arch/arm/include/asm/arch-omap4/sys_proto.h @@ -40,6 +40,7 @@ void sr32(void *, u32, u32, u32); u32 wait_on_value(u32, u32, void *, u32); void sdelay(unsigned long); void set_pl310_ctrl_reg(u32 val); +void omap_rev_string(char *omap4_rev_string); static inline u32 running_from_sdram(void) { @@ -88,4 +89,10 @@ static inline u32 omap4_hw_init_context(void) #endif } +static inline u32 omap_revision(void) +{ + extern u32 *const omap4_revision; + return *omap4_revision; +} + #endif |