summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-06-15 19:35:03 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-06-17 17:03:05 +0000
commit0197edfc5da2ab0e602691ce08b23fd4b2a53e99 (patch)
treef07d2e10371fbda4fdc9701cec9bfa5f41cd1fda /src
parent2b45ba089bb5ee5f15fe3869b0ce40cd8216401b (diff)
mb/lenovo/x230: Fix overridetrees not overriding
Any chip entry without a device node below them are silently dropped by sconfig. Copy the same device node from the devicetree to prevent this. Change-Id: I778f6b2d980e78142ae12ef941e7d9bd1f753057 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55540 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/lenovo/x230/variants/x230/overridetree.cb1
-rw-r--r--src/mainboard/lenovo/x230/variants/x230s/overridetree.cb1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/x230/variants/x230/overridetree.cb b/src/mainboard/lenovo/x230/variants/x230/overridetree.cb
index 97e48b8c2a..978d0171f6 100644
--- a/src/mainboard/lenovo/x230/variants/x230/overridetree.cb
+++ b/src/mainboard/lenovo/x230/variants/x230/overridetree.cb
@@ -9,6 +9,7 @@ chip northbridge/intel/sandybridge
device pci 1f.0 on # LPC bridge
chip ec/lenovo/h8
register "eventa_enable" = "0x01"
+ device pnp ff.2 on end
end
end # LPC Controller
end
diff --git a/src/mainboard/lenovo/x230/variants/x230s/overridetree.cb b/src/mainboard/lenovo/x230/variants/x230s/overridetree.cb
index b2d0cf20a5..1c0efd346b 100644
--- a/src/mainboard/lenovo/x230/variants/x230s/overridetree.cb
+++ b/src/mainboard/lenovo/x230/variants/x230s/overridetree.cb
@@ -26,6 +26,7 @@ chip northbridge/intel/sandybridge
register "evente_enable" = "0x1d"
# X230s only has BT on wlan card
register "has_bdc_detection" = "0"
+ device pnp ff.2 on end
end
end # LPC Controller
end