diff options
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/ppc/ppc4xx/clock.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cpu/ppc/ppc4xx/clock.c b/src/cpu/ppc/ppc4xx/clock.c index 01914e0752..1775b2d6d0 100644 --- a/src/cpu/ppc/ppc4xx/clock.c +++ b/src/cpu/ppc/ppc4xx/clock.c @@ -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; +} |