summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2024-02-16 20:22:39 -0600
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2024-02-18 05:34:07 +0000
commit29f7c4f0a6ee00b743c5e1c5ad66753109d1dede (patch)
tree6be4545e3e08478a9ca0b10bd9e5b1eda1c71bc9
parent3d638a19fd84480056d7e8140f71002f3fc208a3 (diff)
mb/purism_librem_cnl/var/*: Drop redundant entries in overridetrees
Now that the baseboard uses chipset devicetree references, remove all references whose value is identical to the chipset devicetree default or the baseboard default, since they are pointless clutter. TEST=build/boot purism/librem_cnl (Mini v2), verify output of lspci and lsusb unchanged before and after patch. Change-Id: I12498e7261dafd7ee59fe79926532399392d1b09 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/80600 Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Martin L Roth <gaumless@gmail.com> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/purism/librem_cnl/variants/librem_14/overridetree.cb28
-rw-r--r--src/mainboard/purism/librem_cnl/variants/librem_mini/overridetree.cb12
2 files changed, 0 insertions, 40 deletions
diff --git a/src/mainboard/purism/librem_cnl/variants/librem_14/overridetree.cb b/src/mainboard/purism/librem_cnl/variants/librem_14/overridetree.cb
index b3fd862b52..f522e66723 100644
--- a/src/mainboard/purism/librem_cnl/variants/librem_14/overridetree.cb
+++ b/src/mainboard/purism/librem_cnl/variants/librem_14/overridetree.cb
@@ -55,21 +55,6 @@ chip soc/intel/cannonlake
device usb 2.2 on end
end
chip drivers/usb/acpi
- device usb 2.3 off end
- end
- chip drivers/usb/acpi
- device usb 2.4 off end
- end
- chip drivers/usb/acpi
- device usb 2.5 off end
- end
- chip drivers/usb/acpi
- register "desc" = ""Left Type-A Port""
- register "type" = "UPC_TYPE_A"
- register "group" = "ACPI_PLD_GROUP(1, 0)"
- device usb 2.6 off end
- end
- chip drivers/usb/acpi
register "desc" = ""Right Type-C Port""
register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
register "group" = "ACPI_PLD_GROUP(0, 1)"
@@ -82,9 +67,6 @@ chip soc/intel/cannonlake
device usb 2.8 on end
end
chip drivers/usb/acpi
- device usb 2.9 off end
- end
- chip drivers/usb/acpi
register "desc" = ""Right Type-A Port""
register "type" = "UPC_TYPE_A"
register "group" = "ACPI_PLD_GROUP(0, 0)"
@@ -97,15 +79,6 @@ chip soc/intel/cannonlake
device usb 3.1 on end
end
chip drivers/usb/acpi
- register "desc" = ""Right Type-C Port""
- register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
- register "group" = "ACPI_PLD_GROUP(0, 1)"
- device usb 3.2 off end
- end
- chip drivers/usb/acpi
- device usb 3.3 off end
- end
- chip drivers/usb/acpi
register "desc" = ""Left Type-C Port""
register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
register "group" = "ACPI_PLD_GROUP(1, 1)"
@@ -131,7 +104,6 @@ chip soc/intel/cannonlake
register "usb3_ports[4]" = "USB3_PORT_DEFAULT(OC2)" # Type-C left
register "usb3_ports[5]" = "USB3_PORT_DEFAULT(OC_SKIP)" # Card Reader
end
- device ref xdci off end
device ref i2c0 on
chip drivers/i2c/hid
register "generic.hid" = ""HTIX5288""
diff --git a/src/mainboard/purism/librem_cnl/variants/librem_mini/overridetree.cb b/src/mainboard/purism/librem_cnl/variants/librem_mini/overridetree.cb
index f9baef2bf4..d2f1a835c6 100644
--- a/src/mainboard/purism/librem_cnl/variants/librem_mini/overridetree.cb
+++ b/src/mainboard/purism/librem_cnl/variants/librem_mini/overridetree.cb
@@ -60,15 +60,6 @@ chip soc/intel/cannonlake
device usb 2.5 on end
end
chip drivers/usb/acpi
- device usb 2.6 off end
- end
- chip drivers/usb/acpi
- device usb 2.7 off end
- end
- chip drivers/usb/acpi
- device usb 2.8 off end
- end
- chip drivers/usb/acpi
register "desc" = ""USB2 Type-A Rear Lower""
register "type" = "UPC_TYPE_A"
register "group" = "ACPI_PLD_GROUP(1, 1)"
@@ -87,9 +78,6 @@ chip soc/intel/cannonlake
device usb 3.1 on end
end
chip drivers/usb/acpi
- device usb 3.2 off end
- end
- chip drivers/usb/acpi
register "desc" = ""USB3 Type-C Rear""
register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
register "group" = "ACPI_PLD_GROUP(1, 2)"