diff options
| author | Wolfgang Denk <wd@denx.de> | 2009-10-09 00:03:18 +0200 | 
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2009-10-09 00:03:18 +0200 | 
| commit | cd77dd109c4a439519a78c32eddc42bdebc7a61f (patch) | |
| tree | c5534647cb1786044ef0f7e4ad4067725eddf11d /board/mpl/common/memtst.c | |
| parent | 95c44ec485b46ffb43dbdaa299f1491a500fdadf (diff) | |
| parent | afc3ba0fc4195624e79e21244380ed7cc2fd6969 (diff) | |
| download | olio-uboot-2014.01-cd77dd109c4a439519a78c32eddc42bdebc7a61f.tar.xz olio-uboot-2014.01-cd77dd109c4a439519a78c32eddc42bdebc7a61f.zip | |
Merge branch 'reloc'
Diffstat (limited to 'board/mpl/common/memtst.c')
| -rw-r--r-- | board/mpl/common/memtst.c | 26 | 
1 files changed, 0 insertions, 26 deletions
| diff --git a/board/mpl/common/memtst.c b/board/mpl/common/memtst.c index 1393ea15a..92c33bac1 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)  { |