diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-02-01 09:46:04 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-02-01 09:46:04 +0000 |
commit | 5f96cabf6a3e92caa7e8631c3c46375afa702777 (patch) | |
tree | 8c19d2e53115d333ec072e4d428ba492a2d86c9d /target/linux | |
parent | 0597dd6bd892df71a32f4f62888879a9c0fe4caf (diff) | |
download | upstream-5f96cabf6a3e92caa7e8631c3c46375afa702777.tar.gz upstream-5f96cabf6a3e92caa7e8631c3c46375afa702777.tar.bz2 upstream-5f96cabf6a3e92caa7e8631c3c46375afa702777.zip |
[ar71xx] print some informations about the SoC at bootup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14338 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ar71xx/setup.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/setup.c b/target/linux/ar71xx/files/arch/mips/ar71xx/setup.c index 25ef3ded55..a83f7d198b 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/setup.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/setup.c @@ -258,6 +258,13 @@ void __init plat_mem_setup(void) ar71xx_detect_sys_type(); detect_sys_frequency(); + printk(KERN_INFO + "%s, CPU:%u.%03u MHz, AHB:%u.%03u MHz, DDR:%u.%03u MHz\n", + ar71xx_sys_type, + ar71xx_cpu_freq / 1000000, (ar71xx_cpu_freq / 1000) % 1000, + ar71xx_ahb_freq / 1000000, (ar71xx_ahb_freq / 1000) % 1000, + ar71xx_ddr_freq / 1000000, (ar71xx_ddr_freq / 1000) % 1000); + _machine_restart = ar71xx_restart; _machine_halt = ar71xx_halt; pm_power_off = ar71xx_halt; |