diff options
Diffstat (limited to 'board/freescale/mpc8641hpcn/ddr.c')
| -rw-r--r-- | board/freescale/mpc8641hpcn/ddr.c | 7 | 
1 files changed, 1 insertions, 6 deletions
| diff --git a/board/freescale/mpc8641hpcn/ddr.c b/board/freescale/mpc8641hpcn/ddr.c index 8dc249b99..07bb92f76 100644 --- a/board/freescale/mpc8641hpcn/ddr.c +++ b/board/freescale/mpc8641hpcn/ddr.c @@ -18,11 +18,6 @@ get_spd(ddr2_spd_eeprom_t *spd, unsigned char i2c_address)  	i2c_read(i2c_address, 0, 1, (uchar *)spd, sizeof(ddr2_spd_eeprom_t));  } -unsigned int fsl_ddr_get_mem_data_rate(void) -{ -	return get_bus_freq(0); -} -  void fsl_ddr_get_spd(ddr2_spd_eeprom_t *ctrl_dimms_spd,  		      unsigned int ctrl_num)  { @@ -144,7 +139,7 @@ void fsl_ddr_board_options(memctl_options_t *popts,  	/* Get clk_adjust, cpo, write_data_delay, according to the board ddr  	 * freqency and n_banks specified in board_specific_parameters table.  	 */ -	ddr_freq = fsl_ddr_get_mem_data_rate() / 1000000; +	ddr_freq = get_ddr_freq(0) / 1000000;  	for (j = 0; j < CONFIG_DIMM_SLOTS_PER_CTLR; j++) {  		if (pdimm[j].n_ranks > 0) {  			for (i = 0; i < num_params; i++) { |