/u-boot/arch/x86/cpu/quark/ |
A D | dram.c | 24 static __maybe_unused int prepare_mrc_cache(struct mrc_params *mrc_params) in prepare_mrc_cache() argument 47 static int mrc_configure_params(struct mrc_params *mrc_params) in mrc_configure_params() argument 60 mrc_params->boot_mode = prepare_mrc_cache(mrc_params); in mrc_configure_params() 61 if (mrc_params->boot_mode) in mrc_configure_params() 121 mrc_params->params.density, mrc_params->params.cl, in mrc_configure_params() 122 mrc_params->params.ras, mrc_params->params.wtr, in mrc_configure_params() 123 mrc_params->params.rrd, mrc_params->params.faw); in mrc_configure_params() 130 struct mrc_params mrc_params; in dram_init() local 136 memset(&mrc_params, 0, sizeof(struct mrc_params)); in dram_init() 142 mrc_init(&mrc_params); in dram_init() [all …]
|
A D | mrc.c | 70 static void mrc_adjust_params(struct mrc_params *mrc_params) in mrc_adjust_params() argument 97 mrc_params->mem_size = 0; in mrc_adjust_params() 107 mrc_params->column_bits[0] = in mrc_adjust_params() 146 mrc_params->mem_size += mrc_params->channel_size[0] << 26; in mrc_adjust_params() 151 static void mrc_mem_init(struct mrc_params *mrc_params) in mrc_mem_init() argument 161 if (mrc_params->ddr_speed != mrc_params->timings.ddr_speed) { in mrc_mem_init() 176 init[i].init_fn(mrc_params); in mrc_mem_init() 182 print_timings(mrc_params); in mrc_mem_init() 190 void mrc_init(struct mrc_params *mrc_params) in mrc_init() argument 198 mrc_adjust_params(mrc_params); in mrc_init() [all …]
|
A D | smc.h | 511 void ddrphy_init(struct mrc_params *mrc_params); 516 void rcvn_cal(struct mrc_params *mrc_params); 517 void wr_level(struct mrc_params *mrc_params); 518 void prog_page_ctrl(struct mrc_params *mrc_params); 519 void rd_train(struct mrc_params *mrc_params); 520 void wr_train(struct mrc_params *mrc_params); 521 void store_timings(struct mrc_params *mrc_params); 524 void prog_dra_drb(struct mrc_params *mrc_params); 525 void perform_wake(struct mrc_params *mrc_params); 528 void ecc_enable(struct mrc_params *mrc_params); [all …]
|
A D | smc.c | 52 void clear_self_refresh(struct mrc_params *mrc_params) in clear_self_refresh() argument 63 void prog_ddr_timing_control(struct mrc_params *mrc_params) in prog_ddr_timing_control() argument 230 void perform_ddr_reset(struct mrc_params *mrc_params) in perform_ddr_reset() argument 252 void ddrphy_init(struct mrc_params *mrc_params) in ddrphy_init() argument 1402 void rcvn_cal(struct mrc_params *mrc_params) in rcvn_cal() argument 1549 void wr_level(struct mrc_params *mrc_params) in wr_level() argument 1784 void rd_train(struct mrc_params *mrc_params) in rd_train() argument 2082 void wr_train(struct mrc_params *mrc_params) in wr_train() argument 2391 void prog_dra_drb(struct mrc_params *mrc_params) in prog_dra_drb() argument 2543 void ecc_enable(struct mrc_params *mrc_params) in ecc_enable() argument [all …]
|
A D | hte.h | 36 u32 hte_mem_init(struct mrc_params *mrc_params, u8 flag); 37 u16 hte_basic_write_read(struct mrc_params *mrc_params, u32 addr, 39 u16 hte_write_stress_bit_lanes(struct mrc_params *mrc_params,
|
A D | mrc_util.h | 109 uint32_t sample_dqs(struct mrc_params *mrc_params, uint8_t channel, 111 void find_rising_edge(struct mrc_params *mrc_params, uint32_t delay[], 113 uint32_t byte_lane_mask(struct mrc_params *mrc_params); 114 uint32_t check_rw_coarse(struct mrc_params *mrc_params, uint32_t address); 115 uint32_t check_bls_ex(struct mrc_params *mrc_params, uint32_t address); 118 void print_timings(struct mrc_params *mrc_params);
|
A D | hte.c | 86 static u16 hte_basic_data_cmp(struct mrc_params *mrc_params, u32 addr, in hte_basic_data_cmp() argument 141 static u16 hte_rw_data_cmp(struct mrc_params *mrc_params, u32 addr, in hte_rw_data_cmp() argument 207 u32 hte_mem_init(struct mrc_params *mrc_params, u8 flag) in hte_mem_init() argument 225 msg_port_write(HTE, 0x00020022, (mrc_params->mem_size >> 6) - 1); in hte_mem_init() 297 u16 hte_basic_write_read(struct mrc_params *mrc_params, u32 addr, in hte_basic_write_read() argument 308 errors = hte_basic_data_cmp(mrc_params, addr, first_run, mode); in hte_basic_write_read() 326 u16 hte_write_stress_bit_lanes(struct mrc_params *mrc_params, in hte_write_stress_bit_lanes() argument 348 errors = hte_rw_data_cmp(mrc_params, addr, HTE_LOOP_CNT, in hte_write_stress_bit_lanes()
|
A D | mrc_util.c | 1023 uint32_t sample_dqs(struct mrc_params *mrc_params, uint8_t channel, in sample_dqs() argument 1049 mrc_params->first_run = 0; in sample_dqs() 1090 void find_rising_edge(struct mrc_params *mrc_params, uint32_t delay[], in find_rising_edge() argument 1107 mrc_params->first_run = 1; in find_rising_edge() 1254 uint32_t byte_lane_mask(struct mrc_params *mrc_params) in byte_lane_mask() argument 1283 uint32_t check_rw_coarse(struct mrc_params *mrc_params, uint32_t address) in check_rw_coarse() argument 1288 if (mrc_params->hte_setup) { in check_rw_coarse() 1289 mrc_params->hte_setup = 0; in check_rw_coarse() 1307 uint32_t check_bls_ex(struct mrc_params *mrc_params, uint32_t address) in check_bls_ex() argument 1313 mrc_params->hte_setup = 0; in check_bls_ex() [all …]
|
/u-boot/arch/x86/include/asm/arch-quark/ |
A D | mrc.h | 108 struct mrc_params { struct 167 void (*init_fn)(struct mrc_params *mrc_params); argument 184 void mrc_init(struct mrc_params *mrc_params);
|