From: Vladimir Serbinenko Date: Mon, 22 Feb 2016 02:34:35 +0000 (+0100) Subject: frequency X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9cd85f276f031d737a0b2895a7f58fc8efa7ee67;p=thirdparty%2Fgrub.git frequency --- diff --git a/grub-core/kern/arm/coreboot/timer.c b/grub-core/kern/arm/coreboot/timer.c index c4c689c67..d97b844f8 100644 --- a/grub-core/kern/arm/coreboot/timer.c +++ b/grub-core/kern/arm/coreboot/timer.c @@ -80,7 +80,8 @@ try_generic_timer (void) { if (((grub_arm_pfr1 () >> 16) & 0xf) != 1) return 0; - timer_frequency_in_khz = grub_armv7_get_timer_frequency() / 1000; + grub_printf ("freq = %x\n", grub_armv7_get_timer_frequency()); + timer_frequency_in_khz = 0x016e3600 / 1000; //grub_armv7_get_timer_frequency() / 1000; if (timer_frequency_in_khz == 0) return 0; grub_install_get_time_ms (generic_get_time_ms);