From a6c7ad2f65afaa717ba19cbf9d8d138b5f10ccf9 Mon Sep 17 00:00:00 2001 From: wdenk Date: Tue, 3 Dec 2002 21:28:10 +0000 Subject: * Fix startup problems with VFD display on TRAB * Patch by Pierre Aubert, 20 Nov 2002 Add driver for Epson SED13806 graphic controller. Add support for BMP logos in cfb_console driver. --- post/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'post') diff --git a/post/memory.c b/post/memory.c index 7d55a6d..6884abd 100644 --- a/post/memory.c +++ b/post/memory.c @@ -266,7 +266,7 @@ static int memory_post_addrline(ulong *testaddr, ulong *base, ulong size) ulong xor; int ret = 0; - end = base + size; + end = (ulong *)((ulong)base + size); /* pointer arith! */ xor = 0; for(xor = sizeof(ulong); xor > 0; xor <<= 1) { target = (ulong *)((ulong)testaddr ^ xor); -- cgit v1.1