mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00: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:
parent
b87e6f88e9
commit
03e664d8f4
14 changed files with 190 additions and 159 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue