summaryrefslogtreecommitdiff
path: root/src/soc/imgtec/pistachio/include/soc/ddr_private_reg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/imgtec/pistachio/include/soc/ddr_private_reg.h')
-rw-r--r--src/soc/imgtec/pistachio/include/soc/ddr_private_reg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/imgtec/pistachio/include/soc/ddr_private_reg.h b/src/soc/imgtec/pistachio/include/soc/ddr_private_reg.h
index 1026d5bce1..eab5b3a142 100644
--- a/src/soc/imgtec/pistachio/include/soc/ddr_private_reg.h
+++ b/src/soc/imgtec/pistachio/include/soc/ddr_private_reg.h
@@ -132,7 +132,7 @@ static int wait_for_completion(u32 reg, u32 exp_val)
struct stopwatch sw;
stopwatch_init_usecs_expire(&sw, DDR_TIMEOUT_VALUE_US);
- while (read32(reg) != exp_val) {
+ while (read32_x(reg) != exp_val) {
if (stopwatch_expired(&sw))
return DDR_TIMEOUT;
}