summaryrefslogtreecommitdiff
path: root/board/freescale/ls1043aqds/ls1043aqds.c
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 /board/freescale/ls1043aqds/ls1043aqds.c
parent6bacc73621066a1fa9c1ac3d1578980b8a6d3b27 (diff)
downloadu-boot-fsl-qoriq-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 'board/freescale/ls1043aqds/ls1043aqds.c')
-rw-r--r--board/freescale/ls1043aqds/ls1043aqds.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/freescale/ls1043aqds/ls1043aqds.c b/board/freescale/ls1043aqds/ls1043aqds.c
index 538bba5..2df63e4 100644
--- a/board/freescale/ls1043aqds/ls1043aqds.c
+++ b/board/freescale/ls1043aqds/ls1043aqds.c
@@ -7,6 +7,7 @@
#include <common.h>
#include <i2c.h>
#include <fdt_support.h>
+#include <fsl_ddr_sdram.h>
#include <asm/io.h>
#include <asm/arch/clock.h>
#include <asm/arch/fsl_serdes.h>
@@ -153,7 +154,7 @@ int dram_init(void)
* before accessing DDR SPD.
*/
select_i2c_ch_pca9547(I2C_MUX_CH_DEFAULT);
- initdram();
+ fsl_initdram();
#if !defined(CONFIG_SPL) || defined(CONFIG_SPL_BUILD)
/* This will break-before-make MMU for DDR */
update_early_mmu_table();