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>
This commit is contained in:
Simon Glass
2019-12-28 10:45:06 -07:00
committed by Tom Rini
parent 9b4a205f45
commit 49acd56e4f
20 changed files with 26 additions and 10 deletions

View File

@@ -59,10 +59,6 @@ void hang (void) __attribute__ ((noreturn));
#include <display_options.h>
#if defined(CONFIG_SYS_DRAM_TEST)
int testdram(void);
#endif /* CONFIG_SYS_DRAM_TEST */
/* lib/uuid.c */
#include <uuid.h>

View File

@@ -109,6 +109,8 @@ int dram_init_banksize(void);
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
*