Hello,
Among other things, the EMIF tool generates the two structs below. Where exactly do they go? Is emif_cfg really needed since the structs are already referenced in the comments below?
-------------------------------
const struct dpll_params AM572x_DDR3L_532MHz_XXX_pll_params = {
.m = 266,
.n = 4,
.m2 = 2,
.m4_h11 = 8
};
struct emif_cfg AM572x_DDR3L_532MHz_XXX = {
.platform = "AM572x_DDR3L_532MHz_XXX",
.EMIF2_DEFINED = 1,
.pll_regs = &AM572x_DDR3L_532MHz_XXX_pll_params, <<< ???
.ctrl_regs = &AM572x_DDR3L_532MHz_XXX_ctrl_ioregs, <<< (File: arch\arm\cpu\armv7\omap5\hw_data.c, Function: get_ioregs)
.dmm_regs = &AM572x_DDR3L_532MHz_XXX_dmm_regs, <<< (File: board\ti\am57xx\board.c, Function: emif_get_dmm_regs)
.regs = &AM572x_DDR3L_532MHz_XXX_emif_regs, <<< (File: board\ti\am57xx\board.c, Function: emif_get_reg_dump)
.phy_regs1 = AM572x_DDR3L_532MHz_XXX_emif1_ext_phy_regs, <<< (File: board\ti\am57xx\board.c, Function: emif_get_ext_phy_ctrl_const_regs)
.phy_regs2 = AM572x_DDR3L_532MHz_XXX_emif2_ext_phy_regs, <<< (File: board\ti\am57xx\board.c, Function: emif_get_ext_phy_ctrl_const_regs)
};
-------------------------------
Thanks.
Wilson