diff options
author | Greg Watson <jarrah@users.sourceforge.net> | 2004-06-03 16:30:02 +0000 |
---|---|---|
committer | Greg Watson <jarrah@users.sourceforge.net> | 2004-06-03 16:30:02 +0000 |
commit | 66c07cdc942c4a02dd2d4e2b4be9aba0727afe28 (patch) | |
tree | 76e6b666f9410c012e74413a0778ffe5212e9fc8 /src/cpu/ppc/ppc4xx | |
parent | ca68a91eff7d0053e48f24994b7808acec14a28e (diff) | |
download | coreboot-66c07cdc942c4a02dd2d4e2b4be9aba0727afe28.tar.xz |
Make names more sensible.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1593 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu/ppc/ppc4xx')
-rw-r--r-- | src/cpu/ppc/ppc4xx/clock.c | 4 | ||||
-rw-r--r-- | src/cpu/ppc/ppc4xx/sdram.c | 2 |
2 files changed, 3 insertions, 3 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 |