diff options
author | Scott Duplichan <scott@notabs.org> | 2011-05-15 21:38:08 +0000 |
---|---|---|
committer | Marc Jones <marc.jones@amd.com> | 2011-05-15 21:38:08 +0000 |
commit | f191c720389b5f4cffc3480096a11e2ff5a050b1 (patch) | |
tree | 6d57158af3b08df743e4da695ba05fcf2442ad33 /src/southbridge/amd | |
parent | dc312cca530940e4019bb3b0d9bbb97f9c748575 (diff) |
Enable AHCI mode and hide IDE controller to reduce boot time.
Note: enable AHCI in seabios and apply seabios patch:
http://www.mail-archive.com/seabios@seabios.org/msg00437.html
Signed-off-by: Scott Duplichan <scott@notabs.org>
Acked-by: Marc Jones <marcj303@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6579 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/amd')
-rw-r--r-- | src/southbridge/amd/cimx_wrapper/sb800/cfg.c | 2 | ||||
-rw-r--r-- | src/southbridge/amd/cimx_wrapper/sb800/cfg.h | 2 | ||||
-rw-r--r-- | src/southbridge/amd/cimx_wrapper/sb800/late.c | 3 |
3 files changed, 3 insertions, 4 deletions
diff --git a/src/southbridge/amd/cimx_wrapper/sb800/cfg.c b/src/southbridge/amd/cimx_wrapper/sb800/cfg.c index 371f53beb4..09ff9b6c6c 100644 --- a/src/southbridge/amd/cimx_wrapper/sb800/cfg.c +++ b/src/southbridge/amd/cimx_wrapper/sb800/cfg.c @@ -83,7 +83,7 @@ void sb800_cimx_config(AMDSBCFG *sb_config) sb_config->SATAMODE.SataMode.SataController = SATA_CONTROLLER; sb_config->SATAMODE.SataMode.SataIdeCombMdPriSecOpt = 0; //0 -IDE as primary, 1 -IDE as secondary. //TODO: set to secondary not take effect. - sb_config->SATAMODE.SataMode.SataIdeCombinedMode = 0; //IDE controlor exposed and combined mode enabled + sb_config->SATAMODE.SataMode.SataIdeCombinedMode = 1; //IDE controllor is hidden sb_config->SATAMODE.SataMode.SATARefClkSel = SATA_CLOCK_SOURCE; /* Azalia HDA */ diff --git a/src/southbridge/amd/cimx_wrapper/sb800/cfg.h b/src/southbridge/amd/cimx_wrapper/sb800/cfg.h index e12a69e035..e89daca381 100644 --- a/src/southbridge/amd/cimx_wrapper/sb800/cfg.h +++ b/src/southbridge/amd/cimx_wrapper/sb800/cfg.h @@ -109,7 +109,7 @@ * NOTE: DO NOT ALLOW SATA & IDE use same mode */ #ifndef SATA_MODE - #define SATA_MODE NATIVE_IDE_MODE + #define SATA_MODE AHCI_MODE #endif /** diff --git a/src/southbridge/amd/cimx_wrapper/sb800/late.c b/src/southbridge/amd/cimx_wrapper/sb800/late.c index e2c36b0be5..45689d7627 100644 --- a/src/southbridge/amd/cimx_wrapper/sb800/late.c +++ b/src/southbridge/amd/cimx_wrapper/sb800/late.c @@ -138,10 +138,9 @@ static struct device_operations sata_ops = { static const struct pci_driver sata_driver __pci_driver = { .ops = &sata_ops, .vendor = PCI_VENDOR_ID_ATI, - .device = PCI_DEVICE_ID_ATI_SB800_SATA, //SATA IDE Mode 4390 + .device = PCI_DEVICE_ID_ATI_SB800_SATA_AHCI, }; - #if CONFIG_USBDEBUG static void usb_set_resources(struct device *dev) { |