summaryrefslogtreecommitdiff
path: root/post
diff options
context:
space:
mode:
authorwdenk <wdenk>2002-12-03 21:28:10 +0000
committerwdenk <wdenk>2002-12-03 21:28:10 +0000
commita6c7ad2f65afaa717ba19cbf9d8d138b5f10ccf9 (patch)
tree45512cd627310dd322ea38fc9f63109560276475 /post
parentea909b7604306a400ee3abf57e2fa7b2dde5dde1 (diff)
* Fix startup problems with VFD display on TRABLABEL_2002_12_03_2230
* Patch by Pierre Aubert, 20 Nov 2002 Add driver for Epson SED13806 graphic controller. Add support for BMP logos in cfb_console driver.
Diffstat (limited to 'post')
-rw-r--r--post/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/post/memory.c b/post/memory.c
index 7d55a6d5cee..6884abdb18f 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);