From 528b471f94f5c4957e941b7547f583e6ce4db765 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Sat, 27 Mar 2021 19:15:59 +0100 Subject: [PATCH] mb/dell/optiplex_9010: Use new fixed BAR accessors Change-Id: I4d949d252ca24ebd4e4ed9c7dd17ede3810a8bfd Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/51884 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/mainboard/dell/optiplex_9010/early_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */