mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
mx6: ddr: add routine to return DDR calibration data
Add routine mmdc_read_calibration() to return the output of DDR calibration. This can be used for debugging or to aid in construction of static memory configuration. This routine will be used in a subsequent patch set adding a virtual "mx6memcal" board, but could also be useful when gathering statistics during an initial production run. Signed-off-by: Eric Nelson <eric@nelint.com>
This commit is contained in:
committed by
Stefano Babic
parent
7f17fb7400
commit
48c7d4379b
@@ -461,6 +461,8 @@ void mx6sl_dram_iocfg(unsigned width,
|
||||
#if defined(CONFIG_MX6QDL) || defined(CONFIG_MX6Q) || defined(CONFIG_MX6D)
|
||||
int mmdc_do_write_level_calibration(struct mx6_ddr_sysinfo const *sysinfo);
|
||||
int mmdc_do_dqs_calibration(struct mx6_ddr_sysinfo const *sysinfo);
|
||||
void mmdc_read_calibration(struct mx6_ddr_sysinfo const *sysinfo,
|
||||
struct mx6_mmdc_calibration *calib);
|
||||
#endif
|
||||
|
||||
/* configure mx6 mmdc registers */
|
||||
|
||||
Reference in New Issue
Block a user