summaryrefslogtreecommitdiffstats
path: root/include/soc
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-05-03 11:45:36 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-05-08 10:57:01 +0200
commit8c00da992e53e02244e7cb1c9449f89fad631649 (patch)
tree9bef69334bc5ef7839d9d3b95c2a352747d755e9 /include/soc
parentfc0f746443abdffead4854c19c1b7570fcaacc5d (diff)
downloadbarebox-8c00da992e53e02244e7cb1c9449f89fad631649.tar.gz
barebox-8c00da992e53e02244e7cb1c9449f89fad631649.tar.xz
ddr: fsl: move fsl_ddr_set_memctl_regs prototype to include/
fsl_ddr_set_memctl_regs() is not only used internally in the DDR controller driver, but can also be called by the boards to configure a static setting. Move the prototype to include/ where it can be used by board code. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/soc')
-rw-r--r--include/soc/fsl/fsl_ddr_sdram.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/soc/fsl/fsl_ddr_sdram.h b/include/soc/fsl/fsl_ddr_sdram.h
index 07d0af96fc..80508ef5d5 100644
--- a/include/soc/fsl/fsl_ddr_sdram.h
+++ b/include/soc/fsl/fsl_ddr_sdram.h
@@ -540,6 +540,7 @@ struct fsl_ddr_info {
};
phys_size_t fsl_ddr_sdram(struct fsl_ddr_info *pinfo);
+void fsl_ddr_set_memctl_regs(struct fsl_ddr_controller *c, int step);
#ifdef CONFIG_SYS_FSL_DDR_LE
#define ddr_in32(a) in_le32(a)