mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2025-04-21 12:27:27 +03:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user