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/include/common.h b/include/common.h
index f9ad184..b257448 100644
--- a/include/common.h
+++ b/include/common.h
@@ -59,10 +59,6 @@
#include <display_options.h>
-#if defined(CONFIG_SYS_DRAM_TEST)
-int testdram(void);
-#endif /* CONFIG_SYS_DRAM_TEST */
-
/* lib/uuid.c */
#include <uuid.h>
diff --git a/include/init.h b/include/init.h
index cb92c6a..2a33a3f 100644
--- a/include/init.h
+++ b/include/init.h
@@ -109,6 +109,8 @@
long get_ram_size(long *base, long size);
phys_size_t get_effective_memsize(void);
+int testdram(void);
+
/**
* arch_reserve_stacks() - Reserve all necessary stacks
*