Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/ddr/altera/
H A Dsdram_s10.c144 u32 update_value, io48_value, ddrioctl; in sdram_mmr_init_full() local
246 ddrioctl = hmc_ecc_readl(DDRIOCTRL); in sdram_mmr_init_full()
296 (((ddrioctl == 1) ? 1 : 0) << in sdram_mmr_init_full()
301 ddr_sch_writel(((ddrioctl ? 0 : 1) << in sdram_mmr_init_full()
H A Dsdram_arria10.c256 u32 ddrioctl; in sdram_mmr_init() local
278 ddrioctl = readl(&socfpga_ecc_hmc_base->ddrioctrl); in sdram_mmr_init()
381 (((ddrioctl == 1) ? 1 : 0) << in sdram_mmr_init()
387 writel(((ddrioctl ? 0 : 1) << in sdram_mmr_init()