diff options
author | Simon Glass <sjg@chromium.org> | 2019-12-28 10:45:06 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-01-17 14:02:35 -0500 |
commit | 49acd56e4f1b0cb76af73bb1b22db20c81af3f78 (patch) | |
tree | 457e7b68186c0f1f0780408ac170b3e25e74f284 /board/freescale/m5272c3 | |
parent | 9b4a205f454dd19687aaf9a22a5bc01164182a90 (diff) | |
download | u-boot-49acd56e4f1b0cb76af73bb1b22db20c81af3f78.tar.gz u-boot-49acd56e4f1b0cb76af73bb1b22db20c81af3f78.tar.bz2 u-boot-49acd56e4f1b0cb76af73bb1b22db20c81af3f78.zip |
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/m5272c3')
-rw-r--r-- | board/freescale/m5272c3/m5272c3.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/board/freescale/m5272c3/m5272c3.c b/board/freescale/m5272c3/m5272c3.c index d4457abfbd..1017ef0c2a 100644 --- a/board/freescale/m5272c3/m5272c3.c +++ b/board/freescale/m5272c3/m5272c3.c @@ -7,6 +7,7 @@ */ #include <common.h> +#include <init.h> #include <asm/immap.h> #include <asm/io.h> @@ -33,7 +34,8 @@ int dram_init(void) return 0; }; -int testdram (void) { +int testdram(void) +{ /* TODO: XXX XXX XXX */ printf ("DRAM test not implemented!\n"); |