Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/ram/rockchip/
H A Dsdram_rk3399.c114 const struct rk3399_sdram_channel *sdram_ch = in set_memory_map() local
123 if (sdram_ch->ddrconfig < 2 || sdram_ch->ddrconfig == 4) in set_memory_map()
125 else if (sdram_ch->ddrconfig == 3) in set_memory_map()
130 cs_map = (sdram_ch->rank > 1) ? 3 : 1; in set_memory_map()
131 reduc = (sdram_ch->bw == 2) ? 0 : 1; in set_memory_map()
134 clrsetbits_le32(&denali_ctl[191], 0xF, (12 - sdram_ch->col)); in set_memory_map()
136 ((3 - sdram_ch->bk) << 16) | in set_memory_map()
143 clrsetbits_le32(&denali_pi[199], 0xF, (12 - sdram_ch->col)); in set_memory_map()
147 ((3 - sdram_ch->bk) << 16) | in set_memory_map()
151 if ((sdram_ch->rank == 1) && (sdram_params->base.dramtype == DDR3)) in set_memory_map()