2 * Keystone2: DDR3 initialization
5 * Texas Instruments Incorporated, <www.ti.com>
7 * SPDX-License-Identifier: GPL-2.0+
12 #include <asm/arch/ddr3.h>
15 static struct pll_init_data ddr3_400 = DDR3_PLL_400;
21 /* No SO-DIMM, 2GB discreet DDR */
22 printf("DRAM: 2 GiB\n");
25 /* Reset DDR3 PHY after PLL enabled */
28 ddr3_init_ddrphy(KS2_DDR3A_DDRPHYC, &ddr3phy_1600_2g);
29 ddr3_init_ddremif(KS2_DDR3A_EMIF_CTRL_BASE, &ddr3_1600_2g);
33 * ddr3_get_size - return ddr3 size in GiB
35 int ddr3_get_size(void)