diff options
author | Angel Pons <th3fanbus@gmail.com> | 2020-07-31 21:37:26 +0200 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2020-08-02 12:18:40 +0000 |
commit | c3be055fbecb320766fbe220a09370687735a4d3 (patch) | |
tree | 38c7505da1c0f3c0878ff34cb4855b33c10b74b3 /LICENSES/MIT.txt | |
parent | e231949b78fee38dca823bc76467f81166e00995 (diff) |
soc/intel/baytrail/sata.c: Fix SATA init sequence
SeaBIOS on Bay Trail would time out when trying to access a SATA drive.
Turns out that there's two mistakes in the SATA initialization sequence:
- PCI register 0x94 is wrongly cleared with a bitwise-and operation.
- PCI register 0x9c is instead written to 0x98, clobbering the latter.
After correcting them, SeaBIOS can boot from SATA on Asrock Q1900M.
Change-Id: I5cc4b9b1695653066f47de67afc79f08f0341cc5
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44088
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Máté Kukri <kukri.mate@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'LICENSES/MIT.txt')
0 files changed, 0 insertions, 0 deletions