qi-add-memory-testing-routines.patch

This adds the memory testing code to Qi.  It tests the range of memory with
several constants and then a 32-bit walking 1 pattern, and repeats forever.

The entire main SDRAM can be tested due to the fact this runs out of
steppingstone only and does not need to store anything outside of it.

It introduces a steppingstone-based stack for use entirely in steppingstone.

Signed-off-by: Andy Green <andy@openmoko.com>
This commit is contained in:
Andy Green authored and Andy Green committed 2008-11-28 10:16:41 +00:00
1 parent cff19a41ce
commit 2e982c433d
4 files changed
+165 -5

No files matched your search

+2
View File
@@ -106,5 +106,7 @@ unsigned long crc32(unsigned long crc, const unsigned char *buf,
unsigned int len);
int nand_read_ll(unsigned char *buf, unsigned long start512, int blocks512);
extern void memory_test(void * start, unsigned int length);
#endif