coreboot/src
Sven Schnelle b2f173e168 i82801gx: Fix port status in AHCI mode
The code used PCI register 0x92 to enable sata ports,
which is wrong. The ICH7 documentation states:

"This register is only used in systems that do not
support AHCI. In AHCI enabled systems, bits[3:0] must
always be set (ICH7R only) / bits[2,0] must always be set
(Mobile only), and the status of the port is controlled
through AHCI memory space."

Writing 0x0f to ICH7-M doesn't seem to hurt, so lets write
0x0f for both variants. This patch makes sata_ahci work on
my Thinkpad T60 and X60s.

Change-Id: If3b3daec2e5fbaa446de00272ebde01cd8d52475
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Reviewed-on: http://review.coreboot.org/340
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2011-10-27 18:27:07 +02:00
..
arch/x86 SPEEDSTEP: write _CST tables 2011-10-25 18:59:10 +02:00
boot Use ntohll where appropriate. 2011-10-21 14:14:32 +02:00
console console: support integrated 7-segment displays for POST codes 2011-10-23 17:25:04 +02:00
cpu SPEEDSTEP: write _CST tables 2011-10-25 18:59:10 +02:00
devices Use ntohll where appropriate. 2011-10-21 14:14:32 +02:00
drivers Add driver for ICS954309 clock generator 2011-10-25 19:22:22 +02:00
ec Lenovo H8: Fix h8_set_audio_mute() 2011-10-25 17:48:41 +02:00
include Extend coreboot table entry for serial ports 2011-10-21 23:34:30 +02:00
lib Use ntohll where appropriate. 2011-10-21 14:14:32 +02:00
mainboard X60: enable Cx power saving modes 2011-10-25 21:03:30 +02:00
northbridge I945: replace #if defined() by #if 2011-10-19 00:09:23 +02:00
pc80 Fix our CMOS checksum algorithm so it matches what /dev/nvram expects 2011-10-17 17:51:52 +02:00
southbridge i82801gx: Fix port status in AHCI mode 2011-10-27 18:27:07 +02:00
superio w83627hf: correct typo in ASL include, correct indexed registers and remove unneccesary _PR0 defs 2011-10-25 17:52:06 +02:00
vendorcode Fix AMD SB800 (cimx) southbridge code to compile with gcc 4.6 2011-10-14 22:57:11 +02:00
Kconfig refactor vesa mode setting code and bootsplash code 2011-10-13 20:00:50 +02:00
Kconfig.deprecated_options some ifdef --> if fixes 2011-04-21 20:24:43 +00:00