From ba8202948ab77bdbd3dc2197f1552b87791a659a Mon Sep 17 00:00:00 2001 From: Lijian Zhao Date: Thu, 6 Dec 2018 15:05:19 -0800 Subject: 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 Reviewed-on: https://review.coreboot.org/c/30093 Reviewed-by: Duncan Laurie Reviewed-by: Patrick Rudolph Tested-by: build bot (Jenkins) --- src/soc/intel/cannonlake/chip.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/soc/intel') 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]; -- cgit v1.2.3