summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgetcb5
-rw-r--r--resources/libreboot/patch/t60_6731buildfix.diff12
2 files changed, 16 insertions, 1 deletions
diff --git a/getcb b/getcb
index edeb4c3..04b4a01 100755
--- a/getcb
+++ b/getcb
@@ -73,7 +73,10 @@ git fetch http://review.coreboot.org/coreboot refs/changes/49/7049/1 && git cher
# Apply necessary patches (from resources/libreboot/patch/)
# ---------------------------------------------------------------------------------
-# no diffs needed at the moment
+# T60: fix compilation when using 6731 from review.coreboot.org
+git apply ../resources/libreboot/patch/t60_6731buildfix.diff
+## 6731 is abandoned and there's no point putting this in coreboot gerrit.
+## there is no harm in it being a diff
# Run coreboot-libre deblob scripts
# ---------------------------------------------------------------------------------
diff --git a/resources/libreboot/patch/t60_6731buildfix.diff b/resources/libreboot/patch/t60_6731buildfix.diff
new file mode 100644
index 0000000..4e36a6c
--- /dev/null
+++ b/resources/libreboot/patch/t60_6731buildfix.diff
@@ -0,0 +1,12 @@
+diff --git a/src/mainboard/lenovo/t60/devicetree.cb b/src/mainboard/lenovo/t60/devicetree.cb
+index 54b7da3..f187bfb 100644
+--- a/src/mainboard/lenovo/t60/devicetree.cb
++++ b/src/mainboard/lenovo/t60/devicetree.cb
+@@ -25,7 +25,6 @@ chip northbridge/intel/i945
+ register "gpu_hotplug" = "0x00000220"
+ register "gpu_lvds_use_spread_spectrum_clock" = "1"
+ register "gpu_lvds_is_dual_channel" = "1"
+- register "gpu_backlight" = "0x1280128"
+
+ device cpu_cluster 0 on
+ chip cpu/intel/socket_mFCPGA478