diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2022-12-08 08:45:29 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-12-10 00:17:19 +0000 |
commit | 0a7a2694f9ddeccd8ff24b5ea332190f22f444ab (patch) | |
tree | b232bcc5b0beb253891c8a73ab44578e77b6a7ed /src/drivers | |
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>
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/siemens/nc_fpga/nc_fpga_early.c | 2 |
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); } |