mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
Changed erroneous write config 8 to write config 32
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: svn://coreboot.org/repository/coreboot-v3@678 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
4ab20cb518
commit
ed9cd01e22
1 changed files with 1 additions and 1 deletions
|
@ -602,7 +602,7 @@ static void ide_init(struct device *dev)
|
|||
// NOTE: Only 32-bit writes to the data buffer are allowed when PWB is set
|
||||
ide_cfg = pci_read_config32(dev, IDE_CFG);
|
||||
ide_cfg |= CHANEN | PWB;
|
||||
pci_write_config8(dev, IDE_CFG, ide_cfg);
|
||||
pci_write_config32(dev, IDE_CFG, ide_cfg);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue