diff options
author | Alexander Aring <alex.aring@gmail.com> | 2013-06-04 01:13:51 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-06-05 22:54:35 +0200 |
commit | 3275c7ea43f366bcfac5a9f8ffc0d001592d9529 (patch) | |
tree | b7a9eb666ca38843efc65954842ca592258ee1ec /commands/memtest.c | |
parent | 47f9da43801d7a345569a35d23cd49eb355a891a (diff) | |
download | barebox-3275c7ea43f366bcfac5a9f8ffc0d001592d9529.tar.gz barebox-3275c7ea43f366bcfac5a9f8ffc0d001592d9529.tar.xz |
common: add memtest.c with mem_test routine
Add mem_test routine. Useful to detect timing problems if someone
porting a new device to barebox. This test includes a data bus test,
address bus test and integrity check of memory.
This mem_test routine has as parameter start and end address of testing
space. The last parameter can skip the integrity check.
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/memtest.c')
0 files changed, 0 insertions, 0 deletions