From 3dbd28470b585017f0df0c3cb5d2e2c0d41e15ed Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Fri, 27 Oct 2017 11:49:29 +0200 Subject: lib/ramtest: Add comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a comment about the tested RAM region size. Change-Id: I29e99a06777bd21a65aa67049ceede4fd8adb603 Signed-off-by: Patrick Rudolph Reviewed-on: https://review.coreboot.org/22199 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Maximilian Schander Reviewed-by: Jonathan Neuschäfer --- src/lib/ramtest.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib/ramtest.c') 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) -- cgit v1.2.3