sb/intel/bd82x6x: Set up io_gen_dec in romstage based on devicetree
Set up generic decode ranges based on the devicetree settings. Change-Id: Ie59b8272c69231d6dffccee30b4d3c84a7e83e8f Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33548 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
This commit is contained in:
committed by
Patrick Georgi
parent
4821a0e135
commit
6beaef983a
@@ -24,10 +24,6 @@
|
||||
void pch_enable_lpc(void)
|
||||
{
|
||||
pci_write_config16(PCI_DEV(0, 0x1f, 0), 0x82, 0x2400);
|
||||
pci_write_config32(PCI_DEV(0, 0x1f, 0), 0x84, 0x000c0291);
|
||||
pci_write_config32(PCI_DEV(0, 0x1f, 0), 0x88, 0x000c0a01);
|
||||
pci_write_config32(PCI_DEV(0, 0x1f, 0), 0x8c, 0x00000000);
|
||||
pci_write_config32(PCI_DEV(0, 0x1f, 0), 0x90, 0x00000000);
|
||||
pci_write_config16(PCI_DEV(0, 0x1f, 0), 0x80, 0x0000);
|
||||
pci_write_config32(PCI_DEV(0, 0x1f, 0), 0xac, 0x00010000);
|
||||
}
|
||||
|
Reference in New Issue
Block a user