summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-03-27 19:15:59 +0100
committerNico Huber <nico.h@gmx.de>2021-04-10 16:04:49 +0000
commit528b471f94f5c4957e941b7547f583e6ce4db765 (patch)
tree747b189df366d6c9a609a35285dc90618f7ce9b7
parent1d4044ae88b512b711b5280e3035bf2327af9a58 (diff)
mb/dell/optiplex_9010: Use new fixed BAR accessors
Change-Id: I4d949d252ca24ebd4e4ed9c7dd17ede3810a8bfd Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51884 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
-rw-r--r--src/mainboard/dell/optiplex_9010/early_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/dell/optiplex_9010/early_init.c b/src/mainboard/dell/optiplex_9010/early_init.c
index 0b6334d72a..2ffdf1664a 100644
--- a/src/mainboard/dell/optiplex_9010/early_init.c
+++ b/src/mainboard/dell/optiplex_9010/early_init.c
@@ -34,7 +34,7 @@ void bootblock_mainboard_early_init(void)
*/
pci_write_config32(HOST_BRIDGE, MCHBAR, CONFIG_FIXED_MCHBAR_MMIO_BASE | 1);
pci_write_config32(HOST_BRIDGE, MCHBAR + 4, 0);
- MCHBAR16(SSKPD_HI) = 0;
+ mchbar_write16(SSKPD_HI, 0);
sch5545_early_init(0x2e);
/* Bare EC and SIO GPIO initialization which allows to enable serial port */