diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2011-01-31 20:36:02 -0600 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-04-04 09:24:40 -0500 |
commit | 5df4b0ad0dff3cef1bd6660bcc8cba028c80adcb (patch) | |
tree | 2a247b52751d0572ad3fae66f39c94d8da3e20ea /board/xes/xpedite537x | |
parent | 00203c64648bb2a7e20dac8cde850de6c1044db6 (diff) | |
download | u-boot-imx-5df4b0ad0dff3cef1bd6660bcc8cba028c80adcb.zip u-boot-imx-5df4b0ad0dff3cef1bd6660bcc8cba028c80adcb.tar.gz u-boot-imx-5df4b0ad0dff3cef1bd6660bcc8cba028c80adcb.tar.bz2 |
powerpc/8xxx: Replace fsl_ddr_get_mem_data_rate with get_ddr_freq()
Every 85xx board implements fsl_ddr_get_mem_data_rate via get_ddr_freq()
and every 86xx board uses get_bus_freq(). If implement get_ddr_freq()
as a static inline to call get_bus_freq() we can remove
fsl_ddr_get_mem_data_rate altogether and just call get_ddr_freq()
directly.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/xes/xpedite537x')
-rw-r--r-- | board/xes/xpedite537x/ddr.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/board/xes/xpedite537x/ddr.c b/board/xes/xpedite537x/ddr.c index 4d3f255..307f875 100644 --- a/board/xes/xpedite537x/ddr.c +++ b/board/xes/xpedite537x/ddr.c @@ -33,11 +33,6 @@ static void get_spd(ddr2_spd_eeprom_t *spd, unsigned char i2c_address) sizeof(ddr2_spd_eeprom_t)); } -unsigned int fsl_ddr_get_mem_data_rate(void) -{ - return get_ddr_freq(0); -} - void fsl_ddr_get_spd(ddr2_spd_eeprom_t *ctrl_dimms_spd, unsigned int ctrl_num) { |