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
committerJagan Teki <jagan@amarulasolutions.com>2020-01-24 23:06:49 +0530
commit91527c9a306fca0f8162a22d8ecc4c7be0dfe332 (patch)
treed5f2844bc33c47369b5b73e75a58d12127cc37ad /drivers/ddr/altera/sdram_s10.c
parentf32934916c65d3c26c5436b393d886fce8b9ab9f (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"