summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Rudolph <siro@das-labor.org>2017-10-27 11:49:29 +0200
committerPatrick Georgi <pgeorgi@google.com>2017-11-07 12:28:20 +0000
commit3dbd28470b585017f0df0c3cb5d2e2c0d41e15ed (patch)
tree688612cdd8c13b42f93cb718c4611fbcac6bed4e
parent54f45c684c2daaef92cbe6c4672a7295d0469c56 (diff)
downloadcoreboot-3dbd28470b585017f0df0c3cb5d2e2c0d41e15ed.tar.xz
lib/ramtest: Add comment
Add a comment about the tested RAM region size. Change-Id: I29e99a06777bd21a65aa67049ceede4fd8adb603 Signed-off-by: Patrick Rudolph <siro@das-labor.org> Reviewed-on: https://review.coreboot.org/22199 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Maximilian Schander <coreboot@mimoja.de> Reviewed-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
-rw-r--r--src/lib/ramtest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ramtest.c b/src/lib/ramtest.c
index 2b2c34437b..9adcafdd30 100644
--- a/src/lib/ramtest.c
+++ b/src/lib/ramtest.c
@@ -74,6 +74,8 @@ static inline void test_pattern(unsigned short int idx,
* Simple write-read-verify memory test. See console debug output for
* any dislocated bytes.
*
+ * Tests 1MiB of memory starting from start.
+ *
* @param start System memory offset, aligned to 128bytes
*/
static int ram_bitset_nodie(unsigned long start)