From: Marek Vasut Date: Mon, 4 Apr 2016 16:41:53 +0000 (+0200) Subject: ddr: altera: Remove unnecessary update of the SCC X-Git-Tag: v2016.05-rc2~4^2~7 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f5f8c411de0c1971475069ac011c858ca914eae7;p=u-boot ddr: altera: Remove unnecessary update of the SCC Every invocation of the scc_mgr_set_dqs_en_delay_all_ranks() is followed by SCC manager update. Moreover, only this function triggers the SCC manager update internally. Thus, remove the internal invocation to avoid triggering the update twice. Signed-off-by: Marek Vasut Cc: Dinh Nguyen Cc: Chin Liang See --- diff --git a/drivers/ddr/altera/sequencer.c b/drivers/ddr/altera/sequencer.c index 3859e66a00..6bf75baa47 100644 --- a/drivers/ddr/altera/sequencer.c +++ b/drivers/ddr/altera/sequencer.c @@ -424,7 +424,6 @@ static void scc_mgr_set_dqs_en_delay_all_ranks(u32 read_group, */ scc_mgr_set_all_ranks(SCC_MGR_DQS_EN_DELAY_OFFSET, read_group, delay, 1); - writel(0, &sdr_scc_mgr->update); } /**