mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 17:22:22 +02:00
driver/ddr/fsl: Add support for multiple DDR clocks
Controller number is passed for function calls to support individual DDR clock, depending on SoC implementation. It is backward compatible with exising platforms. Multiple clocks have been verifyed on LS2085A emulator. Signed-off-by: York Sun <yorksun@freescale.com>
This commit is contained in:
@@ -83,10 +83,10 @@ compute_ranksize(const ddr3_spd_eeprom_t *spd)
|
||||
* Writes the results to the dimm_params_t structure pointed by pdimm.
|
||||
*
|
||||
*/
|
||||
unsigned int
|
||||
ddr_compute_dimm_parameters(const ddr3_spd_eeprom_t *spd,
|
||||
dimm_params_t *pdimm,
|
||||
unsigned int dimm_number)
|
||||
unsigned int ddr_compute_dimm_parameters(const unsigned int ctrl_num,
|
||||
const ddr3_spd_eeprom_t *spd,
|
||||
dimm_params_t *pdimm,
|
||||
unsigned int dimm_number)
|
||||
{
|
||||
unsigned int retval;
|
||||
unsigned int mtb_ps;
|
||||
|
Reference in New Issue
Block a user