From 0a7a2694f9ddeccd8ff24b5ea332190f22f444ab Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Thu, 8 Dec 2022 08:45:29 +0100 Subject: drivers/siemens/nc_fpga/nc_fpga_early.c: Use write32p() Change-Id: Ic7139f0adc0ce4556268612f5e77eb01738fc068 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/70471 Reviewed-by: Felix Held Tested-by: build bot (Jenkins) --- src/drivers/siemens/nc_fpga/nc_fpga_early.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drivers') 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); } -- cgit v1.2.3