xtensa: change default platform clock frequency to 10MHz
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 17 Sep 2012 01:44:43 +0000 (05:44 +0400)
committerChris Zankel <chris@zankel.net>
Wed, 3 Oct 2012 22:11:59 +0000 (15:11 -0700)
Existing simulators show this level of performance.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/kernel/platform.c

index 1b91a97f1d8401ff9899ed95deae80933e482f7a..97230e46cbe77d1439b51154233ff54ba17c67c3 100644 (file)
@@ -40,8 +40,8 @@ _F(int,  pcibios_fixup, (void), { return 0; });
 #ifdef CONFIG_XTENSA_CALIBRATE_CCOUNT
 _F(void, calibrate_ccount, (void),
 {
-  printk ("ERROR: Cannot calibrate cpu frequency! Assuming 100MHz.\n");
-  ccount_per_jiffy = 100 * (1000000UL/HZ);
+       pr_err("ERROR: Cannot calibrate cpu frequency! Assuming 10MHz.\n");
+       ccount_per_jiffy = 10 * (1000000UL/HZ);
 });
 #endif