aboutsummaryrefslogtreecommitdiff
path: root/drivers/ddr
diff options
context:
space:
mode:
authorTom Rini2016-01-16 08:30:49 -0500
committerTom Rini2016-01-16 08:30:49 -0500
commitb8c5b47296414c7cef84a879c0c90202bc22720c (patch)
tree9463031a6e06bbb6077de172035c9083103ff0bd /drivers/ddr
parent447b9cdf2c4d8d7c6cb1ff64426c1dfaf7396f93 (diff)
parent217db227df40e29d6a4726272303499a7cd7b904 (diff)
Merge branch 'master' of git://git.denx.de/u-boot-socfpga
Diffstat (limited to 'drivers/ddr')
-rw-r--r--drivers/ddr/altera/sdram.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ddr/altera/sdram.c b/drivers/ddr/altera/sdram.c
index 1ed2883d1b8..29969421727 100644
--- a/drivers/ddr/altera/sdram.c
+++ b/drivers/ddr/altera/sdram.c
@@ -218,6 +218,7 @@ static void sdram_dump_protection_config(void)
readl(&sdr_ctrl->protport_default));
for (rules = 0; rules < 20; rules++) {
+ rule.rule = rules;
sdram_get_rule(&rule);
debug("Rule %d, rules ...\n", rules);
debug(" sdram start %x\n", rule.sdram_start);