mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-24 17:54:42 +02:00
ar71xx: show the SoC type earlier
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26560 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
8de3a1a306
commit
f4bb6b6582
@ -169,6 +169,7 @@ static void __init ar71xx_detect_sys_type(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
sprintf(ar71xx_sys_type, "Atheros AR%s rev %u", chip, rev);
|
sprintf(ar71xx_sys_type, "Atheros AR%s rev %u", chip, rev);
|
||||||
|
pr_info("SoC: %s\n", ar71xx_sys_type);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __init ar934x_detect_sys_frequency(void)
|
static void __init ar934x_detect_sys_frequency(void)
|
||||||
@ -335,9 +336,7 @@ void __init plat_mem_setup(void)
|
|||||||
ar71xx_detect_sys_type();
|
ar71xx_detect_sys_type();
|
||||||
detect_sys_frequency();
|
detect_sys_frequency();
|
||||||
|
|
||||||
printk(KERN_INFO
|
pr_info("Clocks: CPU:%u.%03u MHz, AHB:%u.%03u MHz, DDR:%u.%03u MHz\n",
|
||||||
"%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_cpu_freq / 1000000, (ar71xx_cpu_freq / 1000) % 1000,
|
||||||
ar71xx_ahb_freq / 1000000, (ar71xx_ahb_freq / 1000) % 1000,
|
ar71xx_ahb_freq / 1000000, (ar71xx_ahb_freq / 1000) % 1000,
|
||||||
ar71xx_ddr_freq / 1000000, (ar71xx_ddr_freq / 1000) % 1000);
|
ar71xx_ddr_freq / 1000000, (ar71xx_ddr_freq / 1000) % 1000);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user