cpu.c (4ba24fef3eb3b142197135223b90ced2f319cd53) | cpu.c (63893ea5304c919656613a47b04e35c6814d9041) |
---|---|
1/* 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 5 * 6 * Copyright (C) 2008 Maxime Bizon <mbizon@freebox.fr> 7 * Copyright (C) 2009 Florian Fainelli <florian@openwrt.org> 8 */ --- 362 unchanged lines hidden (view full) --- 371 default: 372 panic("unsupported broadcom CPU %x", bcm63xx_cpu_id); 373 break; 374 } 375 376 bcm63xx_cpu_freq = detect_cpu_clock(); 377 bcm63xx_memory_size = detect_memory_size(); 378 | 1/* 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 5 * 6 * Copyright (C) 2008 Maxime Bizon <mbizon@freebox.fr> 7 * Copyright (C) 2009 Florian Fainelli <florian@openwrt.org> 8 */ --- 362 unchanged lines hidden (view full) --- 371 default: 372 panic("unsupported broadcom CPU %x", bcm63xx_cpu_id); 373 break; 374 } 375 376 bcm63xx_cpu_freq = detect_cpu_clock(); 377 bcm63xx_memory_size = detect_memory_size(); 378 |
379 printk(KERN_INFO "Detected Broadcom 0x%04x CPU revision %02x\n", 380 bcm63xx_cpu_id, bcm63xx_cpu_rev); 381 printk(KERN_INFO "CPU frequency is %u MHz\n", 382 bcm63xx_cpu_freq / 1000000); 383 printk(KERN_INFO "%uMB of RAM installed\n", 384 bcm63xx_memory_size >> 20); | 379 pr_info("Detected Broadcom 0x%04x CPU revision %02x\n", 380 bcm63xx_cpu_id, bcm63xx_cpu_rev); 381 pr_info("CPU frequency is %u MHz\n", 382 bcm63xx_cpu_freq / 1000000); 383 pr_info("%uMB of RAM installed\n", 384 bcm63xx_memory_size >> 20); |
385} | 385} |