summaryrefslogtreecommitdiff
path: root/src/cpu
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/cpu
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/cpu')
-rw-r--r--src/cpu/ppc/ppc4xx/clock.c4
-rw-r--r--src/cpu/ppc/ppc4xx/sdram.c2
-rw-r--r--src/cpu/ppc/ppc7xx/clock.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/cpu/ppc/ppc4xx/clock.c b/src/cpu/ppc/ppc4xx/clock.c
index a7ec52fff9..260544aebe 100644
--- a/src/cpu/ppc/ppc4xx/clock.c
+++ b/src/cpu/ppc/ppc4xx/clock.c
@@ -164,7 +164,7 @@ void get_sys_info (struct ppc4xx_sys_info * sysInfo)
}
}
-unsigned long get_clock_speed(void)
+unsigned long get_timer_freq(void)
{
struct ppc4xx_sys_info sys_info;
@@ -172,7 +172,7 @@ unsigned long get_clock_speed(void)
return sys_info.freqProcessor;
}
-unsigned long get_bus_freq(void)
+unsigned long get_pci_bus_freq(void)
{
struct ppc4xx_sys_info sys_info;
diff --git a/src/cpu/ppc/ppc4xx/sdram.c b/src/cpu/ppc/ppc4xx/sdram.c
index 6d7ed1a08b..73cdcc364b 100644
--- a/src/cpu/ppc/ppc4xx/sdram.c
+++ b/src/cpu/ppc/ppc4xx/sdram.c
@@ -72,7 +72,7 @@ void sdram_init(void)
/*
* Determine SDRAM speed
*/
- speed = get_bus_freq(); /* parameter not used on ppc4xx */
+ speed = get_pci_bus_freq(); /* parameter not used on ppc4xx */
/*
* Support for 100MHz and 133MHz SDRAM
diff --git a/src/cpu/ppc/ppc7xx/clock.c b/src/cpu/ppc/ppc7xx/clock.c
index b14f7c6f57..bb600c6d5b 100644
--- a/src/cpu/ppc/ppc7xx/clock.c
+++ b/src/cpu/ppc/ppc7xx/clock.c
@@ -20,7 +20,7 @@ static int PLL_multiplier[] = {
};
unsigned long
-get_clock_speed(void)
+get_timer_freq(void)
{
unsigned long clock = CONFIG_SYS_CLK_FREQ * 1000000;
return clock * PLL_multiplier[ppc_gethid1() >> 28] / 10;