Patchwork New patch to review: 25f999d Revert changes to set the sb800 to AHCI mode. Seabios doesn't have this support included yet, which causes the generic Persimmon and other CIMx sb800 platforms to not boot.

login
register
about
Submitter gerrit@coreboot.org
Date 2011-06-08 22:23:39
Message ID <E1QURA3-00041D-3Y@ra.coresystems.de>
Download mbox | patch
Permalink /patch/3089/
State New, archived
Headers show

Comments

gerrit@coreboot.org - 2011-06-08 22:23:39
Marc Jones (marcj303@gmail.com) just uploaded a new patch set to gerrit, which you can find at
http://review.coreboot.org/14

-gerrit

Patch

commit 25f999da604708ad49802453385806be87a56cde
Author: Marc Jones <marcj303@gmail.com>
Date:   Wed Jun 8 14:41:52 2011 -0600

    Revert changes to set the sb800 to AHCI mode. Seabios doesn't have this support included yet, which causes the generic Persimmon and other CIMx sb800 platforms to not boot.
    
    Change-Id: If07328b7c62d7fc314647adce8fab983ed327854
    Signed-off-by: Marc Jones <marcj303@gmail.com>

diff --git a/src/southbridge/amd/cimx_wrapper/sb800/cfg.c b/src/southbridge/amd/cimx_wrapper/sb800/cfg.c
index 46ad813..0a09e11 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 = 1; //IDE controllor is hidden
+	sb_config->SATAMODE.SataMode.SataIdeCombinedMode = 0; //IDE controlor exposed and combined mode enabled
 	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 581fc66..05db9ab 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			AHCI_MODE
+  #define SATA_MODE			NATIVE_IDE_MODE
 #endif
 
 /**