Fix AHCI mode on i82801gx. Fixes SATA hotplug on iBASE:MB899.
Signed-off-by: Bernhard M. Wiedermann <corebootbmw@lsmod.de> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5479 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
f75b19ac85
commit
676939620a
|
@ -104,7 +104,7 @@ static void sata_init(struct device *dev)
|
|||
pci_write_config32(dev, IDE_CONFIG, reg32);
|
||||
|
||||
/* Set Sata Controller Mode. */
|
||||
pci_write_config8(dev, 0x90, 0xc0); // WTF - Reserved?
|
||||
pci_write_config8(dev, 0x90, 0x40); // 40=AHCI
|
||||
|
||||
/* Port 0 & 1 enable */
|
||||
pci_write_config8(dev, 0x92, 0x0f);
|
||||
|
|
Loading…
Reference in New Issue