[coreboot-gerrit] Change in ...coreboot[master]: soc/intel/cannonlake: Declare SATA Mode clear

Lijian Zhao (Code Review) gerrit at coreboot.org
Fri Dec 7 00:23:56 CET 2018


Lijian Zhao has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/30093


Change subject: soc/intel/cannonlake: Declare SATA Mode clear
......................................................................

soc/intel/cannonlake: Declare SATA Mode clear

FSP support two SATA modes as AHCI mode (0) and RAID mode (1), make it
more clear in header file.

Change-Id: I1edcadc0048df839da145260b60f9f7720d981fe
Signed-off-by: Lijian Zhao <lijian.zhao at intel.com>
---
M src/soc/intel/cannonlake/chip.h
1 file changed, 4 insertions(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/93/30093/1

diff --git a/src/soc/intel/cannonlake/chip.h b/src/soc/intel/cannonlake/chip.h
index 9eb91bd..5b73e5c 100644
--- a/src/soc/intel/cannonlake/chip.h
+++ b/src/soc/intel/cannonlake/chip.h
@@ -124,7 +124,10 @@
 	uint16_t usb3_wake_enable_bitmap;
 
 	/* SATA related */
-	uint8_t SataMode;
+	enum {
+		Sata_AHCI,
+		Sata_RAID,
+	} SataMode;
 	uint8_t SataSalpSupport;
 	uint8_t SataPortsEnable[8];
 	uint8_t SataPortsDevSlp[8];

-- 
To view, visit https://review.coreboot.org/c/coreboot/+/30093
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I1edcadc0048df839da145260b60f9f7720d981fe
Gerrit-Change-Number: 30093
Gerrit-PatchSet: 1
Gerrit-Owner: Lijian Zhao <lijian.zhao at intel.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181206/d52acb0c/attachment.html>


More information about the coreboot-gerrit mailing list