[PATCH 1/2] arm: mvebu: fix A38x breakage from commit bb872dd930cc

Joel Johnson mrjoel at lixil.net
Sun Jan 26 17:48:58 CET 2020


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 at lixil.net>
Patch-to: Simon Glass <sjg at chromium.org>
---

 drivers/ddr/marvell/a38x/ddr3_training_ip_engine.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ddr/marvell/a38x/ddr3_training_ip_engine.c b/drivers/ddr/marvell/a38x/ddr3_training_ip_engine.c
index 9293d54e5a..1eababeebd 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;
 }
-- 
2.20.1



More information about the U-Boot mailing list