From 66c07cdc942c4a02dd2d4e2b4be9aba0727afe28 Mon Sep 17 00:00:00 2001 From: Greg Watson Date: Thu, 3 Jun 2004 16:30:02 +0000 Subject: Make names more sensible. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1593 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/cpu/ppc/ppc4xx/clock.c | 4 ++-- src/cpu/ppc/ppc4xx/sdram.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/cpu/ppc/ppc4xx') 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 -- cgit v1.2.3