skl mainboards/dt: Move SATA related settings into SATA device scope
Change-Id: I50706d7a077767d2295d6d5f209c30109d607277 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83179 Reviewed-by: Eric Lai <ericllai@google.com> Reviewed-by: Erik van den Bogaert <ebogaert@eltan.com> Reviewed-by: Marvin Evers <marvin.n.evers@gmail.com> Reviewed-by: Jonathon Hall <jonathon.hall@puri.sm> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
@@ -30,15 +30,6 @@ chip soc/intel/skylake
|
|||||||
register "dptf_enable" = "0"
|
register "dptf_enable" = "0"
|
||||||
|
|
||||||
# FSP Configuration
|
# FSP Configuration
|
||||||
register "SataSalpSupport" = "1"
|
|
||||||
|
|
||||||
# The X210 has 3 SATA ports: a full SATA port, mSATA, and SATA over M.2
|
|
||||||
register "SataPortsEnable[0]" = "1"
|
|
||||||
register "SataPortsEnable[1]" = "1"
|
|
||||||
register "SataPortsEnable[2]" = "1"
|
|
||||||
register "SataPortsDevSlp[0]" = "1"
|
|
||||||
register "SataPortsDevSlp[1]" = "1"
|
|
||||||
register "SataPortsDevSlp[2]" = "1"
|
|
||||||
register "DspEnable" = "0"
|
register "DspEnable" = "0"
|
||||||
register "IoBufferOwnership" = "0"
|
register "IoBufferOwnership" = "0"
|
||||||
register "SkipExtGfxScan" = "1"
|
register "SkipExtGfxScan" = "1"
|
||||||
@@ -106,7 +97,21 @@ chip soc/intel/skylake
|
|||||||
end
|
end
|
||||||
device ref thermal on end
|
device ref thermal on end
|
||||||
device ref heci1 on end
|
device ref heci1 on end
|
||||||
device ref sata on end
|
device ref sata on
|
||||||
|
register "SataSalpSupport" = "1"
|
||||||
|
|
||||||
|
# The X210 has 3 SATA ports: a full SATA port, mSATA, and SATA over M.2
|
||||||
|
register "SataPortsEnable" = "{
|
||||||
|
[0] = 1,
|
||||||
|
[1] = 1,
|
||||||
|
[2] = 1,
|
||||||
|
}"
|
||||||
|
register "SataPortsDevSlp" = "{
|
||||||
|
[0] = 1,
|
||||||
|
[1] = 1,
|
||||||
|
[2] = 1,
|
||||||
|
}"
|
||||||
|
end
|
||||||
device ref pcie_rp3 on end
|
device ref pcie_rp3 on end
|
||||||
device ref pcie_rp4 on end
|
device ref pcie_rp4 on end
|
||||||
device ref pcie_rp9 on end
|
device ref pcie_rp9 on end
|
||||||
|
@@ -32,11 +32,6 @@ chip soc/intel/skylake
|
|||||||
register "SkipExtGfxScan" = "1"
|
register "SkipExtGfxScan" = "1"
|
||||||
register "SaGv" = "SaGv_Enabled"
|
register "SaGv" = "SaGv_Enabled"
|
||||||
|
|
||||||
register "SataSalpSupport" = "1"
|
|
||||||
register "SataPortsEnable" = "{
|
|
||||||
[0] = 1,
|
|
||||||
}"
|
|
||||||
|
|
||||||
# Enabling SLP_S3#, SLP_S4#, SLP_SUS and SLP_A Stretch
|
# Enabling SLP_S3#, SLP_S4#, SLP_SUS and SLP_A Stretch
|
||||||
# SLP_S3 Minimum Assertion Width. Values 0: 60us, 1: 1ms, 2: 50ms, 3: 2s
|
# SLP_S3 Minimum Assertion Width. Values 0: 60us, 1: 1ms, 2: 50ms, 3: 2s
|
||||||
register "PmConfigSlpS3MinAssert" = "2"
|
register "PmConfigSlpS3MinAssert" = "2"
|
||||||
@@ -209,7 +204,10 @@ chip soc/intel/skylake
|
|||||||
device ref south_xdci on end
|
device ref south_xdci on end
|
||||||
device ref thermal on end
|
device ref thermal on end
|
||||||
device ref heci1 on end
|
device ref heci1 on end
|
||||||
device ref sata on end
|
device ref sata on
|
||||||
|
register "SataSalpSupport" = "1"
|
||||||
|
register "SataPortsEnable[0]" = "1"
|
||||||
|
end
|
||||||
device ref pcie_rp3 on end # x1 baseboard WWAN
|
device ref pcie_rp3 on end # x1 baseboard WWAN
|
||||||
device ref pcie_rp6 on end # x1 baseboard i210
|
device ref pcie_rp6 on end # x1 baseboard i210
|
||||||
device ref pcie_rp9 on end # x4 FPGA
|
device ref pcie_rp9 on end # x4 FPGA
|
||||||
|
@@ -59,9 +59,6 @@ chip soc/intel/skylake
|
|||||||
register "s0ix_enable" = true
|
register "s0ix_enable" = true
|
||||||
|
|
||||||
# FSP Configuration
|
# FSP Configuration
|
||||||
register "SataPortsEnable[0]" = "1"
|
|
||||||
register "SataPortsEnable[1]" = "1"
|
|
||||||
register "SataPortsDevSlp[1]" = "1"
|
|
||||||
register "DspEnable" = "1"
|
register "DspEnable" = "1"
|
||||||
register "IoBufferOwnership" = "3"
|
register "IoBufferOwnership" = "3"
|
||||||
register "SkipExtGfxScan" = "1"
|
register "SkipExtGfxScan" = "1"
|
||||||
@@ -359,7 +356,13 @@ chip soc/intel/skylake
|
|||||||
device ref i2c0 on end
|
device ref i2c0 on end
|
||||||
device ref i2c2 on end
|
device ref i2c2 on end
|
||||||
device ref heci1 on end
|
device ref heci1 on end
|
||||||
device ref sata on end
|
device ref sata on
|
||||||
|
register "SataPortsEnable" = "{
|
||||||
|
[0] = 1,
|
||||||
|
[1] = 1,
|
||||||
|
}"
|
||||||
|
register "SataPortsDevSlp[1]" = "1"
|
||||||
|
end
|
||||||
device ref uart2 on end
|
device ref uart2 on end
|
||||||
device ref i2c5 on end
|
device ref i2c5 on end
|
||||||
device ref pcie_rp1 on end
|
device ref pcie_rp1 on end
|
||||||
|
@@ -47,17 +47,6 @@ chip soc/intel/skylake
|
|||||||
register "SsicPortEnable" = "1"
|
register "SsicPortEnable" = "1"
|
||||||
|
|
||||||
|
|
||||||
register "SataSalpSupport" = "1"
|
|
||||||
register "SataPortsEnable" = "{
|
|
||||||
[0] = 1,
|
|
||||||
[1] = 1,
|
|
||||||
[2] = 1,
|
|
||||||
[3] = 1,
|
|
||||||
[4] = 1,
|
|
||||||
[5] = 1,
|
|
||||||
[6] = 1,
|
|
||||||
[7] = 1,
|
|
||||||
}"
|
|
||||||
register "SerialIoDevMode" = "{
|
register "SerialIoDevMode" = "{
|
||||||
[PchSerialIoIndexI2C0] = PchSerialIoPci,
|
[PchSerialIoIndexI2C0] = PchSerialIoPci,
|
||||||
[PchSerialIoIndexI2C1] = PchSerialIoPci,
|
[PchSerialIoIndexI2C1] = PchSerialIoPci,
|
||||||
@@ -112,7 +101,19 @@ chip soc/intel/skylake
|
|||||||
device ref sa_thermal off end
|
device ref sa_thermal off end
|
||||||
device ref i2c2 off end
|
device ref i2c2 off end
|
||||||
device ref i2c3 off end
|
device ref i2c3 off end
|
||||||
device ref sata on end
|
device ref sata on
|
||||||
|
register "SataSalpSupport" = "1"
|
||||||
|
register "SataPortsEnable" = "{
|
||||||
|
[0] = 1,
|
||||||
|
[1] = 1,
|
||||||
|
[2] = 1,
|
||||||
|
[3] = 1,
|
||||||
|
[4] = 1,
|
||||||
|
[5] = 1,
|
||||||
|
[6] = 1,
|
||||||
|
[7] = 1,
|
||||||
|
}"
|
||||||
|
end
|
||||||
device ref i2c4 off end
|
device ref i2c4 off end
|
||||||
device ref emmc off end
|
device ref emmc off end
|
||||||
device ref sdxc off end
|
device ref sdxc off end
|
||||||
|
@@ -1,11 +1,5 @@
|
|||||||
chip soc/intel/skylake
|
chip soc/intel/skylake
|
||||||
|
|
||||||
register "SataPortsEnable" = "{
|
|
||||||
[0] = 1,
|
|
||||||
[1] = 1,
|
|
||||||
[2] = 1,
|
|
||||||
}"
|
|
||||||
|
|
||||||
# Enable deep Sx states
|
# Enable deep Sx states
|
||||||
register "deep_s5_enable_ac" = "1"
|
register "deep_s5_enable_ac" = "1"
|
||||||
register "deep_s5_enable_dc" = "1"
|
register "deep_s5_enable_dc" = "1"
|
||||||
@@ -155,7 +149,13 @@ chip soc/intel/skylake
|
|||||||
end
|
end
|
||||||
device ref i2c2 off end
|
device ref i2c2 off end
|
||||||
device ref i2c3 off end
|
device ref i2c3 off end
|
||||||
device ref sata on end
|
device ref sata on
|
||||||
|
register "SataPortsEnable" = "{
|
||||||
|
[0] = 1,
|
||||||
|
[1] = 1,
|
||||||
|
[2] = 1,
|
||||||
|
}"
|
||||||
|
end
|
||||||
device ref pcie_rp3 on end
|
device ref pcie_rp3 on end
|
||||||
device ref pcie_rp4 on end
|
device ref pcie_rp4 on end
|
||||||
device ref pcie_rp5 on end
|
device ref pcie_rp5 on end
|
||||||
|
@@ -98,18 +98,6 @@ chip soc/intel/skylake
|
|||||||
|
|
||||||
register "SsicPortEnable" = "1" # Enable SSIC for WWAN
|
register "SsicPortEnable" = "1" # Enable SSIC for WWAN
|
||||||
|
|
||||||
register "SataSalpSupport" = "1"
|
|
||||||
register "SataPortsEnable" = "{
|
|
||||||
[0] = 1,
|
|
||||||
[1] = 1,
|
|
||||||
[2] = 1,
|
|
||||||
[3] = 1,
|
|
||||||
[4] = 1,
|
|
||||||
[5] = 1,
|
|
||||||
[6] = 1,
|
|
||||||
[7] = 1,
|
|
||||||
}"
|
|
||||||
|
|
||||||
# Must leave UART0 enabled or SD/eMMC will not work as PCI
|
# Must leave UART0 enabled or SD/eMMC will not work as PCI
|
||||||
register "SerialIoDevMode" = "{
|
register "SerialIoDevMode" = "{
|
||||||
[PchSerialIoIndexI2C0] = PchSerialIoPci,
|
[PchSerialIoIndexI2C0] = PchSerialIoPci,
|
||||||
@@ -164,7 +152,19 @@ chip soc/intel/skylake
|
|||||||
end
|
end
|
||||||
device ref i2c2 off end
|
device ref i2c2 off end
|
||||||
device ref i2c3 off end
|
device ref i2c3 off end
|
||||||
device ref sata on end
|
device ref sata on
|
||||||
|
register "SataSalpSupport" = "1"
|
||||||
|
register "SataPortsEnable" = "{
|
||||||
|
[0] = 1,
|
||||||
|
[1] = 1,
|
||||||
|
[2] = 1,
|
||||||
|
[3] = 1,
|
||||||
|
[4] = 1,
|
||||||
|
[5] = 1,
|
||||||
|
[6] = 1,
|
||||||
|
[7] = 1,
|
||||||
|
}"
|
||||||
|
end
|
||||||
device ref i2c4 off end
|
device ref i2c4 off end
|
||||||
device ref pcie_rp1 off end
|
device ref pcie_rp1 off end
|
||||||
device ref pcie_rp3 on end
|
device ref pcie_rp3 on end
|
||||||
|
@@ -130,17 +130,6 @@ chip soc/intel/skylake
|
|||||||
|
|
||||||
# Must leave UART0 enabled or SD/eMMC will not work as PCI
|
# Must leave UART0 enabled or SD/eMMC will not work as PCI
|
||||||
|
|
||||||
register "SataSalpSupport" = "1"
|
|
||||||
register "SataPortsEnable" = "{
|
|
||||||
[0] = 1,
|
|
||||||
[1] = 1,
|
|
||||||
[2] = 1,
|
|
||||||
[3] = 1,
|
|
||||||
[4] = 1,
|
|
||||||
[5] = 1,
|
|
||||||
[6] = 1,
|
|
||||||
[7] = 1,
|
|
||||||
}"
|
|
||||||
register "SerialIoDevMode" = "{
|
register "SerialIoDevMode" = "{
|
||||||
[PchSerialIoIndexI2C0] = PchSerialIoPci,
|
[PchSerialIoIndexI2C0] = PchSerialIoPci,
|
||||||
[PchSerialIoIndexI2C1] = PchSerialIoPci,
|
[PchSerialIoIndexI2C1] = PchSerialIoPci,
|
||||||
@@ -205,7 +194,19 @@ chip soc/intel/skylake
|
|||||||
device ref i2c2 on end
|
device ref i2c2 on end
|
||||||
device ref i2c3 on end
|
device ref i2c3 on end
|
||||||
device ref heci1 on end
|
device ref heci1 on end
|
||||||
device ref sata on end
|
device ref sata on
|
||||||
|
register "SataSalpSupport" = "1"
|
||||||
|
register "SataPortsEnable" = "{
|
||||||
|
[0] = 1,
|
||||||
|
[1] = 1,
|
||||||
|
[2] = 1,
|
||||||
|
[3] = 1,
|
||||||
|
[4] = 1,
|
||||||
|
[5] = 1,
|
||||||
|
[6] = 1,
|
||||||
|
[7] = 1,
|
||||||
|
}"
|
||||||
|
end
|
||||||
device ref uart2 on end
|
device ref uart2 on end
|
||||||
device ref i2c5 on end
|
device ref i2c5 on end
|
||||||
device ref i2c4 on end
|
device ref i2c4 on end
|
||||||
|
@@ -8,8 +8,6 @@ chip soc/intel/skylake
|
|||||||
register "PcieRpEnable[ 3]" = "1"
|
register "PcieRpEnable[ 3]" = "1"
|
||||||
register "PcieRpEnable[11]" = "1"
|
register "PcieRpEnable[11]" = "1"
|
||||||
|
|
||||||
register "SataPortsEnable[3]" = "1"
|
|
||||||
|
|
||||||
device domain 0 on
|
device domain 0 on
|
||||||
device ref south_xhci on
|
device ref south_xhci on
|
||||||
register "usb2_ports" = "{
|
register "usb2_ports" = "{
|
||||||
@@ -26,6 +24,9 @@ chip soc/intel/skylake
|
|||||||
[3] = USB3_PORT_DEFAULT(OC1),
|
[3] = USB3_PORT_DEFAULT(OC1),
|
||||||
}"
|
}"
|
||||||
end
|
end
|
||||||
|
device ref sata on
|
||||||
|
register "SataPortsEnable[3]" = "1"
|
||||||
|
end
|
||||||
device ref pcie_rp1 on end
|
device ref pcie_rp1 on end
|
||||||
device ref pcie_rp2 on end
|
device ref pcie_rp2 on end
|
||||||
device ref pcie_rp3 on end
|
device ref pcie_rp3 on end
|
||||||
|
@@ -29,12 +29,6 @@ chip soc/intel/skylake
|
|||||||
register "dptf_enable" = "0"
|
register "dptf_enable" = "0"
|
||||||
|
|
||||||
# FSP Configuration
|
# FSP Configuration
|
||||||
register "SataPortsEnable" = "{
|
|
||||||
[0] = 1,
|
|
||||||
[1] = 1,
|
|
||||||
[2] = 1,
|
|
||||||
}"
|
|
||||||
register "SataSpeedLimit" = "2"
|
|
||||||
register "DspEnable" = "1"
|
register "DspEnable" = "1"
|
||||||
register "IoBufferOwnership" = "0"
|
register "IoBufferOwnership" = "0"
|
||||||
register "SkipExtGfxScan" = "1"
|
register "SkipExtGfxScan" = "1"
|
||||||
@@ -154,7 +148,14 @@ chip soc/intel/skylake
|
|||||||
device ref south_xdci on end
|
device ref south_xdci on end
|
||||||
device ref thermal on end
|
device ref thermal on end
|
||||||
device ref heci1 on end
|
device ref heci1 on end
|
||||||
device ref sata on end
|
device ref sata on
|
||||||
|
register "SataPortsEnable" = "{
|
||||||
|
[0] = 1,
|
||||||
|
[1] = 1,
|
||||||
|
[2] = 1,
|
||||||
|
}"
|
||||||
|
register "SataSpeedLimit" = "2"
|
||||||
|
end
|
||||||
device ref pcie_rp3 on end
|
device ref pcie_rp3 on end
|
||||||
device ref pcie_rp5 on
|
device ref pcie_rp5 on
|
||||||
smbios_slot_desc "SlotTypePciExpressMini52pinWithoutBSKO"
|
smbios_slot_desc "SlotTypePciExpressMini52pinWithoutBSKO"
|
||||||
|
@@ -101,10 +101,6 @@ chip soc/intel/skylake
|
|||||||
# Send an extra VR mailbox command for the PS4 exit issue
|
# Send an extra VR mailbox command for the PS4 exit issue
|
||||||
register "SendVrMbxCmd" = "2"
|
register "SendVrMbxCmd" = "2"
|
||||||
|
|
||||||
# Enable SATA ports 1,2
|
|
||||||
register "SataPortsEnable[0]" = "1"
|
|
||||||
register "SataPortsEnable[1]" = "1"
|
|
||||||
|
|
||||||
# Enable Root ports. 1-6 for LAN and Root Port 9
|
# Enable Root ports. 1-6 for LAN and Root Port 9
|
||||||
register "PcieRpEnable[0]" = "1"
|
register "PcieRpEnable[0]" = "1"
|
||||||
register "PcieRpEnable[1]" = "1"
|
register "PcieRpEnable[1]" = "1"
|
||||||
@@ -183,7 +179,12 @@ chip soc/intel/skylake
|
|||||||
}"
|
}"
|
||||||
end
|
end
|
||||||
device ref heci1 on end
|
device ref heci1 on end
|
||||||
device ref sata on end
|
device ref sata on
|
||||||
|
register "SataPortsEnable" = "{
|
||||||
|
[0] = 1,
|
||||||
|
[1] = 1,
|
||||||
|
}"
|
||||||
|
end
|
||||||
device ref pcie_rp1 on end
|
device ref pcie_rp1 on end
|
||||||
device ref pcie_rp2 on end
|
device ref pcie_rp2 on end
|
||||||
device ref pcie_rp3 on end
|
device ref pcie_rp3 on end
|
||||||
|
@@ -38,8 +38,6 @@ chip soc/intel/skylake
|
|||||||
register "dptf_enable" = "0"
|
register "dptf_enable" = "0"
|
||||||
|
|
||||||
# FSP Configuration
|
# FSP Configuration
|
||||||
register "SataPortsEnable[0]" = "1"
|
|
||||||
register "SataPortsEnable[2]" = "1"
|
|
||||||
register "DspEnable" = "0"
|
register "DspEnable" = "0"
|
||||||
register "IoBufferOwnership" = "0"
|
register "IoBufferOwnership" = "0"
|
||||||
register "SkipExtGfxScan" = "1"
|
register "SkipExtGfxScan" = "1"
|
||||||
@@ -146,7 +144,12 @@ chip soc/intel/skylake
|
|||||||
device ref south_xhci on end
|
device ref south_xhci on end
|
||||||
device ref south_xdci on end
|
device ref south_xdci on end
|
||||||
device ref thermal on end
|
device ref thermal on end
|
||||||
device ref sata on end
|
device ref sata on
|
||||||
|
register "SataPortsEnable" = "{
|
||||||
|
[0] = 1,
|
||||||
|
[2] = 1,
|
||||||
|
}"
|
||||||
|
end
|
||||||
device ref pcie_rp5 on end
|
device ref pcie_rp5 on end
|
||||||
device ref pcie_rp9 on end
|
device ref pcie_rp9 on end
|
||||||
device ref lpc_espi on
|
device ref lpc_espi on
|
||||||
|
@@ -3,18 +3,6 @@ chip soc/intel/skylake
|
|||||||
# FSP Configuration
|
# FSP Configuration
|
||||||
register "SkipExtGfxScan" = "1"
|
register "SkipExtGfxScan" = "1"
|
||||||
|
|
||||||
# SATA configuration
|
|
||||||
register "SataSalpSupport" = "1"
|
|
||||||
register "SataPortsEnable" = "{
|
|
||||||
[0] = 1,
|
|
||||||
[1] = 1,
|
|
||||||
[2] = 1,
|
|
||||||
[3] = 1,
|
|
||||||
[4] = 1,
|
|
||||||
[5] = 1,
|
|
||||||
[6] = 1,
|
|
||||||
[7] = 1,
|
|
||||||
}"
|
|
||||||
|
|
||||||
# LPC
|
# LPC
|
||||||
register "serirq_mode" = "SERIRQ_CONTINUOUS"
|
register "serirq_mode" = "SERIRQ_CONTINUOUS"
|
||||||
@@ -31,7 +19,19 @@ chip soc/intel/skylake
|
|||||||
device ref south_xhci on end
|
device ref south_xhci on end
|
||||||
device ref thermal on end
|
device ref thermal on end
|
||||||
device ref heci1 on end
|
device ref heci1 on end
|
||||||
device ref sata on end
|
device ref sata on
|
||||||
|
register "SataSalpSupport" = "1"
|
||||||
|
register "SataPortsEnable" = "{
|
||||||
|
[0] = 1,
|
||||||
|
[1] = 1,
|
||||||
|
[2] = 1,
|
||||||
|
[3] = 1,
|
||||||
|
[4] = 1,
|
||||||
|
[5] = 1,
|
||||||
|
[6] = 1,
|
||||||
|
[7] = 1,
|
||||||
|
}"
|
||||||
|
end
|
||||||
device ref lpc_espi on
|
device ref lpc_espi on
|
||||||
chip superio/common
|
chip superio/common
|
||||||
device pnp 2e.0 on end
|
device pnp 2e.0 on end
|
||||||
|
Reference in New Issue
Block a user