diff options
author | Joe Bao <zheng.bao@amd.com> | 2008-12-01 19:37:21 +0000 |
---|---|---|
committer | Marc Jones <marc.jones@amd.com> | 2008-12-01 19:37:21 +0000 |
commit | 164463c551367d0ae3a9f8e5a1719200af99b060 (patch) | |
tree | 0b2b1a6682749dcc44302548edbebb08ce914df4 /src/southbridge/amd/sb600/sb600_ide.c | |
parent | 7a51e50582b65bb6ac54e8923470807b5975c6e1 (diff) |
Add AMD sb600 HPET setup and some minor cleanups.
Signed-off-by: Joe Bao <zheng.bao@amd.com>
Reviewed-by: Maggie Li <maggie.li@amd.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Marc Jones <marcj303@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3785 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/amd/sb600/sb600_ide.c')
-rw-r--r-- | src/southbridge/amd/sb600/sb600_ide.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/southbridge/amd/sb600/sb600_ide.c b/src/southbridge/amd/sb600/sb600_ide.c index 04afe83744..afe3f01fcc 100644 --- a/src/southbridge/amd/sb600/sb600_ide.c +++ b/src/southbridge/amd/sb600/sb600_ide.c @@ -38,13 +38,10 @@ static void ide_init(struct device *dev) pci_write_config32(dev, 0x70, dword); /* Ultra DMA mode */ + /* enable UDMA */ byte = pci_read_config8(dev, 0x54); byte |= 1 << 0; pci_write_config8(dev, 0x54, byte); - byte = pci_read_config8(dev, 0x56); - byte &= ~(7 << 0); - byte |= 5 << 0; /* mode 5 */ - pci_write_config8(dev, 0x56, byte); /* Enable I/O Access&& Bus Master */ dword = pci_read_config16(dev, 0x4); |