summaryrefslogtreecommitdiff
path: root/board/mpl/common
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-09-21 11:20:33 -0500
committerWolfgang Denk <wd@denx.de>2009-10-03 10:17:56 +0200
commit331ab60c4a418c39e5b1a05d4648a4155d0ad13e (patch)
tree063c707388c9756a043161dbb4ef1f1ffbcc48e0 /board/mpl/common
parent6385b28116f775da4771b768ba9bf93c3aaaf26e (diff)
downloadu-boot-imx-331ab60c4a418c39e5b1a05d4648a4155d0ad13e.zip
u-boot-imx-331ab60c4a418c39e5b1a05d4648a4155d0ad13e.tar.gz
u-boot-imx-331ab60c4a418c39e5b1a05d4648a4155d0ad13e.tar.bz2
mpl: Remove memory test relocation fixups
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'board/mpl/common')
-rw-r--r--board/mpl/common/memtst.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/board/mpl/common/memtst.c b/board/mpl/common/memtst.c
index 1393ea1..92c33ba 100644
--- a/board/mpl/common/memtst.c
+++ b/board/mpl/common/memtst.c
@@ -468,32 +468,6 @@ static RAM_MEMTEST_FUNC test_stage[TEST_STAGES] = {
RAM_MemTest_CheckRandomPattern, NULL}
};
-void mem_test_reloc(void)
-{
- unsigned long addr;
- int i;
- for (i=0; i< TEST_STAGES; i++) {
- addr = (ulong) (test_stage[i].test_write) + gd->reloc_off;
- test_stage[i].test_write=
- (void (*) (unsigned long startaddr, unsigned long size,
- unsigned long *pat))addr;
- addr = (ulong) (test_stage[i].test_write_desc) + gd->reloc_off;
- test_stage[i].test_write_desc=(char *)addr;
- if(test_stage[i].test_check1) {
- addr = (ulong) (test_stage[i].test_check1) + gd->reloc_off;
- test_stage[i].test_check1=
- (void *(*) (int mode, unsigned long startaddr,
- unsigned long size, unsigned long *pat))addr;
- }
- if(test_stage[i].test_check2) {
- addr = (ulong) (test_stage[i].test_check2) + gd->reloc_off;
- test_stage[i].test_check2=
- (void *(*) (int mode, unsigned long startaddr,
- unsigned long size, unsigned long *pat))addr;
- }
- }
-}
-
int mem_test (unsigned long start, unsigned long ramsize, int quiet)
{