[coreboot-gerrit] Change in coreboot[master]: stoney mainboards: Set IDE & SATA values in devicetree

Martin Roth (Code Review) gerrit at coreboot.org
Mon Oct 16 19:48:00 CEST 2017


Martin Roth has uploaded this change for review. ( https://review.coreboot.org/22051


Change subject: stoney mainboards: Set IDE & SATA values in devicetree
......................................................................

stoney mainboards: Set IDE & SATA values in devicetree

BUG=b:67209686
TEST=build

Change-Id: Ie1ae377df0c5f157ad559d1732e8c03318c20fd7
Signed-off-by: Martin Roth <martinroth at google.com>
---
M src/mainboard/amd/gardenia/devicetree.cb
M src/mainboard/google/kahlee/devicetree.cb
2 files changed, 10 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/51/22051/1

diff --git a/src/mainboard/amd/gardenia/devicetree.cb b/src/mainboard/amd/gardenia/devicetree.cb
index bb672b2..63e7955 100644
--- a/src/mainboard/amd/gardenia/devicetree.cb
+++ b/src/mainboard/amd/gardenia/devicetree.cb
@@ -14,6 +14,11 @@
 #
 chip soc/amd/stoneyridge
 
+	register "SataEnable" = "CONFIG_STONEYRIDGE_SATA_MODE == 0 ||
+					CONFIG_STONEYRIDGE_SATA_MODE == 2"
+	register "IdeEnable" = "CONFIG_STONEYRIDGE_SATA_MODE == 0 ||
+					CONFIG_STONEYRIDGE_SATA_MODE == 3"
+
 	register "spdAddrLookup" = "
 	{
 		{ {0xA2, 0x00} }, // socket 0 - Channel 0, slots 0 & 1
diff --git a/src/mainboard/google/kahlee/devicetree.cb b/src/mainboard/google/kahlee/devicetree.cb
index 0ed3336..097324c 100644
--- a/src/mainboard/google/kahlee/devicetree.cb
+++ b/src/mainboard/google/kahlee/devicetree.cb
@@ -14,6 +14,11 @@
 #
 chip soc/amd/stoneyridge
 
+	register "SataEnable" = "CONFIG_STONEYRIDGE_SATA_MODE == 0 ||
+					CONFIG_STONEYRIDGE_SATA_MODE == 2"
+	register "IdeEnable" = "CONFIG_STONEYRIDGE_SATA_MODE == 0 ||
+					CONFIG_STONEYRIDGE_SATA_MODE == 3"
+
 	register "spdAddrLookup" = "
 	{
 		{ {0xA0, 0x00} }, // socket 0 - Channel 0, slot 0

-- 
To view, visit https://review.coreboot.org/22051
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie1ae377df0c5f157ad559d1732e8c03318c20fd7
Gerrit-Change-Number: 22051
Gerrit-PatchSet: 1
Gerrit-Owner: Martin Roth <martinroth at google.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20171016/8cdc5ae1/attachment-0001.html>


More information about the coreboot-gerrit mailing list