diff mbox series

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

Message ID 20200126164859.21312-1-mrjoel@lixil.net
State Accepted
Commit 080dbc64fcbc9e17ed424778e51b4f3db152ec1e
Headers show
Series [1/2] arm: mvebu: fix A38x breakage from commit bb872dd930cc | expand

Commit Message

Joel Johnson Jan. 26, 2020, 4:48 p.m. UTC
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(-)

Comments

Tom Rini Jan. 26, 2020, 7:13 p.m. UTC | #1
On Sun, Jan 26, 2020 at 09:48:58AM -0700, Joel Johnson wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox series

Patch

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;
 }