summaryrefslogtreecommitdiffstats
path: root/resources/libreboot/patch/unused/r500/0007-mainboard-lenovo-r500-romstage.c-use-correct-RCBA-va.patch
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2016-01-02 17:10:32 (EST)
committer Francis Rowe <info@gluglug.org.uk>2016-01-04 15:28:39 (EST)
commitd1f408f3725aa02bc1d76c4c6aadb4697bd073c0 (patch)
tree7eed036543ae1f8c57b56825880a722a8efbedf1 /resources/libreboot/patch/unused/r500/0007-mainboard-lenovo-r500-romstage.c-use-correct-RCBA-va.patch
parent91aec7e72005dcda72d19f2d024a02d8c0f86590 (diff)
downloadlibreboot-d1f408f3725aa02bc1d76c4c6aadb4697bd073c0.zip
libreboot-d1f408f3725aa02bc1d76c4c6aadb4697bd073c0.tar.gz
libreboot-d1f408f3725aa02bc1d76c4c6aadb4697bd073c0.tar.bz2
Use different coreboot revisions and patches per board
The release archives will be bigger, but this is a necessary change that makes libreboot development easier. At present, there are boards maintained in libreboot by different people. By doing it this way, that becomes much easier. This is in contrast to the present situation, where a change to one board potentially affects all other boards, especially when updating to a new version of coreboot. Coreboot-libre scripts, download scripts, build scripts - everything. The entire build system has been modified to reflect this change of development. For reasons of consistency, cbfstool and nvramtool are no longer included in the util archives.
Diffstat (limited to 'resources/libreboot/patch/unused/r500/0007-mainboard-lenovo-r500-romstage.c-use-correct-RCBA-va.patch')
-rw-r--r--resources/libreboot/patch/unused/r500/0007-mainboard-lenovo-r500-romstage.c-use-correct-RCBA-va.patch71
1 files changed, 71 insertions, 0 deletions
diff --git a/resources/libreboot/patch/unused/r500/0007-mainboard-lenovo-r500-romstage.c-use-correct-RCBA-va.patch b/resources/libreboot/patch/unused/r500/0007-mainboard-lenovo-r500-romstage.c-use-correct-RCBA-va.patch
new file mode 100644
index 0000000..be6575c
--- /dev/null
+++ b/resources/libreboot/patch/unused/r500/0007-mainboard-lenovo-r500-romstage.c-use-correct-RCBA-va.patch
@@ -0,0 +1,71 @@
+From 5d8a06db8ac4a3abaff79f75fd41987db6c4c675 Mon Sep 17 00:00:00 2001
+From: Francis Rowe <info@gluglug.org.uk>
+Date: Wed, 5 Aug 2015 20:21:47 +0100
+Subject: [PATCH 7/7] mainboard/lenovo/r500 romstage.c: use correct RCBA values
+
+Change-Id: I928fd59426f4716d00add1b0c73ade1952aaaeac
+Signed-off-by: Francis Rowe <info@gluglug.org.uk>
+---
+ src/mainboard/lenovo/r500/romstage.c | 42 ++++++++++++++++++------------------
+ 1 file changed, 21 insertions(+), 21 deletions(-)
+
+diff --git a/src/mainboard/lenovo/r500/romstage.c b/src/mainboard/lenovo/r500/romstage.c
+index c29d661..937dfbc 100644
+--- a/src/mainboard/lenovo/r500/romstage.c
++++ b/src/mainboard/lenovo/r500/romstage.c
+@@ -141,31 +141,31 @@ void main(unsigned long bist)
+ RCBA32(0x3414) &= ~0x20;
+
+ RCBA32(0x0238) = 0x00543210;
+- RCBA32(0x0240) = 0x009c0b02;
+- RCBA32(0x0244) = 0x00a20b1a;
+- RCBA32(0x0248) = 0x005402cb;
+- RCBA32(0x0254) = 0x00470966;
+- RCBA32(0x0258) = 0x00470473;
+- RCBA32(0x0260) = 0x00e90825;
+- RCBA32(0x0278) = 0x00bc0efb;
+- RCBA32(0x027c) = 0x00c00f0b;
+- RCBA32(0x0280) = 0x00670000;
+- RCBA32(0x0284) = 0x006d0000;
+- RCBA32(0x0288) = 0x00600b4e;
++ RCBA32(0x0240) = 0x00380d2b;
++ RCBA32(0x0244) = 0x003e0d43;
++ RCBA32(0x0248) = 0x002c0839;
++ RCBA32(0x0254) = 0x00330c70;
++ RCBA32(0x0258) = 0x00330f19;
++ RCBA32(0x0260) = 0x00d105bb;
++ RCBA32(0x0278) = 0x00bc084a;
++ RCBA32(0x027c) = 0x00c0085a;
++ RCBA32(0x0280) = 0x007e0000;
++ RCBA32(0x0284) = 0x00840000;
++ RCBA32(0x0288) = 0x00f30d7c;
+ RCBA32(0x1e10) = 0x00020800;
+- RCBA32(0x1e18) = 0x36ea00a0;
++ RCBA32(0x1e18) = 0x01fb0063;
+ RCBA32(0x1e80) = 0x000c0801;
+ RCBA32(0x1e84) = 0x000200f0;
+- RCBA32(0x2028) = 0x04c8f95e;
+- RCBA32(0x202c) = 0x055c095e;
+- RCBA32(0x204c) = 0x001ffc00;
+- RCBA32(0x2050) = 0x00100fff;
+- RCBA32(0x2090) = 0x37000000;
+- RCBA32(0x20b0) = 0x0c000000;
+- RCBA32(0x20d0) = 0x09000000;
+- RCBA32(0x20f0) = 0x05000000;
++ RCBA32(0x2028) = 0x04c8ffbb;
++ RCBA32(0x202c) = 0x09a10fbb;
++ RCBA32(0x204c) = 0x00890000;
++ RCBA32(0x2050) = 0x008f0000;
++ RCBA32(0x2090) = 0x08000000;
++ RCBA32(0x20b0) = 0x3f000000;
++ RCBA32(0x20d0) = 0x01000000;
++ RCBA32(0x20f0) = 0x03000000;
+ RCBA32(0x3400) = 0x0000001c;
+- RCBA32(0x3410) = 0x00100461;
++ RCBA32(0x3410) = 0x00250461;
+ RCBA32(0x3414) = 0x00000000;
+ RCBA32(0x341c) = 0xbf4f001f;
+ RCBA32(0x3420) = 0x00000000;
+--
+1.9.1
+