|
@@ -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();
|