summaryrefslogtreecommitdiff
path: root/board/socrates
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-28 20:45:06 +0300
committerTom Rini <trini@konsulko.com>2020-01-17 22:02:35 +0300
commit49acd56e4f1b0cb76af73bb1b22db20c81af3f78 (patch)
tree457e7b68186c0f1f0780408ac170b3e25e74f284 /board/socrates
parent9b4a205f454dd19687aaf9a22a5bc01164182a90 (diff)
downloadu-boot-49acd56e4f1b0cb76af73bb1b22db20c81af3f78.tar.xz
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>
Diffstat (limited to 'board/socrates')
-rw-r--r--board/socrates/sdram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/socrates/sdram.c b/board/socrates/sdram.c
index 9ee6f3d154..8eb4f8fc95 100644
--- a/board/socrates/sdram.c
+++ b/board/socrates/sdram.c
@@ -62,7 +62,7 @@ phys_size_t fixed_sdram(void)
#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;