summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2015-02-24 11:53:06 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2015-02-24 11:49:32 +0100
commit9b5f13782385f6d44b733ac5e4550b008ce71712 (patch)
tree44dd3d1c6698faf62151291bbd078cc50bedca77
parent63693dca06314d44601c9dec713290c694719935 (diff)
downloadcoreboot-9b5f13782385f6d44b733ac5e4550b008ce71712.tar.xz
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>
-rw-r--r--src/southbridge/intel/ibexpeak/sata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/intel/ibexpeak/sata.c b/src/southbridge/intel/ibexpeak/sata.c
index c8450ad447..3b79838d89 100644
--- a/src/southbridge/intel/ibexpeak/sata.c
+++ b/src/southbridge/intel/ibexpeak/sata.c
@@ -117,7 +117,7 @@ static void sata_init(struct device *dev)
}
write32(abar + 0x00, reg32);
/* 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 2 */
/* CAP2 (HBA Capabilities Extended) */