Don't pre-enable SATA AHCI in romstage.c
In a recent commit the SATA code of Panther Point / Cougar Point was changed to enable AHCI mode depending on the device tree settings rather than a hard code hidden in romstage.c. However, Emerald Lake 2 was not fixed up accordingly. Change-Id: I6c93f386509361e1ab5565b0e4d0e84f0ba282a2 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/995 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
parent
d4bacf962c
commit
8a36634388
|
@ -132,9 +132,6 @@ static void early_pch_init(void)
|
||||||
reg8 = pci_read_config8(PCH_LPC_DEV, 0xa4);
|
reg8 = pci_read_config8(PCH_LPC_DEV, 0xa4);
|
||||||
reg8 &= ~(1 << 2);
|
reg8 &= ~(1 << 2);
|
||||||
pci_write_config8(PCH_LPC_DEV, 0xa4, reg8);
|
pci_write_config8(PCH_LPC_DEV, 0xa4, reg8);
|
||||||
|
|
||||||
// SATA - enable AHCI
|
|
||||||
pci_write_config16(PCH_SATA_DEV, 0x90, 0x0060);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void setup_sio_gpios(void)
|
static void setup_sio_gpios(void)
|
||||||
|
|
Loading…
Reference in New Issue