diff options
author | Simon Glass <sjg@chromium.org> | 2019-12-28 10:45:05 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-01-17 14:02:35 -0500 |
commit | 9b4a205f454dd19687aaf9a22a5bc01164182a90 (patch) | |
tree | eeca3b94aec1800823498c7a237ba67186214443 /drivers/ddr/altera/sdram_s10.c | |
parent | 220a3a44a339a32b3dae13122ec85ccaede5d988 (diff) |
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>
Diffstat (limited to 'drivers/ddr/altera/sdram_s10.c')
-rw-r--r-- | drivers/ddr/altera/sdram_s10.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ddr/altera/sdram_s10.c b/drivers/ddr/altera/sdram_s10.c index 93c15dd18b..6beba01128 100644 --- a/drivers/ddr/altera/sdram_s10.c +++ b/drivers/ddr/altera/sdram_s10.c @@ -10,6 +10,7 @@ #include <errno.h> #include <div64.h> #include <fdtdec.h> +#include <init.h> #include <ram.h> #include <reset.h> #include "sdram_s10.h" |