summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-10-11 19:04:18 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2014-10-11 19:04:18 (EDT)
commit3583782270e2fd31ac674e5b602d5522657e00a0 (patch)
tree0c77ffabe67d5a8d99e2a84372ff2d2230085183
parent893e35af21a5113164f462772cc6b9c64cff37bb (diff)
downloadlibreboot-3583782270e2fd31ac674e5b602d5522657e00a0.zip
libreboot-3583782270e2fd31ac674e5b602d5522657e00a0.tar.gz
libreboot-3583782270e2fd31ac674e5b602d5522657e00a0.tar.bz2
T60: fix compilation
-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