diff options
author | Simon Glass <sjg@chromium.org> | 2017-04-06 12:47:04 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-04-12 13:28:32 -0400 |
commit | 3eace37e5098c7f020a45a3672c062cd4ea199a0 (patch) | |
tree | fa5995f04baf8a69e8850b440e57899898502d24 /board/freescale/ls1021aqds | |
parent | 6bacc73621066a1fa9c1ac3d1578980b8a6d3b27 (diff) |
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 'board/freescale/ls1021aqds')
-rw-r--r-- | board/freescale/ls1021aqds/ddr.c | 2 | ||||
-rw-r--r-- | board/freescale/ls1021aqds/ls1021aqds.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/ls1021aqds/ddr.c b/board/freescale/ls1021aqds/ddr.c index 3bf2e49762..d16a69fc98 100644 --- a/board/freescale/ls1021aqds/ddr.c +++ b/board/freescale/ls1021aqds/ddr.c @@ -164,7 +164,7 @@ void board_mem_sleep_setup(void) } #endif -int initdram(void) +int fsl_initdram(void) { phys_size_t dram_size; diff --git a/board/freescale/ls1021aqds/ls1021aqds.c b/board/freescale/ls1021aqds/ls1021aqds.c index 909fc56275..d81d8abc9b 100644 --- a/board/freescale/ls1021aqds/ls1021aqds.c +++ b/board/freescale/ls1021aqds/ls1021aqds.c @@ -162,7 +162,7 @@ int dram_init(void) * before accessing DDR SPD. */ select_i2c_ch_pca9547(I2C_MUX_CH_DEFAULT); - return initdram(); + return fsl_initdram(); } #ifdef CONFIG_FSL_ESDHC |