summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Green <andy.green@linaro.org>2011-04-07 20:30:59 +0100
committerAndy Green <andy.green@linaro.org>2011-04-07 20:30:59 +0100
commit51aaea374cadda9c193e59f196c46bacc872f7e2 (patch)
tree40d04d084ca0bac1b16938f71f37c5b2c3fd515b
parentf1dde34d26d29f49f23beb8ae95ff2dbe2702a4d (diff)
OMAP2plus ID dump cpu die id into dmesg
Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r--arch/arm/mach-omap2/id.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c
index 689093c9f8f..8887a5e69b8 100644
--- a/arch/arm/mach-omap2/id.c
+++ b/arch/arm/mach-omap2/id.c
@@ -333,6 +333,14 @@ static void __init omap4_check_revision(void)
u32 idcode;
u16 hawkeye;
u8 rev;
+ struct omap_die_id odi;
+
+ omap_get_die_id(&odi);
+
+ pr_info("OMAP_TAP_DIE_ID_0: 0x%08x\n", odi.id_0);
+ pr_info("OMAP_TAP_DIE_ID_1: 0x%08x\n", odi.id_1);
+ pr_info("OMAP_TAP_DIE_ID_2: 0x%08x\n", odi.id_2);
+ pr_info("OMAP_TAP_DIE_ID_3: 0x%08x\n", odi.id_3);
/*
* The IC rev detection is done with hawkeye and rev.