diff options
author | Simon Glass <sjg@chromium.org> | 2019-12-28 10:45:06 -0700 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2020-01-24 23:06:49 +0530 |
commit | ed782a74547cd12634051e503c86ac4e1f754775 (patch) | |
tree | 835750e79ea23e90b404210c3f8d7b623481d08c /include | |
parent | 91527c9a306fca0f8162a22d8ecc4c7be0dfe332 (diff) | |
download | u-boot-ed782a74547cd12634051e503c86ac4e1f754775.tar.gz |
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 'include')
-rw-r--r-- | include/common.h | 4 | ||||
-rw-r--r-- | include/init.h | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/include/common.h b/include/common.h index f9ad184f4a..b25744854c 100644 --- a/include/common.h +++ b/include/common.h @@ -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> diff --git a/include/init.h b/include/init.h index cb92c6a4b7..2a33a3fd1e 100644 --- a/include/init.h +++ b/include/init.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 * |