From 49acd56e4f1b0cb76af73bb1b22db20c81af3f78 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 28 Dec 2019 10:45:06 -0700 Subject: 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 --- board/BuS/eb_cpu5282/eb_cpu5282.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'board/BuS') diff --git a/board/BuS/eb_cpu5282/eb_cpu5282.c b/board/BuS/eb_cpu5282/eb_cpu5282.c index 0b916d2482..a667413bfc 100644 --- a/board/BuS/eb_cpu5282/eb_cpu5282.c +++ b/board/BuS/eb_cpu5282/eb_cpu5282.c @@ -12,6 +12,7 @@ #include "asm/m5282.h" #include #include +#include #include #include @@ -98,7 +99,7 @@ int dram_init(void) } #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; -- cgit v1.2.3