sb/intel/bd82x6x: Use PCH_LPC_DEV
macro
Change-Id: I681bb126546b5a7bda3f1bac05c345d2cf60b178 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49170 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <felixsinger@posteo.net>
This commit is contained in:
@@ -70,7 +70,7 @@ void southbridge_gate_memory_reset(void)
|
|||||||
{
|
{
|
||||||
u16 gpiobase;
|
u16 gpiobase;
|
||||||
|
|
||||||
gpiobase = pci_read_config16(PCI_DEV(0, 0x1f, 0), GPIOBASE) & 0xfffc;
|
gpiobase = pci_read_config16(PCH_LPC_DEV, GPIOBASE) & 0xfffc;
|
||||||
if (!gpiobase)
|
if (!gpiobase)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user