sb/intel/bd82x6x/sata: Set values as described in BIOS spec

Set some things missed originally because of formatting issues
in the BIOS spec. Values were compared with a vendor dump.

Change-Id: I27360d6ea5d1f00b1ed350f47ff40a22f19dfb05
Signed-off-by: Felix Singer <felix.singer@secunet.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40231
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Felix Singer 2020-04-06 11:01:28 +02:00 committed by Nico Huber
parent 192666f352
commit 7daf3cd32e
1 changed files with 5 additions and 0 deletions

View File

@ -186,6 +186,11 @@ static void sata_init(struct device *dev)
pch_iobp_update(0xea004001, 0x3fffffff, 0xc0000000);
pch_iobp_update(0xea00408a, 0xfffffcff, 0x00000100);
pci_update_config32(dev, 0x98,
~(1 << 16 | 0x3f << 7 | 3 << 5 | 3 << 3),
1 << 24 | 1 << 22 | 1 << 20 | 1 << 19 |
1 << 18 | 1 << 14 | 0x04 << 7 | 1 << 3);
}
static void sata_enable(struct device *dev)