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 /board/BuS | |
parent | 91527c9a306fca0f8162a22d8ecc4c7be0dfe332 (diff) |
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 'board/BuS')
-rw-r--r-- | board/BuS/eb_cpu5282/eb_cpu5282.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <bmp_layout.h> #include <env.h> +#include <init.h> #include <status_led.h> #include <bus_vcxk.h> @@ -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; |