mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-13 10:24:51 +00:00
print some informations about the SoC at bootup
SVN-Revision: 14338
This commit is contained in:
parent
f42bf4d6cf
commit
0dfca05fbe
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user