summaryrefslogtreecommitdiffstats
path: root/resources/libreboot/patch/r500/0007-mainboard-lenovo-r500-romstage.c-use-correct-RCBA-va.patch
blob: f2127e8631e19df1dfce741f4eb9598257f13055 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
From 5d8a06db8ac4a3abaff79f75fd41987db6c4c675 Mon Sep 17 00:00:00 2001
From: Leah Woods <info@minifree.org>
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: Leah Woods <info@minifree.org>
---
 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