/u-boot/board/freescale/ls1043aqds/ |
A D | ddr.c | 42 popts->clk_adjust = pbsp->clk_adjust; in fsl_ddr_board_options() 47 popts->write_data_delay = in fsl_ddr_board_options() 73 popts->data_bus_width = 1; in fsl_ddr_board_options() 74 popts->otf_burst_chop_en = 0; in fsl_ddr_board_options() 75 popts->burst_length = DDR_BL8; in fsl_ddr_board_options() 86 popts->wrlvl_override = 1; in fsl_ddr_board_options() 87 popts->wrlvl_sample = 0xf; in fsl_ddr_board_options() 92 popts->rtt_override = 0; in fsl_ddr_board_options() 95 popts->zq_en = 1; in fsl_ddr_board_options() 103 popts->cpo_sample = 0x59; in fsl_ddr_board_options() [all …]
|
/u-boot/board/keymile/kmcent2/ |
A D | ddr.c | 32 popts->write_data_delay = 4; in fsl_ddr_board_options() 34 popts->clk_adjust = 4; in fsl_ddr_board_options() 36 popts->twot_en = 0; in fsl_ddr_board_options() 37 popts->threet_en = 0; in fsl_ddr_board_options() 40 popts->cpo_sample = 0x3b; in fsl_ddr_board_options() 43 popts->half_strength_driver_enable = 1; in fsl_ddr_board_options() 48 popts->wrlvl_override = 1; in fsl_ddr_board_options() 49 popts->wrlvl_sample = 0xf; in fsl_ddr_board_options() 50 popts->wrlvl_start = 0x7; in fsl_ddr_board_options() 64 popts->rtt_override = 0; in fsl_ddr_board_options() [all …]
|
/u-boot/board/freescale/ls1046aqds/ |
A D | ddr.c | 42 popts->clk_adjust = pbsp->clk_adjust; in fsl_ddr_board_options() 60 popts->wrlvl_ctl_2 = pbsp->wrlvl_ctl_2; in fsl_ddr_board_options() 61 popts->wrlvl_ctl_3 = pbsp->wrlvl_ctl_3; in fsl_ddr_board_options() 70 popts->otf_burst_chop_en = 0; in fsl_ddr_board_options() 71 popts->burst_length = DDR_BL8; in fsl_ddr_board_options() 74 popts->half_strength_driver_enable = 0; in fsl_ddr_board_options() 78 popts->wrlvl_override = 1; in fsl_ddr_board_options() 79 popts->wrlvl_sample = 0xf; in fsl_ddr_board_options() 84 popts->rtt_override = 0; in fsl_ddr_board_options() 87 popts->zq_en = 1; in fsl_ddr_board_options() [all …]
|
/u-boot/drivers/ddr/fsl/ |
A D | options.c | 895 popts->ecc_mode = 1; in populate_memctl_options() 897 popts->ecc_mode = 1; in populate_memctl_options() 900 popts->ecc_init_using_memctl = popts->ecc_mode ? 1 : 0; in populate_memctl_options() 960 if ((popts->data_bus_width == 1) || (popts->data_bus_width == 2)) { in populate_memctl_options() 1013 popts->twot_en = 0; in populate_memctl_options() 1014 popts->threet_en = 0; in populate_memctl_options() 1026 popts->ap_en = 1; in populate_memctl_options() 1062 popts->zq_en = 0; in populate_memctl_options() 1063 popts->wrlvl_en = 0; in populate_memctl_options() 1070 popts->wrlvl_en = 1; in populate_memctl_options() [all …]
|
A D | ctrl_regs.c | 437 if (popts->trwt_override) in set_timing_cfg_0() 438 trwt_mclk = popts->trwt; in set_timing_cfg_0() 933 ap_en = popts->ap_en; in set_ddr_sdram_cfg_2() 993 if (popts->rtt_override) in set_ddr_sdram_mode_2() 1079 if (popts->rtt_override) in set_ddr_sdram_mode_2() 1647 popts->burst_length); in set_ddr_sdram_mode() 1821 popts->burst_length); in set_ddr_sdram_mode() 2311 if (popts->addr_hash) { in set_ddr_eor() 2388 ? popts->sr_it in compute_fsl_memctl_config_regs() 2587 if (popts->cpo_sample) in compute_fsl_memctl_config_regs() [all …]
|
/u-boot/board/freescale/ls1046ardb/ |
A D | ddr.c | 33 if (popts->registered_dimm_en) in fsl_ddr_board_options() 45 popts->clk_adjust = pbsp->clk_adjust; in fsl_ddr_board_options() 46 popts->wrlvl_start = pbsp->wrlvl_start; in fsl_ddr_board_options() 63 popts->wrlvl_ctl_2 = pbsp->wrlvl_ctl_2; in fsl_ddr_board_options() 64 popts->wrlvl_ctl_3 = pbsp->wrlvl_ctl_3; in fsl_ddr_board_options() 79 popts->half_strength_driver_enable = 0; in fsl_ddr_board_options() 83 popts->wrlvl_override = 1; in fsl_ddr_board_options() 84 popts->wrlvl_sample = 0xf; in fsl_ddr_board_options() 89 popts->rtt_override = 0; in fsl_ddr_board_options() 92 popts->zq_en = 1; in fsl_ddr_board_options() [all …]
|
/u-boot/board/freescale/t104xrdb/ |
A D | ddr.c | 46 popts->clk_adjust = pbsp->clk_adjust; in fsl_ddr_board_options() 47 popts->wrlvl_start = pbsp->wrlvl_start; in fsl_ddr_board_options() 64 popts->wrlvl_ctl_2 = pbsp->wrlvl_ctl_2; in fsl_ddr_board_options() 65 popts->wrlvl_ctl_3 = pbsp->wrlvl_ctl_3; in fsl_ddr_board_options() 82 popts->half_strength_driver_enable = 1; in fsl_ddr_board_options() 84 popts->cpo_sample = 0x59; in fsl_ddr_board_options() 86 popts->half_strength_driver_enable = 0; in fsl_ddr_board_options() 91 popts->wrlvl_override = 1; in fsl_ddr_board_options() 92 popts->wrlvl_sample = 0xf; in fsl_ddr_board_options() 97 popts->rtt_override = 0; in fsl_ddr_board_options() [all …]
|
/u-boot/board/freescale/ls1021aqds/ |
A D | ddr.c | 42 popts->clk_adjust = pbsp->clk_adjust; in fsl_ddr_board_options() 47 popts->write_data_delay = in fsl_ddr_board_options() 73 popts->data_bus_width = 1; in fsl_ddr_board_options() 74 popts->otf_burst_chop_en = 0; in fsl_ddr_board_options() 75 popts->burst_length = DDR_BL8; in fsl_ddr_board_options() 85 popts->wrlvl_override = 1; in fsl_ddr_board_options() 86 popts->wrlvl_sample = 0xf; in fsl_ddr_board_options() 91 popts->rtt_override = 0; in fsl_ddr_board_options() 94 popts->zq_en = 1; in fsl_ddr_board_options() 101 popts->cswl_override = DDR_CSWL_CS0; in fsl_ddr_board_options() [all …]
|
/u-boot/board/freescale/t4rdb/ |
A D | ddr.c | 38 if (popts->registered_dimm_en) in fsl_ddr_board_options() 52 popts->clk_adjust = pbsp->clk_adjust; in fsl_ddr_board_options() 53 popts->wrlvl_start = pbsp->wrlvl_start; in fsl_ddr_board_options() 70 popts->wrlvl_ctl_2 = pbsp->wrlvl_ctl_2; in fsl_ddr_board_options() 71 popts->wrlvl_ctl_3 = pbsp->wrlvl_ctl_3; in fsl_ddr_board_options() 87 popts->half_strength_driver_enable = 0; in fsl_ddr_board_options() 91 popts->wrlvl_override = 1; in fsl_ddr_board_options() 92 popts->wrlvl_sample = 0xf; in fsl_ddr_board_options() 97 popts->rtt_override = 0; in fsl_ddr_board_options() 100 popts->zq_en = 1; in fsl_ddr_board_options() [all …]
|
/u-boot/board/freescale/ls1088a/ |
A D | ddr.c | 28 popts->ddr_cdr1 |= DDR_CDR1_V0PT9_EN; in fsl_ddr_setup_0v9_volt() 61 popts->clk_adjust = pbsp->clk_adjust; in fsl_ddr_board_options() 62 popts->wrlvl_start = pbsp->wrlvl_start; in fsl_ddr_board_options() 79 popts->wrlvl_ctl_2 = pbsp->wrlvl_ctl_2; in fsl_ddr_board_options() 80 popts->wrlvl_ctl_3 = pbsp->wrlvl_ctl_3; in fsl_ddr_board_options() 93 popts->half_strength_driver_enable = 0; in fsl_ddr_board_options() 97 popts->wrlvl_override = 1; in fsl_ddr_board_options() 98 popts->wrlvl_sample = 0xf; in fsl_ddr_board_options() 102 popts->zq_en = 1; in fsl_ddr_board_options() 105 popts->addr_hash = 1; in fsl_ddr_board_options() [all …]
|
/u-boot/board/freescale/ls2080ardb/ |
A D | ddr.c | 45 if (popts->registered_dimm_en) in fsl_ddr_board_options() 89 if (popts->registered_dimm_en) in fsl_ddr_board_options() 92 popts->data_bus_width = 1; in fsl_ddr_board_options() 93 popts->otf_burst_chop_en = 0; in fsl_ddr_board_options() 94 popts->burst_length = DDR_BL8; in fsl_ddr_board_options() 130 popts->wrlvl_override = 1; in fsl_ddr_board_options() 136 popts->rtt_override = 0; in fsl_ddr_board_options() 139 popts->zq_en = 1; in fsl_ddr_board_options() 142 popts->cpo_sample = 0x6e; in fsl_ddr_board_options() 147 popts->ddr_cdr1 = DDR_CDR1_DHC_EN | in fsl_ddr_board_options() [all …]
|
/u-boot/board/freescale/t208xqds/ |
A D | ddr.c | 38 if (popts->registered_dimm_en) in fsl_ddr_board_options() 51 popts->clk_adjust = pbsp->clk_adjust; in fsl_ddr_board_options() 52 popts->wrlvl_start = pbsp->wrlvl_start; in fsl_ddr_board_options() 69 popts->wrlvl_ctl_2 = pbsp->wrlvl_ctl_2; in fsl_ddr_board_options() 70 popts->wrlvl_ctl_3 = pbsp->wrlvl_ctl_3; in fsl_ddr_board_options() 86 popts->half_strength_driver_enable = 0; in fsl_ddr_board_options() 90 popts->wrlvl_override = 1; in fsl_ddr_board_options() 91 popts->wrlvl_sample = 0xf; in fsl_ddr_board_options() 96 popts->rtt_override = 0; in fsl_ddr_board_options() 99 popts->zq_en = 1; in fsl_ddr_board_options() [all …]
|
/u-boot/board/keymile/kmp204x/ |
A D | ddr.c | 21 void fsl_ddr_board_options(memctl_options_t *popts, in fsl_ddr_board_options() argument 31 popts->cpo_override = 0xFF; in fsl_ddr_board_options() 34 popts->write_data_delay = 4; in fsl_ddr_board_options() 36 popts->clk_adjust = 4; in fsl_ddr_board_options() 38 popts->twot_en = 0; in fsl_ddr_board_options() 41 popts->half_strength_driver_enable = 1; in fsl_ddr_board_options() 44 popts->wrlvl_override = 1; in fsl_ddr_board_options() 45 popts->wrlvl_sample = 0xf; in fsl_ddr_board_options() 46 popts->wrlvl_start = 0x6; in fsl_ddr_board_options() 49 popts->zq_en = 1; in fsl_ddr_board_options() [all …]
|
/u-boot/board/freescale/p2041rdb/ |
A D | ddr.c | 76 popts->cpo_override = pbsp->cpo; in fsl_ddr_board_options() 77 popts->write_data_delay = in fsl_ddr_board_options() 79 popts->clk_adjust = pbsp->clk_adjust; in fsl_ddr_board_options() 81 popts->twot_en = pbsp->force_2t; in fsl_ddr_board_options() 94 popts->cpo_override = pbsp_highest->cpo; in fsl_ddr_board_options() 108 popts->half_strength_driver_enable = 0; in fsl_ddr_board_options() 110 popts->wrlvl_override = 1; in fsl_ddr_board_options() 111 popts->wrlvl_sample = 0xf; in fsl_ddr_board_options() 114 popts->rtt_override = 0; in fsl_ddr_board_options() 117 popts->zq_en = 1; in fsl_ddr_board_options() [all …]
|
/u-boot/board/freescale/t208xrdb/ |
A D | ddr.c | 44 popts->clk_adjust = pbsp->clk_adjust; in fsl_ddr_board_options() 45 popts->wrlvl_start = pbsp->wrlvl_start; in fsl_ddr_board_options() 46 popts->wrlvl_ctl_2 = pbsp->wrlvl_ctl_2; in fsl_ddr_board_options() 62 popts->wrlvl_ctl_2 = pbsp->wrlvl_ctl_2; in fsl_ddr_board_options() 63 popts->wrlvl_ctl_3 = pbsp->wrlvl_ctl_3; in fsl_ddr_board_options() 79 popts->half_strength_driver_enable = 0; in fsl_ddr_board_options() 83 popts->wrlvl_override = 1; in fsl_ddr_board_options() 84 popts->wrlvl_sample = 0xf; in fsl_ddr_board_options() 89 popts->rtt_override = 0; in fsl_ddr_board_options() 92 popts->zq_en = 1; in fsl_ddr_board_options() [all …]
|
/u-boot/board/varisys/cyrus/ |
A D | ddr.c | 112 if (popts->registered_dimm_en) in fsl_ddr_board_options() 125 popts->cpo_override = pbsp->cpo; in fsl_ddr_board_options() 126 popts->write_data_delay = in fsl_ddr_board_options() 128 popts->clk_adjust = pbsp->clk_adjust; in fsl_ddr_board_options() 130 popts->twot_en = pbsp->force_2t; in fsl_ddr_board_options() 154 popts->half_strength_driver_enable = 0; in fsl_ddr_board_options() 158 popts->wrlvl_override = 1; in fsl_ddr_board_options() 159 popts->wrlvl_sample = 0xf; in fsl_ddr_board_options() 164 popts->rtt_override = 0; in fsl_ddr_board_options() 167 popts->zq_en = 1; in fsl_ddr_board_options() [all …]
|
/u-boot/board/freescale/ls2080aqds/ |
A D | ddr.c | 45 if (popts->registered_dimm_en) in fsl_ddr_board_options() 59 popts->clk_adjust = pbsp->clk_adjust; in fsl_ddr_board_options() 90 popts->data_bus_width = 1; in fsl_ddr_board_options() 91 popts->otf_burst_chop_en = 0; in fsl_ddr_board_options() 92 popts->burst_length = DDR_BL8; in fsl_ddr_board_options() 128 popts->wrlvl_override = 1; in fsl_ddr_board_options() 134 popts->rtt_override = 0; in fsl_ddr_board_options() 137 popts->zq_en = 1; in fsl_ddr_board_options() 142 popts->ddr_cdr1 = DDR_CDR1_DHC_EN | in fsl_ddr_board_options() 147 popts->ddr_cdr1 = DDR_CDR1_DHC_EN | in fsl_ddr_board_options() [all …]
|
/u-boot/board/xes/xpedite550x/ |
A D | ddr.c | 86 popts->cs_local_opts[i].odt_rd_cfg = 0; in fsl_ddr_board_options() 87 popts->cs_local_opts[i].odt_wr_cfg = 0; in fsl_ddr_board_options() 90 popts->cs_local_opts[i].odt_rd_cfg = 0; in fsl_ddr_board_options() 91 popts->cs_local_opts[i].odt_wr_cfg = 4; in fsl_ddr_board_options() 93 popts->cs_local_opts[i].odt_rd_cfg = 3; in fsl_ddr_board_options() 108 popts->clk_adjust = pbsp->clk_adjust; in fsl_ddr_board_options() 109 popts->cpo_override = pbsp->cpo; in fsl_ddr_board_options() 110 popts->twot_en = 0; in fsl_ddr_board_options() 125 popts->half_strength_driver_enable = 0; in fsl_ddr_board_options() 133 popts->rtt_override = 1; in fsl_ddr_board_options() [all …]
|
/u-boot/board/freescale/t102xrdb/ |
A D | ddr.c | 78 popts->clk_adjust = pbsp->clk_adjust; in fsl_ddr_board_options() 96 popts->wrlvl_ctl_2 = pbsp->wrlvl_ctl_2; in fsl_ddr_board_options() 112 popts->half_strength_driver_enable = 0; in fsl_ddr_board_options() 116 popts->wrlvl_override = 1; in fsl_ddr_board_options() 117 popts->wrlvl_sample = 0xf; in fsl_ddr_board_options() 122 popts->rtt_override = 0; in fsl_ddr_board_options() 125 popts->zq_en = 1; in fsl_ddr_board_options() 143 popts->wrlvl_ctl_2 = 0x07070606; in fsl_ddr_board_options() 144 popts->half_strength_driver_enable = 1; in fsl_ddr_board_options() 145 popts->cpo_sample = 0x43; in fsl_ddr_board_options() [all …]
|
/u-boot/board/freescale/ls1043ardb/ |
A D | ddr.c | 43 popts->clk_adjust = pbsp->clk_adjust; in fsl_ddr_board_options() 48 popts->write_data_delay = in fsl_ddr_board_options() 74 popts->data_bus_width = 1; in fsl_ddr_board_options() 75 popts->otf_burst_chop_en = 0; in fsl_ddr_board_options() 76 popts->burst_length = DDR_BL8; in fsl_ddr_board_options() 82 popts->half_strength_driver_enable = 1; in fsl_ddr_board_options() 86 popts->wrlvl_override = 1; in fsl_ddr_board_options() 87 popts->wrlvl_sample = 0xf; in fsl_ddr_board_options() 92 popts->rtt_override = 0; in fsl_ddr_board_options() 95 popts->zq_en = 1; in fsl_ddr_board_options() [all …]
|
/u-boot/board/freescale/mpc8349emds/ |
A D | ddr.c | 42 void fsl_ddr_board_options(memctl_options_t *popts, in fsl_ddr_board_options() argument 68 popts->clk_adjust = pbsp->clk_adjust; in fsl_ddr_board_options() 69 popts->cpo_override = pbsp->cpo; in fsl_ddr_board_options() 70 popts->write_data_delay = in fsl_ddr_board_options() 72 popts->twot_en = pbsp->force_2t; in fsl_ddr_board_options() 85 popts->clk_adjust = pbsp_highest->clk_adjust; in fsl_ddr_board_options() 86 popts->cpo_override = pbsp_highest->cpo; in fsl_ddr_board_options() 87 popts->write_data_delay = pbsp_highest->write_data_delay; in fsl_ddr_board_options() 88 popts->twot_en = pbsp_highest->force_2t; in fsl_ddr_board_options() 98 popts->half_strength_driver_enable = 0; in fsl_ddr_board_options() [all …]
|
/u-boot/board/Arcturus/ucp1020/ |
A D | ddr.c | 138 popts->clk_adjust = 6; in fsl_ddr_board_options() 139 popts->cpo_override = 0x1f; in fsl_ddr_board_options() 140 popts->write_data_delay = 2; in fsl_ddr_board_options() 143 popts->wrlvl_en = 1; in fsl_ddr_board_options() 144 popts->wrlvl_override = 1; in fsl_ddr_board_options() 145 popts->wrlvl_sample = 0xf; in fsl_ddr_board_options() 146 popts->wrlvl_start = 0x8; in fsl_ddr_board_options() 147 popts->trwt_override = 1; in fsl_ddr_board_options() 148 popts->trwt = 0; in fsl_ddr_board_options() 151 popts->data_bus_width = 0; in fsl_ddr_board_options() [all …]
|
/u-boot/board/freescale/corenet_ds/ |
A D | ddr.c | 203 if (popts->registered_dimm_en) in fsl_ddr_board_options() 216 popts->cpo_override = pbsp->cpo; in fsl_ddr_board_options() 217 popts->write_data_delay = in fsl_ddr_board_options() 219 popts->clk_adjust = pbsp->clk_adjust; in fsl_ddr_board_options() 221 popts->twot_en = pbsp->force_2t; in fsl_ddr_board_options() 247 popts->half_strength_driver_enable = 0; in fsl_ddr_board_options() 251 popts->wrlvl_override = 1; in fsl_ddr_board_options() 252 popts->wrlvl_sample = 0xf; in fsl_ddr_board_options() 257 popts->rtt_override = 0; in fsl_ddr_board_options() 260 popts->zq_en = 1; in fsl_ddr_board_options() [all …]
|
/u-boot/board/gdsys/p1022/ |
A D | ddr.c | 15 void fsl_ddr_board_options(memctl_options_t *popts, dimm_params_t *pdimm, in fsl_ddr_board_options() argument 29 popts->cs_local_opts[i].odt_rd_cfg = 0; in fsl_ddr_board_options() 30 popts->cs_local_opts[i].odt_wr_cfg = 1; in fsl_ddr_board_options() 33 popts->clk_adjust = 5; in fsl_ddr_board_options() 34 popts->cpo_override = 0x1f; in fsl_ddr_board_options() 35 popts->write_data_delay = 2; in fsl_ddr_board_options() 36 popts->half_strength_driver_enable = 1; in fsl_ddr_board_options() 39 popts->zq_en = 1; in fsl_ddr_board_options()
|
/u-boot/board/socrates/ |
A D | ddr.c | 11 void fsl_ddr_board_options(memctl_options_t *popts, in fsl_ddr_board_options() argument 26 popts->clk_adjust = 7; in fsl_ddr_board_options() 33 popts->cpo_override = 0; in fsl_ddr_board_options() 46 popts->write_data_delay = 3; in fsl_ddr_board_options() 52 popts->half_strength_driver_enable = 0; in fsl_ddr_board_options()
|