diff options
author | Simon Glass <sjg@chromium.org> | 2017-04-06 18:47:04 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-04-12 17:28:32 (GMT) |
commit | 3eace37e5098c7f020a45a3672c062cd4ea199a0 (patch) | |
tree | fa5995f04baf8a69e8850b440e57899898502d24 /arch/arm/cpu/armv8/fsl-layerscape | |
parent | 6bacc73621066a1fa9c1ac3d1578980b8a6d3b27 (diff) | |
download | u-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 'arch/arm/cpu/armv8/fsl-layerscape')
-rw-r--r-- | arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/cpu.c b/arch/arm/cpu/armv8/fsl-layerscape/cpu.c index ea6c090..d446527 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/cpu.c +++ b/arch/arm/cpu/armv8/fsl-layerscape/cpu.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <fsl_ddr_sdram.h> #include <asm/io.h> #include <linux/errno.h> #include <asm/system.h> @@ -876,7 +877,7 @@ void update_early_mmu_table(void) __weak int dram_init(void) { - initdram(); + fsl_initdram(); #if !defined(CONFIG_SPL) || defined(CONFIG_SPL_BUILD) /* This will break-before-make MMU for DDR */ update_early_mmu_table(); |