summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2020-09-04 09:19:18 +0000
committerMichael Niewöhner <c0d3z3r0@review.coreboot.org>2020-09-07 12:31:52 +0000
commit63b9e791bc2462009394625a84b889dacd60e4c0 (patch)
tree1721a9b9a54ed2ee834045b57f09892537749732
parent23cf3391ed4c8882f86b465c6f9cf25fdf79ab03 (diff)
downloadcoreboot-63b9e791bc2462009394625a84b889dacd60e4c0.tar.xz
mb/system76/lemp9: Move SATA options into devicetree
Change-Id: Idf64d98b36ca95a8bc17a6544993c26e23851cd8 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45107 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner
-rw-r--r--src/mainboard/system76/lemp9/devicetree.cb14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/mainboard/system76/lemp9/devicetree.cb b/src/mainboard/system76/lemp9/devicetree.cb
index dc2a9fe722..f0cee063e7 100644
--- a/src/mainboard/system76/lemp9/devicetree.cb
+++ b/src/mainboard/system76/lemp9/devicetree.cb
@@ -45,13 +45,6 @@ chip soc/intel/cannonlake
[PchSerialIoIndexI2C0] = PchSerialIoPci, // Touchpad
}"
- # SATA
- register "SataMode" = "Sata_AHCI"
- register "SataSalpSupport" = "0"
-
- register "SataPortsEnable[1]" = "1"
- register "SataPortsEnable[2]" = "1"
-
# Audio
register "PchHdaDspEnable" = "0"
register "PchHdaAudioLinkHda" = "1"
@@ -181,7 +174,12 @@ chip soc/intel/cannonlake
device pci 16.3 off end # Management Engine KT Redirection
device pci 16.4 off end # Management Engine Interface 3
device pci 16.5 off end # Management Engine Interface 4
- device pci 17.0 on end # SATA
+ device pci 17.0 on # SATA
+ register "SataMode" = "Sata_AHCI"
+ register "SataSalpSupport" = "0"
+ register "SataPortsEnable[1]" = "1"
+ register "SataPortsEnable[2]" = "1"
+ end
device pci 19.0 off end # I2C #4
device pci 19.1 off end # I2C #5
device pci 19.2 on end # UART #2