diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2012-07-28 11:43:47 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-09-01 14:58:16 +0200 |
commit | b0261b121238c00be9793f9527e823f37025dea7 (patch) | |
tree | f249d26d040b4ebc673f2d0ca68301a7cef53b1c /arch/arm/include | |
parent | 7c5e6f7a5ddc1643300ce0be2a2a8283f4a797f7 (diff) | |
download | u-boot-imx-b0261b121238c00be9793f9527e823f37025dea7.zip u-boot-imx-b0261b121238c00be9793f9527e823f37025dea7.tar.gz u-boot-imx-b0261b121238c00be9793f9527e823f37025dea7.tar.bz2 |
MX28: extend print_cpuinfo() to use chip information
The information now is gathered from HW_DIGCTL_CHIPID register and
includes the chip modem and revision on the output.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/arch-mx28/regs-digctl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mx28/regs-digctl.h b/arch/arm/include/asm/arch-mx28/regs-digctl.h index 9a63594..247da6e 100644 --- a/arch/arm/include/asm/arch-mx28/regs-digctl.h +++ b/arch/arm/include/asm/arch-mx28/regs-digctl.h @@ -152,4 +152,8 @@ struct mx28_digctl_regs { }; #endif +/* Product code identification */ +#define HW_DIGCTL_CHIPID_MASK (0xffff << 16) +#define HW_DIGCTL_CHIPID_MX28 (0x2800 << 16) + #endif /* __MX28_REGS_DIGCTL_H__ */ |