diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2012-05-22 00:03:22 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-07-07 14:07:23 +0200 |
commit | 0a0bf7b217660589b846bd5d6fcebc1deef20971 (patch) | |
tree | d76020fe2f1166e4a29d5a4e74df63f517d0ff29 /arch/arm/cpu | |
parent | 851bebd68cfc0cd3f638b3afbd3325a3b32df341 (diff) | |
download | u-boot-imx-0a0bf7b217660589b846bd5d6fcebc1deef20971.zip u-boot-imx-0a0bf7b217660589b846bd5d6fcebc1deef20971.tar.gz u-boot-imx-0a0bf7b217660589b846bd5d6fcebc1deef20971.tar.bz2 |
OMAP5: ADD chip detection for OMAP5432 SOC
This patch adds chip detection for OMAP5432
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r-- | arch/arm/cpu/armv7/omap5/hwinit.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/omap5/hwinit.c b/arch/arm/cpu/armv7/omap5/hwinit.c index d01cc81..e2f76a1 100644 --- a/arch/arm/cpu/armv7/omap5/hwinit.c +++ b/arch/arm/cpu/armv7/omap5/hwinit.c @@ -154,7 +154,15 @@ void init_omap_revision(void) switch (rev) { case MIDR_CORTEX_A15_R0P0: - *omap_si_rev = OMAP5430_ES1_0; + switch (readl(CONTROL_ID_CODE)) { + case OMAP5430_CONTROL_ID_CODE_ES1_0: + *omap_si_rev = OMAP5430_ES1_0; + break; + case OMAP5432_CONTROL_ID_CODE_ES1_0: + default: + *omap_si_rev = OMAP5432_ES1_0; + break; + } break; default: *omap_si_rev = OMAP5430_SILICON_ID_INVALID; |