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>
This commit is contained in:
parent
793403c740
commit
0a7a2694f9
|
@ -45,5 +45,5 @@ void nc_fpga_post(uint8_t value)
|
||||||
value is written to the register. */
|
value is written to the register. */
|
||||||
if ((ENV_BOOTBLOCK || ENV_ROMSTAGE) && nc_fpga_present == false)
|
if ((ENV_BOOTBLOCK || ENV_ROMSTAGE) && nc_fpga_present == false)
|
||||||
return;
|
return;
|
||||||
write32((void *)(fpga_bar + NC_FPGA_POST_OFFSET), value);
|
write32p(fpga_bar + NC_FPGA_POST_OFFSET, value);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue