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 +- src/cpu/ppc/ppc7xx/clock.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/cpu') 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; -- cgit v1.2.3