commit | 8e16b1e51de261d32a012c426b7ced60c4690371 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Dec 28 10:45:05 2019 -0700 |
committer | Tom Rini <trini@konsulko.com> | Fri Jan 17 14:02:35 2020 -0500 |
tree | eeca3b94aec1800823498c7a237ba67186214443 | |
parent | 606f09b3d23c9243ac4f41cd9fbe8c113e69f07d [diff] [blame] |
common: Move RAM-sizing functions to init.h These functions relate to memory init so move them into the init header. Signed-off-by: Simon Glass <sjg@chromium.org>
diff --git a/drivers/ddr/altera/sdram_gen5.c b/drivers/ddr/altera/sdram_gen5.c index 435f42b..a3b914f 100644 --- a/drivers/ddr/altera/sdram_gen5.c +++ b/drivers/ddr/altera/sdram_gen5.c
@@ -6,6 +6,7 @@ #include <dm.h> #include <errno.h> #include <div64.h> +#include <init.h> #include <ram.h> #include <reset.h> #include <watchdog.h>