sb/intel/lynxpoint/me.c: Use res2mmio()
Tested with BUILD_TIMELESS=1, Asrock B85M Pro4 remains identical. Change-Id: I87fa1ffb353135cc361ac6be30a4fc69e7f8ed47 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51037 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
parent
a3492d71c0
commit
d32b51466e
@ -698,7 +698,7 @@ static int intel_mei_setup(struct device *dev)
|
||||
printk(BIOS_DEBUG, "ME: MEI resource not present!\n");
|
||||
return -1;
|
||||
}
|
||||
mei_base_address = (u8 *)(uintptr_t)res->base;
|
||||
mei_base_address = res2mmio(res, 0, 0);
|
||||
|
||||
/* Ensure Memory and Bus Master bits are set */
|
||||
pci_or_config16(dev, PCI_COMMAND, PCI_COMMAND_MASTER | PCI_COMMAND_MEMORY);
|
||||
|
Loading…
x
Reference in New Issue
Block a user