nb/intel/ironlake: Use `pci_update_config32()`
Change-Id: I7d36165e61e6399458479d47a33fe708eba7ea86 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42700 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
parent
68ab745086
commit
8308e2b9fa
|
@ -63,8 +63,7 @@ static void early_cpu_init (void)
|
|||
/* bit 0 = disable multicore,
|
||||
bit 1 = disable quadcore,
|
||||
bit 8 = disable hyperthreading. */
|
||||
pci_write_config32(PCI_DEV(0xff, 0x00, 0), 0x80,
|
||||
(pci_read_config32(PCI_DEV(0xff, 0x0, 0x0), 0x80) & 0xfffffefc) | 0x10000);
|
||||
pci_update_config32(PCI_DEV(0xff, 0x00, 0), 0x80, 0xfffffefc, 0x10000);
|
||||
|
||||
u8 reg8;
|
||||
struct cpuid_result result;
|
||||
|
|
Loading…
Reference in New Issue