aboutsummaryrefslogtreecommitdiff
path: root/resources/libreboot/patch/0022-New-mainboard-Lenovo-T500.patch
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-05-11 20:39:41 +0100
committerFrancis Rowe <info@gluglug.org.uk>2015-05-11 20:39:41 +0100
commit99acc1a92ca50b861da4406f0e8dd6c8af4c7e62 (patch)
treeec3774a9bced18f0a68883b150dce1872c87c5cf /resources/libreboot/patch/0022-New-mainboard-Lenovo-T500.patch
parentdc322fb4521a4088c3f5ec41825c2508740ef8c1 (diff)
downloadlibrebootfr-99acc1a92ca50b861da4406f0e8dd6c8af4c7e62.tar.gz
librebootfr-99acc1a92ca50b861da4406f0e8dd6c8af4c7e62.zip
scripts/download/coreboot: use diffs, not gerrit
Solves the problem where coreboot.org down down makes libreboot.git useless. Now if coreboot.org goes down, you can just use a backup coreboot repository and then run the script.
Diffstat (limited to 'resources/libreboot/patch/0022-New-mainboard-Lenovo-T500.patch')
-rw-r--r--resources/libreboot/patch/0022-New-mainboard-Lenovo-T500.patch81
1 files changed, 81 insertions, 0 deletions
diff --git a/resources/libreboot/patch/0022-New-mainboard-Lenovo-T500.patch b/resources/libreboot/patch/0022-New-mainboard-Lenovo-T500.patch
new file mode 100644
index 00000000..96e2b4aa
--- /dev/null
+++ b/resources/libreboot/patch/0022-New-mainboard-Lenovo-T500.patch
@@ -0,0 +1,81 @@
+From 0413e35202f8336418fd9bdd19eb6e9e599f9dfc Mon Sep 17 00:00:00 2001
+From: Francis Rowe <info@gluglug.org.uk>
+Date: Tue, 31 Mar 2015 22:51:22 +0100
+Subject: [PATCH 22/22] New mainboard: Lenovo T500
+
+Clone of Lenovo T400. It works/boots, but needs
+more testing.
+
+Change-Id: I7ace604ca7fede44ce78277561d31e3083fc6c8c
+Signed-off-by: Francis Rowe <info@gluglug.org.uk>
+---
+ src/mainboard/lenovo/Kconfig | 6 ++++++
+ src/mainboard/lenovo/t400/Kconfig | 2 +-
+ src/mainboard/lenovo/t500/Kconfig | 7 +++++++
+ src/mainboard/lenovo/t500/board_info.txt | 6 ++++++
+ 4 files changed, 20 insertions(+), 1 deletion(-)
+ create mode 100644 src/mainboard/lenovo/t500/Kconfig
+ create mode 100644 src/mainboard/lenovo/t500/board_info.txt
+
+diff --git a/src/mainboard/lenovo/Kconfig b/src/mainboard/lenovo/Kconfig
+index 4fc56cd..3dee443 100644
+--- a/src/mainboard/lenovo/Kconfig
++++ b/src/mainboard/lenovo/Kconfig
+@@ -47,6 +47,11 @@ config BOARD_LENOVO_T430S
+ help
+ Lenovo T430s laptop. Consult wiki for details.
+
++config BOARD_LENOVO_T500
++ bool "ThinkPad T500"
++ help
++ Lenovo T500 laptop. Consult wiki for details.
++
+ config BOARD_LENOVO_T520
+ bool "ThinkPad T520"
+ help
+@@ -85,6 +90,7 @@ source "src/mainboard/lenovo/x230/Kconfig"
+ source "src/mainboard/lenovo/t400/Kconfig"
+ source "src/mainboard/lenovo/t420s/Kconfig"
+ source "src/mainboard/lenovo/t430s/Kconfig"
++source "src/mainboard/lenovo/t500/Kconfig"
+ source "src/mainboard/lenovo/t520/Kconfig"
+ source "src/mainboard/lenovo/t530/Kconfig"
+ source "src/mainboard/lenovo/t60/Kconfig"
+diff --git a/src/mainboard/lenovo/t400/Kconfig b/src/mainboard/lenovo/t400/Kconfig
+index 719f6e4..9afb8ce 100644
+--- a/src/mainboard/lenovo/t400/Kconfig
++++ b/src/mainboard/lenovo/t400/Kconfig
+@@ -1,4 +1,4 @@
+-if BOARD_LENOVO_T400 || BOARD_LENOVO_R400
++if BOARD_LENOVO_T400 || BOARD_LENOVO_R400 || BOARD_LENOVO_T500
+
+ config BOARD_SPECIFIC_OPTIONS # dummy
+ def_bool y
+diff --git a/src/mainboard/lenovo/t500/Kconfig b/src/mainboard/lenovo/t500/Kconfig
+new file mode 100644
+index 0000000..e1e8420
+--- /dev/null
++++ b/src/mainboard/lenovo/t500/Kconfig
+@@ -0,0 +1,7 @@
++if BOARD_LENOVO_T500
++
++config MAINBOARD_PART_NUMBER
++ string
++ default "ThinkPad T500"
++
++endif
+diff --git a/src/mainboard/lenovo/t500/board_info.txt b/src/mainboard/lenovo/t500/board_info.txt
+new file mode 100644
+index 0000000..007ec6c
+--- /dev/null
++++ b/src/mainboard/lenovo/t500/board_info.txt
+@@ -0,0 +1,6 @@
++Category: laptop
++ROM package: SOIC-16 or SOIC-8
++ROM protocol: SPI
++ROM socketed: n
++Flashrom support: n
++Clone of: lenovo/t400
+--
+1.9.1
+