get_bus_freq()
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1204 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
97c211e70f
commit
383f5f6897
|
@ -171,3 +171,11 @@ unsigned long get_clock_speed(void)
|
|||
get_sys_info(&sys_info);
|
||||
return sys_info.freqProcessor;
|
||||
}
|
||||
|
||||
unsigned long get_bus_freq(void)
|
||||
{
|
||||
struct ppc4xx_sys_info sys_info;
|
||||
|
||||
get_sys_info(&sys_info);
|
||||
return sys_info.freqPLB;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue