sb/intel/lynxpoint/sata.c: Don't enable Bus Master

Bus Master is not required and reference code does not set it.

Tested on Asrock B85M Pro4, still boots from SATA SSD with TianoCore.

Change-Id: I7a84da5b712e6fa569ad9f412c440afeb6a8cc5d
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47031
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by:  Felix Singer <felixsinger@posteo.net>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
This commit is contained in:
Angel Pons 2020-10-30 15:30:48 +01:00
parent 4c2389e28c
commit 1b85692fc4
1 changed files with 2 additions and 3 deletions

View File

@ -41,9 +41,8 @@ static void sata_init(struct device *dev)
/* SATA configuration */ /* SATA configuration */
/* Enable BARs */ /* Enable memory space decoding for ABAR */
pci_write_config16(dev, PCI_COMMAND, pci_or_config16(dev, PCI_COMMAND, PCI_COMMAND_MEMORY | PCI_COMMAND_IO);
PCI_COMMAND_MASTER | PCI_COMMAND_MEMORY | PCI_COMMAND_IO);
if (config->ide_legacy_combined) { if (config->ide_legacy_combined) {
printk(BIOS_DEBUG, "SATA: Controller in combined mode.\n"); printk(BIOS_DEBUG, "SATA: Controller in combined mode.\n");