commit | 0a7a2694f9ddeccd8ff24b5ea332190f22f444ab | [log] [tgz] |
---|---|---|
author | Elyes Haouas <ehaouas@noos.fr> | Thu Dec 08 08:45:29 2022 +0100 |
committer | Felix Held <felix-coreboot@felixheld.de> | Sat Dec 10 00:17:19 2022 +0000 |
tree | b232bcc5b0beb253891c8a73ab44578e77b6a7ed | |
parent | 793403c740d29d343fa1d566fdd8cde584e854ff [diff] |
drivers/siemens/nc_fpga/nc_fpga_early.c: Use write32p() Change-Id: Ic7139f0adc0ce4556268612f5e77eb01738fc068 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70471 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/src/drivers/siemens/nc_fpga/nc_fpga_early.c b/src/drivers/siemens/nc_fpga/nc_fpga_early.c index 7d7d54c..44ed97a 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 @@ 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); }