summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorLijian Zhao <lijian.zhao@intel.com>2018-12-06 15:05:19 -0800
committerPatrick Georgi <pgeorgi@google.com>2018-12-19 05:30:23 +0000
commitba8202948ab77bdbd3dc2197f1552b87791a659a (patch)
tree0ccd235ac9809e6e50f043c7a659ba34e69fd69c /src/soc
parentfd02ff0375d72b7e50d697446c877c3c8ad94efc (diff)
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@intel.com> Reviewed-on: https://review.coreboot.org/c/30093 Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/cannonlake/chip.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/soc/intel/cannonlake/chip.h b/src/soc/intel/cannonlake/chip.h
index 8eaf02b204..962748f561 100644
--- a/src/soc/intel/cannonlake/chip.h
+++ b/src/soc/intel/cannonlake/chip.h
@@ -124,7 +124,10 @@ struct soc_intel_cannonlake_config {
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];