aboutsummaryrefslogtreecommitdiff
path: root/drivers/ddr
diff options
context:
space:
mode:
authorJoel Johnson2020-01-26 09:48:58 -0700
committerTom Rini2020-01-26 13:36:07 -0500
commit080dbc64fcbc9e17ed424778e51b4f3db152ec1e (patch)
treefd8e572c8c9613de8e26d7b7d531b41b26409091 /drivers/ddr
parent0b23b0d9f969c4a587cb9ee75905d6f6f9d1d2ea (diff)
arm: mvebu: fix A38x breakage from commit bb872dd930cc
This function parameter usage of load_addr was incorrectly caught in the clarifying renames of commit bb872dd930cc, which results in boot failures on Marvell A38x. Signed-off-by: Joel Johnson <mrjoel@lixil.net> Patch-to: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/ddr')
-rw-r--r--drivers/ddr/marvell/a38x/ddr3_training_ip_engine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ddr/marvell/a38x/ddr3_training_ip_engine.c b/drivers/ddr/marvell/a38x/ddr3_training_ip_engine.c
index 9293d54e5a0..1eababeebd1 100644
--- a/drivers/ddr/marvell/a38x/ddr3_training_ip_engine.c
+++ b/drivers/ddr/marvell/a38x/ddr3_training_ip_engine.c
@@ -615,7 +615,7 @@ int ddr3_tip_load_pattern_to_odpg(u32 dev_num, enum hws_access_type access_type,
CHECK_STATUS(ddr3_tip_if_write(dev_num, access_type, if_id,
ODPG_DATA_BUFFER_OFFS_REG,
- image_load_addr, MASK_ALL_BITS));
+ load_addr, MASK_ALL_BITS));
return MV_OK;
}