summaryrefslogtreecommitdiff
path: root/board/trab/memory.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-06-26 10:54:52 +0200
committerWolfgang Denk <wd@pollux.denx.de>2006-06-26 10:54:52 +0200
commita63c31cff5147f1eca19d884ee120005775fbffc (patch)
tree4751f225cdf5b3b17474a612ae4cee41cc755328 /board/trab/memory.c
parentf73e73ba0e422e6f79030d77286dd57becaee16f (diff)
downloadu-boot-imx-a63c31cff5147f1eca19d884ee120005775fbffc.zip
u-boot-imx-a63c31cff5147f1eca19d884ee120005775fbffc.tar.gz
u-boot-imx-a63c31cff5147f1eca19d884ee120005775fbffc.tar.bz2
Cleanup trab board for GCC-4.x
Diffstat (limited to 'board/trab/memory.c')
-rw-r--r--board/trab/memory.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/board/trab/memory.c b/board/trab/memory.c
index 4097892..58bd995 100644
--- a/board/trab/memory.c
+++ b/board/trab/memory.c
@@ -419,14 +419,14 @@ int memory_post_tests (unsigned long start, unsigned long size)
int ret = 0;
if (ret == 0)
- ret = memory_post_dataline ((long long *)start);
+ ret = memory_post_dataline ((unsigned long long *)start);
WATCHDOG_RESET ();
if (ret == 0)
- ret = memory_post_addrline ((long *)start, (long *)start, size);
+ ret = memory_post_addrline ((ulong *)start, (ulong *)start, size);
WATCHDOG_RESET ();
if (ret == 0)
- ret = memory_post_addrline ((long *)(start + size - 8),
- (long *)start, size);
+ ret = memory_post_addrline ((ulong *)(start + size - 8),
+ (ulong *)start, size);
WATCHDOG_RESET ();
if (ret == 0)
ret = memory_post_test1 (start, size, 0x00000000);