Home
last modified time | relevance | path

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

/u-boot/drivers/ram/rockchip/
A Dsdram_common.c289 u32 row, col, bk, bw, cs_cap, cs; in sdram_detect_dbw() local
300 cs_cap = (1 << (row + col + bk + bw - 20)); in sdram_detect_dbw()
302 if (cs_cap <= 0x2000000) /* 256Mb */ in sdram_detect_dbw()
304 else if (cs_cap <= 0x10000000) /* 2Gb */ in sdram_detect_dbw()
306 else if (cs_cap <= 0x40000000) /* 8Gb */ in sdram_detect_dbw()
312 cs_cap = (1 << (row + col + bk + bw - 20)); in sdram_detect_dbw()
313 if (cs_cap <= 0x2000000) /* 256Mb */ in sdram_detect_dbw()
315 else if (cs_cap <= 0x10000000) /* 2Gb */ in sdram_detect_dbw()
317 else if (cs_cap <= 0x40000000) /* 8Gb */ in sdram_detect_dbw()
A Dsdram_px30.c391 u64 cs_cap[2]; in sdram_msch_config() local
393 cs_cap[0] = sdram_get_cs_cap(cap_info, 0, base->dramtype); in sdram_msch_config()
394 cs_cap[1] = sdram_get_cs_cap(cap_info, 1, base->dramtype); in sdram_msch_config()
395 writel(((((cs_cap[1] >> 20) / 64) & 0xff) << 8) | in sdram_msch_config()
396 (((cs_cap[0] >> 20) / 64) & 0xff), in sdram_msch_config()

Completed in 9 milliseconds