diff options
author | Sven Schnelle <svens@stackframe.org> | 2011-12-02 16:23:06 +0100 |
---|---|---|
committer | Sven Schnelle <svens@stackframe.org> | 2012-01-12 13:26:29 +0100 |
commit | 3ad8c54c01ab16b13eb9fe1cec8516aaed94c426 (patch) | |
tree | 9eb666fefafa01a649f748edf901db25f2c53563 /src/lib/memcmp.c | |
parent | 5db45b4d4aa318a7f5b9e9a46607762e74fac823 (diff) |
lib: add ram_check_nodie
The current implementation calls die() if memory checking fails.
This isn't always what we want: one might want to print error registers,
or do some other error handling. Introduce ram_check_nodie() for that
reason. It returns 0 if ram check succeeded, otherwise 1.
Change-Id: Ib9a9279120755cf63b5b3ba5e0646492c3c29ac2
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Reviewed-on: http://review.coreboot.org/532
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/lib/memcmp.c')
0 files changed, 0 insertions, 0 deletions