aboutsummaryrefslogtreecommitdiff
path: root/board/freescale/m5249evb
diff options
context:
space:
mode:
authorSimon Glass2019-12-28 10:45:06 -0700
committerTom Rini2020-01-17 14:02:35 -0500
commit49acd56e4f1b0cb76af73bb1b22db20c81af3f78 (patch)
tree457e7b68186c0f1f0780408ac170b3e25e74f284 /board/freescale/m5249evb
parent9b4a205f454dd19687aaf9a22a5bc01164182a90 (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/freescale/m5249evb')
-rw-r--r--board/freescale/m5249evb/m5249evb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/freescale/m5249evb/m5249evb.c b/board/freescale/m5249evb/m5249evb.c
index 9969f71da19..da3adc59541 100644
--- a/board/freescale/m5249evb/m5249evb.c
+++ b/board/freescale/m5249evb/m5249evb.c
@@ -6,6 +6,7 @@
#include <common.h>
#include <command.h>
+#include <init.h>
#include <malloc.h>
#include <asm/immap.h>
@@ -89,7 +90,8 @@ int dram_init(void)
};
-int testdram (void) {
+int testdram(void)
+{
/* TODO: XXX XXX XXX */
printf ("DRAM test not implemented!\n");