Home
last modified time | relevance | path

Searched refs:sdram_ch (Results 1 – 2 of 2) sorted by relevance

/u-boot/drivers/ram/rockchip/
A Dsdram_rk3328.c39 struct rk3328_sdram_channel sdram_ch; variable
317 sdram_msch_config(dram->msch, &sdram_ch.noc_timings); in dram_all_config()
480 memcpy(&sdram_ch, &sdram_params->ch, in sdram_init_detect()
491 sdram_ch.noc_timings.ddrtiming.b.bwratio = 0; in sdram_init_detect()
493 sdram_ch.noc_timings.ddrtiming.b.bwratio = 1; in sdram_init_detect()
A Dsdram_rk3399.c291 const struct rk3399_sdram_channel *sdram_ch = &params->ch[channel]; in set_memory_map() local
299 if (sdram_ch->cap_info.ddrconfig < 2 || in set_memory_map()
300 sdram_ch->cap_info.ddrconfig == 4) in set_memory_map()
302 else if (sdram_ch->cap_info.ddrconfig == 3 || in set_memory_map()
303 sdram_ch->cap_info.ddrconfig == 5) in set_memory_map()
308 cs_map = (sdram_ch->cap_info.rank > 1) ? 3 : 1; in set_memory_map()
309 reduc = (sdram_ch->cap_info.bw == 2) ? 0 : 1; in set_memory_map()
314 ((3 - sdram_ch->cap_info.bk) << 16) | in set_memory_map()
321 clrsetbits_le32(&denali_pi[199], 0xF, (12 - sdram_ch->cap_info.col)); in set_memory_map()
325 ((3 - sdram_ch->cap_info.bk) << 16) | in set_memory_map()
[all …]

Completed in 8 milliseconds