aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-02-15 23:42:43 +0100
committerVladimir Serbinenko <phcoder@gmail.com>2014-02-16 00:58:33 +0100
commit7b54ca228e99c4ae86e74c33715cc33fc283d346 (patch)
tree405e2fe5a67b31a34dd10ba003044f18d4a9a011
parentffa839d3106e316cfe0c75539efbc8009c5cf2fe (diff)
lenovo/x60: Fix EDID byte-swapping.
Change-Id: I75305ff7c5a8ba6142ef460e813acc014d9992bb Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/5249 Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Tested-by: build bot (Jenkins)
-rw-r--r--src/mainboard/lenovo/x60/i915.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mainboard/lenovo/x60/i915.c b/src/mainboard/lenovo/x60/i915.c
index ea01ef1380..b8b2b39027 100644
--- a/src/mainboard/lenovo/x60/i915.c
+++ b/src/mainboard/lenovo/x60/i915.c
@@ -64,15 +64,15 @@ static unsigned int physbase;
static u32 htotal, hblank, hsync, vtotal, vblank, vsync;
-const u32 x60_edid_data[] = {
- 0x00ffffff, 0xffffff00, 0x30ae0040, 0x00000000,
- 0x000f0103, 0x80191278, 0xeaed7591, 0x574f8b26,
- 0x21505421, 0x08000101, 0x01010101, 0x01010101,
- 0x01010101, 0x01012815, 0x00404100, 0x26301888,
- 0x3600f6b9, 0x00000018, 0xed100040, 0x41002630,
- 0x18883600, 0xf6b90000, 0x00180000, 0x000f0061,
- 0x43326143, 0x280f0100, 0x4ca3584a, 0x000000fe,
- 0x004c544e, 0x31323158, 0x4a2d4c30, 0x370a0000,
+const u8 x60_edid_data[] = {
+ 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x30, 0xae, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x0f, 0x01, 0x03, 0x80, 0x19, 0x12, 0x78, 0xea, 0xed, 0x75, 0x91, 0x57, 0x4f, 0x8b, 0x26,
+ 0x21, 0x50, 0x54, 0x21, 0x08, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
+ 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x28, 0x15, 0x00, 0x40, 0x41, 0x00, 0x26, 0x30, 0x18, 0x88,
+ 0x36, 0x00, 0xf6, 0xb9, 0x00, 0x00, 0x00, 0x18, 0xed, 0x10, 0x00, 0x40, 0x41, 0x00, 0x26, 0x30,
+ 0x18, 0x88, 0x36, 0x00, 0xf6, 0xb9, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x61,
+ 0x43, 0x32, 0x61, 0x43, 0x28, 0x0f, 0x01, 0x00, 0x4c, 0xa3, 0x58, 0x4a, 0x00, 0x00, 0x00, 0xfe,
+ 0x00, 0x4c, 0x54, 0x4e, 0x31, 0x32, 0x31, 0x58, 0x4a, 0x2d, 0x4c, 0x30, 0x37, 0x0a, 0x00, 0x00,
};
#define READ32(addr) io_i915_READ32(addr)
#define WRITE32(val, addr) io_i915_WRITE32(val, addr)