summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorGreg Watson <jarrah@users.sourceforge.net>2004-06-03 16:30:02 +0000
committerGreg Watson <jarrah@users.sourceforge.net>2004-06-03 16:30:02 +0000
commit66c07cdc942c4a02dd2d4e2b4be9aba0727afe28 (patch)
tree76e6b666f9410c012e74413a0778ffe5212e9fc8 /src/arch
parentca68a91eff7d0053e48f24994b7808acec14a28e (diff)
Make names more sensible.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1593 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/ppc/include/clock.h4
-rw-r--r--src/arch/ppc/lib/timer.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/ppc/include/clock.h b/src/arch/ppc/include/clock.h
index 3fe882a1fd..60bde4e0c0 100644
--- a/src/arch/ppc/include/clock.h
+++ b/src/arch/ppc/include/clock.h
@@ -4,6 +4,6 @@
/*
* Various clock routines.
*/
-extern unsigned long get_clock_speed(void);
-extern unsigned long get_bus_freq(void);
+extern unsigned long get_timer_freq(void);
+extern unsigned long get_pci_bus_freq(void);
#endif /* _CLOCK_H */
diff --git a/src/arch/ppc/lib/timer.c b/src/arch/ppc/lib/timer.c
index 8b485b8d51..6889d4b2e8 100644
--- a/src/arch/ppc/lib/timer.c
+++ b/src/arch/ppc/lib/timer.c
@@ -7,7 +7,7 @@
unsigned long get_hz(void)
{
- return get_clock_speed();
+ return get_timer_freq();
}
unsigned long ticks_since_boot(void)