projects
/
openwrt
/
staging
/
xback.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f42bf4d
)
print some informations about the SoC at bootup
author
Gabor Juhos
<juhosg@openwrt.org>
Sun, 1 Feb 2009 09:46:04 +0000
(09:46 +0000)
committer
Gabor Juhos
<juhosg@openwrt.org>
Sun, 1 Feb 2009 09:46:04 +0000
(09:46 +0000)
SVN-Revision: 14338
target/linux/ar71xx/files/arch/mips/ar71xx/setup.c
patch
|
blob
|
history
diff --git
a/target/linux/ar71xx/files/arch/mips/ar71xx/setup.c
b/target/linux/ar71xx/files/arch/mips/ar71xx/setup.c
index 25ef3ded55dd1ccbe62376caf646af1154633ba5..a83f7d198b8751e17832a64b0bf8c75d88dc6276 100644
(file)
--- 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;