From 56a7cff7f665e5ac6859bad384a6fcff19f117d3 Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Mon, 5 Aug 2013 18:53:15 -0700 Subject: exynos5420: minor correction to CPU frequency print This divides the CPU frequency by 1,000,000 instead of 2^20. serial console shows "CPU: S5P5420 @ 800MHz" instead of claiming 762MHz. Change-Id: I70cc5b62f689c5553b57c82be61233fb9f733f6e Reviewed-on: https://gerrit.chromium.org/gerrit/64743 Reviewed-by: Gabe Black Reviewed-by: Ronald G. Minnich Commit-Queue: David Hendricks Tested-by: David Hendricks Reviewed-on: http://review.coreboot.org/4434 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/cpu/samsung/exynos5420/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cpu/samsung') diff --git a/src/cpu/samsung/exynos5420/cpu.c b/src/cpu/samsung/exynos5420/cpu.c index 729e6b3707..1940b88886 100644 --- a/src/cpu/samsung/exynos5420/cpu.c +++ b/src/cpu/samsung/exynos5420/cpu.c @@ -159,7 +159,7 @@ static void cpu_enable(device_t dev) static void cpu_init(device_t dev) { printk(BIOS_INFO, "CPU: S5P%X @ %ldMHz\n", - cpu_id, get_arm_clk() / (1024*1024)); + cpu_id, get_arm_clk() / 1000000); usb_init(dev); } -- cgit v1.2.3