mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[ramips] use common get_system_type function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17455 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -73,11 +73,6 @@ static void __init rt288x_early_serial_setup(void)
|
||||
err);
|
||||
}
|
||||
|
||||
const char *get_system_type(void)
|
||||
{
|
||||
return rt288x_sys_type;
|
||||
}
|
||||
|
||||
unsigned int __cpuinit get_c0_compare_irq(void)
|
||||
{
|
||||
return CP0_LEGACY_COMPARE_IRQ;
|
||||
@@ -91,7 +86,7 @@ void __init ramips_soc_setup(void)
|
||||
rt288x_detect_sys_type();
|
||||
rt288x_detect_sys_freq();
|
||||
|
||||
printk(KERN_INFO "%s running at %lu.%02lu MHz\n", get_system_type(),
|
||||
printk(KERN_INFO "%s running at %lu.%02lu MHz\n", ramips_sys_type,
|
||||
rt288x_cpu_freq / 1000000,
|
||||
(rt288x_cpu_freq % 1000000) * 100 / 1000000);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user