From 81bf139de7e98f87bfa0c9f1b0dc08a3fd4ca393 Mon Sep 17 00:00:00 2001 From: "H. Nikolaus Schaller" Date: Wed, 25 Jul 2012 11:20:24 +0200 Subject: added 800MHz/1GHz detection for DM3730 --- u-boot/arch/arm/cpu/armv7/omap3/sys_info.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/u-boot/arch/arm/cpu/armv7/omap3/sys_info.c b/u-boot/arch/arm/cpu/armv7/omap3/sys_info.c index 549ac19..ba5b528 100644 --- a/u-boot/arch/arm/cpu/armv7/omap3/sys_info.c +++ b/u-boot/arch/arm/cpu/armv7/omap3/sys_info.c @@ -319,7 +319,10 @@ int print_cpuinfo (void) cpu_s = "36XX/37XX"; break; } - max_clk = "1 Ghz"; + if(readw(0x4800244C) & (1<<9)) /* check the "Speed Binned" bit for AM/DM37xx */ + max_clk = "1 Ghz"; + else + max_clk = "800 Mhz"; break; default: cpu_family_s = "OMAP"; -- cgit v1.1