diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-10-10 22:47:37 (EDT) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-10-10 22:47:37 (EDT) |
commit | 27a813cac18c122d092ad93689c61099f3f52fd5 (patch) | |
tree | b0462a1bd550a41770cd584032c8a7c010e78f56 /resources/libreboot/patch/r500/0007-mainboard-lenovo-r500-romstage.c-use-correct-RCBA-va.patch | |
parent | 0822755786a7f97faef9b2c8a10ff92f380f69d9 (diff) | |
download | libreboot-27a813cac18c122d092ad93689c61099f3f52fd5.zip libreboot-27a813cac18c122d092ad93689c61099f3f52fd5.tar.gz libreboot-27a813cac18c122d092ad93689c61099f3f52fd5.tar.bz2 |
Add patches for R500 (will finish later, and upstream them)
Diffstat (limited to 'resources/libreboot/patch/r500/0007-mainboard-lenovo-r500-romstage.c-use-correct-RCBA-va.patch')
-rw-r--r-- | resources/libreboot/patch/r500/0007-mainboard-lenovo-r500-romstage.c-use-correct-RCBA-va.patch | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/resources/libreboot/patch/r500/0007-mainboard-lenovo-r500-romstage.c-use-correct-RCBA-va.patch b/resources/libreboot/patch/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/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 + |