summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2015-07-18 05:58:44 +0200
committerMarek Vasut <marex@denx.de>2015-08-08 14:14:23 +0200
commit78cdd7d0c8d890f35786adf568df073c62df9ace (patch)
tree62447a63b7007eae69cd8a3b85fcec737fbc1653 /common
parent8371c2ee686b0b019c7796d495388f56263fca86 (diff)
downloadblackbird-obmc-uboot-78cdd7d0c8d890f35786adf568df073c62df9ace.tar.gz
blackbird-obmc-uboot-78cdd7d0c8d890f35786adf568df073c62df9ace.zip
ddr: altera: Clean up rw_mgr_mem_calibrate_vfifo_end()
This function is implementing the DDR calibration Stage 3 as described in Altera EMI_RM 2015.05.04 . The main body of this function is almost identical to Stage 1.3 (DQ/DQS centering) for all but two flags -- use_read_test and update_fom. Convert this function to call rw_mgr_mem_calibrate_dq_dqs_centering() with the correct flags set to trim down the code duplication. Moreover, reorder the remnants in the function a little and convert the function to return either 0 or -EIO in case of success and failure respectively, to match the common return value convention. Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud