arm: mvebu: fix A38x breakage from commit bb872dd930cc
authorJoel Johnson <mrjoel@lixil.net>
Sun, 26 Jan 2020 16:48:58 +0000 (09:48 -0700)
committerTom Rini <trini@konsulko.com>
Sun, 26 Jan 2020 18:36:07 +0000 (13:36 -0500)
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>

drivers/ddr/marvell/a38x/ddr3_training_ip_engine.c

index 9293d54e5a0d012ce0a4f587e6e88b494d380fb9..1eababeebd1029f068905e8838d47788ebb97b45 100644 (file)
@@ -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;
 }