Intel ibexpeak: Fix SATA configuration

It got broken with commit bde6d309.

Change-Id: I0d7180b1659da45bf87d4de46b7b387cbc73cd0e
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/8523
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
Kyösti Mälkki 2015-02-24 11:53:06 +02:00
parent 63693dca06
commit 9b5f137823
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ static void sata_init(struct device *dev)
} }
write32(abar + 0x00, reg32); write32(abar + 0x00, reg32);
/* PI (Ports implemented) */ /* PI (Ports implemented) */
write32(abar + 0x0c, config->sata_port_map); write32(abar + 0x03, config->sata_port_map);
(void)read32(abar + 0x03); /* Read back 1 */ (void)read32(abar + 0x03); /* Read back 1 */
(void)read32(abar + 0x03); /* Read back 2 */ (void)read32(abar + 0x03); /* Read back 2 */
/* CAP2 (HBA Capabilities Extended) */ /* CAP2 (HBA Capabilities Extended) */