• M
    driver/ddr: Add support for setting timing in hws_topology_map · 90bcc3d3
    Marek Behún 提交于
    The DDR3 training code for Marvell A38X currently computes 1t timing
    when given board topology map of the Turris Omnia, but Omnia needs 2t.
    
    This patch adds support for enforcing the 2t timing in struct
    hws_topology_map, through a new enum hws_timing, which can assume
    following values:
      HWS_TIM_DEFAULT - default behaviour, compute whether to enable 2t
                        from the number of CSs
      HWS_TIM_1T      - enforce 1t
      HWS_TIM_2T      - enforce 2t
    
    This patch also sets all the board topology maps (db-88f6820-amc,
    db-88f6820-gp, controlcenterdc and clearfog) to have timing set to
    HWS_TIM_DEFAULT.
    Signed-off-by: NMarek Behun <marek.behun@nic.cz>
    Reviewed-by: NStefan Roese <sr@denx.de>
    Signed-off-by: NStefan Roese <sr@denx.de>
    90bcc3d3
db-88f6820-gp.c 4.5 KB