summaryrefslogtreecommitdiffstats
path: root/drivers
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 /drivers
parentfc0f746443abdffead4854c19c1b7570fcaacc5d (diff)
downloadbarebox-8c00da992e53e02244e7cb1c9449f89fad631649.tar.gz
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 'drivers')
-rw-r--r--drivers/ddr/fsl/fsl_ddr.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ddr/fsl/fsl_ddr.h b/drivers/ddr/fsl/fsl_ddr.h
index ee6069d..ab991a5 100644
--- a/drivers/ddr/fsl/fsl_ddr.h
+++ b/drivers/ddr/fsl/fsl_ddr.h
@@ -227,8 +227,6 @@ unsigned int mclk_to_picos(struct fsl_ddr_controller *c, unsigned int mclk);
unsigned int get_memory_clk_period_ps(struct fsl_ddr_controller *c);
unsigned int picos_to_mclk(struct fsl_ddr_controller *c, unsigned int picos);
-void fsl_ddr_set_memctl_regs(struct fsl_ddr_controller *c, int step);
-
void erratum_a009942_check_cpo(void);
#endif