Searched refs:os_reg2_val (Results 1 – 1 of 1) sorted by relevance
17 uint32_t os_reg2_val, i; in dram_init() local19 os_reg2_val = mmio_read_32(PMUGRF_BASE + PMUGRF_OSREG(2)); in dram_init()20 sdram_config.dramtype = SYS_REG_DEC_DDRTYPE(os_reg2_val); in dram_init()21 sdram_config.num_channels = SYS_REG_DEC_NUM_CH(os_reg2_val); in dram_init()29 if (!(SYS_REG_DEC_CHINFO(os_reg2_val, i))) in dram_init()32 ch->rank = SYS_REG_DEC_RANK(os_reg2_val, i); in dram_init()33 ch->col = SYS_REG_DEC_COL(os_reg2_val, i); in dram_init()34 ch->bk = SYS_REG_DEC_BK(os_reg2_val, i); in dram_init()35 ch->bw = SYS_REG_DEC_BW(os_reg2_val, i); in dram_init()36 ch->dbw = SYS_REG_DEC_DBW(os_reg2_val, i); in dram_init()[all …]