mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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:
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user