ddr: altera: Internal scc_mgr_apply_group_all_out_delay_add() cleanup part 1
authorMarek Vasut <marex@denx.de>
Fri, 17 Jul 2015 03:30:14 +0000 (05:30 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:13 +0000 (14:14 +0200)
commit8eccde3ebbda8738862cbffb07d8f5f8165b44ab
tree2bba69fbdd6dd2105d6106f3a43c9b68425eea16
parentd41ea93a33416b23dc6102c2afc4cf53a80b773f
ddr: altera: Internal scc_mgr_apply_group_all_out_delay_add() cleanup part 1

Apparently, in case of the DQ and DM, the value if the new_delay variable
is calculated, but the value is not used. Zap the entire code which does
calculate the value.

It is not clear to me whether or not the code is doing the right thing
in the first place. Right now, it calls scc_mgr_load_dq() and
scc_mgr_load_dm() respectively, but I suspect it might need to call
scc_mgr_apply_group_dq_out1_delay() and scc_mgr_apply_group_dm_out1_delay()
instead. This is something Altera must investigate.

Signed-off-by: Marek Vasut <marex@denx.de>
drivers/ddr/altera/sequencer.c