summaryrefslogtreecommitdiff
path: root/include/fsl_ddr_sdram.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-04-06 18:47:04 (GMT)
committerTom Rini <trini@konsulko.com>2017-04-12 17:28:32 (GMT)
commit3eace37e5098c7f020a45a3672c062cd4ea199a0 (patch)
treefa5995f04baf8a69e8850b440e57899898502d24 /include/fsl_ddr_sdram.h
parent6bacc73621066a1fa9c1ac3d1578980b8a6d3b27 (diff)
downloadu-boot-3eace37e5098c7f020a45a3672c062cd4ea199a0.tar.xz
arm: freescale: Rename initdram() to fsl_initdram()
This function name shadows a global name but is in fact different. This is very confusing. Rename it to help with the following refactoring. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/fsl_ddr_sdram.h')
-rw-r--r--include/fsl_ddr_sdram.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/fsl_ddr_sdram.h b/include/fsl_ddr_sdram.h
index b8de46b..6a1f04b 100644
--- a/include/fsl_ddr_sdram.h
+++ b/include/fsl_ddr_sdram.h
@@ -477,4 +477,12 @@ typedef struct fixed_ddr_parm{
int max_freq;
fsl_ddr_cfg_regs_t *ddr_settings;
} fixed_ddr_parm_t;
+
+/**
+ * fsl_initdram() - Set up the SDRAM
+ *
+ * @return 0 if OK, -ve on error
+ */
+int fsl_initdram(void);
+
#endif