summaryrefslogtreecommitdiff
path: root/drivers/ddr/altera/sdram_s10.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-28 10:45:05 -0700
committerTom Rini <trini@konsulko.com>2020-01-17 14:02:35 -0500
commit9b4a205f454dd19687aaf9a22a5bc01164182a90 (patch)
treeeeca3b94aec1800823498c7a237ba67186214443 /drivers/ddr/altera/sdram_s10.c
parent220a3a44a339a32b3dae13122ec85ccaede5d988 (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.c1
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"