Lines Matching refs:info
303 struct ddr_info info; in init_ddr() local
316 zeromem(&info, sizeof(info)); in init_ddr()
319 info.num_ctlrs = NUM_OF_DDRC; in init_ddr()
320 info.spd_addr = spd_addr; in init_ddr()
321 info.ddr[0] = (void *)NXP_DDR_ADDR; in init_ddr()
322 info.ddr[1] = (void *)NXP_DDR2_ADDR; in init_ddr()
323 info.phy[0] = (void *)NXP_DDR_PHY1_ADDR; in init_ddr()
324 info.phy[1] = (void *)NXP_DDR_PHY2_ADDR; in init_ddr()
325 info.clk = get_ddr_freq(&sys, 0); in init_ddr()
326 info.img_loadr = load_img; in init_ddr()
327 info.phy_gen2_fw_img_buf = PHY_GEN2_FW_IMAGE_BUFFER; in init_ddr()
328 if (info.clk == 0) { in init_ddr()
329 info.clk = get_ddr_freq(&sys, 1); in init_ddr()
331 info.dimm_on_ctlr = DDRC_NUM_DIMM; in init_ddr()
333 info.warm_boot_flag = DDR_WRM_BOOT_NT_SUPPORTED; in init_ddr()
335 info.warm_boot_flag = DDR_COLD_BOOT; in init_ddr()
337 info.warm_boot_flag = DDR_WARM_BOOT; in init_ddr()
339 info.warm_boot_flag = DDR_COLD_BOOT; in init_ddr()
343 dram_size = dram_init(&info in init_ddr()