Lines Matching refs:spd_cb
20 struct ddr3_spd_cb spd_cb; in ddr3_init() local
22 if (ddr3_get_dimm_params_from_spd(&spd_cb)) { in ddr3_init()
29 printf("Detected SO-DIMM [%s]\n", spd_cb.dimm_name); in ddr3_init()
33 printf("DDR3 speed %d\n", spd_cb.ddrspdclock); in ddr3_init()
34 if (spd_cb.ddrspdclock == 1600) in ddr3_init()
45 spd_cb.phy_cfg.zq0cr1 |= 0x10000; in ddr3_init()
46 spd_cb.phy_cfg.zq1cr1 |= 0x10000; in ddr3_init()
47 spd_cb.phy_cfg.zq2cr1 |= 0x10000; in ddr3_init()
49 ddr3_init_ddrphy(KS2_DDR3A_DDRPHYC, &spd_cb.phy_cfg); in ddr3_init()
51 ddr3_init_ddremif(KS2_DDR3A_EMIF_CTRL_BASE, &spd_cb.emif_cfg); in ddr3_init()
53 ddr3_size = spd_cb.ddr_size_gbyte; in ddr3_init()
55 ddr3_init_ddrphy(KS2_DDR3A_DDRPHYC, &spd_cb.phy_cfg); in ddr3_init()
56 spd_cb.emif_cfg.sdcfg |= 0x1000; in ddr3_init()
57 ddr3_init_ddremif(KS2_DDR3A_EMIF_CTRL_BASE, &spd_cb.emif_cfg); in ddr3_init()
58 ddr3_size = spd_cb.ddr_size_gbyte / 2; in ddr3_init()