aboutsummaryrefslogtreecommitdiff
path: root/include/fsl_ddr_dimm_params.h
diff options
context:
space:
mode:
authorYork Sun2015-01-06 13:18:50 -0800
committerYork Sun2015-02-24 13:09:18 -0800
commit03e664d8f4065010ccb6c75648192200a832fd8b (patch)
treef0398fdcdc87e12da79a82cde310b1a11937641a /include/fsl_ddr_dimm_params.h
parentb87e6f88e9218da3de371bb6cc8a34924153178e (diff)
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>
Diffstat (limited to 'include/fsl_ddr_dimm_params.h')
-rw-r--r--include/fsl_ddr_dimm_params.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fsl_ddr_dimm_params.h b/include/fsl_ddr_dimm_params.h
index 09a67a68029..751e9351174 100644
--- a/include/fsl_ddr_dimm_params.h
+++ b/include/fsl_ddr_dimm_params.h
@@ -112,7 +112,7 @@ typedef struct dimm_params_s {
#endif
} dimm_params_t;
-extern unsigned int ddr_compute_dimm_parameters(
+unsigned int ddr_compute_dimm_parameters(const unsigned int ctrl_num,
const generic_spd_eeprom_t *spd,
dimm_params_t *pdimm,
unsigned int dimm_number);