commit | 49acd56e4f1b0cb76af73bb1b22db20c81af3f78 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Dec 28 10:45:06 2019 -0700 |
committer | Tom Rini <trini@konsulko.com> | Fri Jan 17 14:02:35 2020 -0500 |
tree | 457e7b68186c0f1f0780408ac170b3e25e74f284 | |
parent | 9b4a205f454dd19687aaf9a22a5bc01164182a90 [diff] [blame] |
common: Move testdram() into init.h This function is called during init so move it to the init header file. Signed-off-by: Simon Glass <sjg@chromium.org>
diff --git a/board/socrates/sdram.c b/board/socrates/sdram.c index 9ee6f3d..8eb4f8f 100644 --- a/board/socrates/sdram.c +++ b/board/socrates/sdram.c
@@ -62,7 +62,7 @@ #endif #if defined(CONFIG_SYS_DRAM_TEST) -int testdram (void) +int testdram(void) { uint *pstart = (uint *) CONFIG_SYS_MEMTEST_START; uint *pend = (uint *) CONFIG_SYS_MEMTEST_END;