summaryrefslogtreecommitdiff
path: root/post/memory.c
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/memory.c
parentea909b7604306a400ee3abf57e2fa7b2dde5dde1 (diff)
downloadu-boot-imx-a6c7ad2f65afaa717ba19cbf9d8d138b5f10ccf9.zip
u-boot-imx-a6c7ad2f65afaa717ba19cbf9d8d138b5f10ccf9.tar.gz
u-boot-imx-a6c7ad2f65afaa717ba19cbf9d8d138b5f10ccf9.tar.bz2
* 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.
Diffstat (limited to 'post/memory.c')
-rw-r--r--post/memory.c2
1 files changed, 1 insertions, 1 deletions
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);