summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/drivers/siemens/nc_fpga/nc_fpga_early.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/siemens/nc_fpga/nc_fpga_early.c b/src/drivers/siemens/nc_fpga/nc_fpga_early.c
index 7d7d54c5b2..44ed97a49f 100644
--- a/src/drivers/siemens/nc_fpga/nc_fpga_early.c
+++ b/src/drivers/siemens/nc_fpga/nc_fpga_early.c
@@ -45,5 +45,5 @@ void nc_fpga_post(uint8_t value)
value is written to the register. */
if ((ENV_BOOTBLOCK || ENV_ROMSTAGE) && nc_fpga_present == false)
return;
- write32((void *)(fpga_bar + NC_FPGA_POST_OFFSET), value);
+ write32p(fpga_bar + NC_FPGA_POST_OFFSET, value);
}