aboutsummaryrefslogtreecommitdiff
path: root/include/fsl_ddr.h
diff options
context:
space:
mode:
authorYork Sun2015-05-28 14:54:08 +0530
committerYork Sun2015-07-20 11:44:35 -0700
commitb92557cd3f37538fbd813e72f447109cbde4ff87 (patch)
treef3c97211f77fd35938ff7f0fd951e21657d97f1e /include/fsl_ddr.h
parentff1b8e3f556ca8e339e9b85c31575592e3100e02 (diff)
driver/ddr/fsl: Add a hook to update SPD address
In case SPD address changes between board revisions, updating SPD address can be called from board file. Signed-off-by: York Sun <yorksun at freescale.com> Signed-off-by: Prabhakar Kushwaha <prabhakar at freescale.com>
Diffstat (limited to 'include/fsl_ddr.h')
-rw-r--r--include/fsl_ddr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/fsl_ddr.h b/include/fsl_ddr.h
index 4099a74a4af..728503b62c9 100644
--- a/include/fsl_ddr.h
+++ b/include/fsl_ddr.h
@@ -136,4 +136,7 @@ void fsl_ddr_set_memctl_regs(const fsl_ddr_cfg_regs_t *regs,
int fsl_ddr_get_dimm_params(dimm_params_t *pdimm,
unsigned int controller_number,
unsigned int dimm_number);
+void update_spd_address(unsigned int ctrl_num,
+ unsigned int slot,
+ unsigned int *addr);
#endif