Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/ram/aspeed/
H A Dsdram_ast2600.c477 u32 vga_hwconf; in ast2600_sdrammc_get_vga_mem_size() local
480 vga_hwconf = (readl(info->scu + AST_SCU_HW_STRAP) & in ast2600_sdrammc_get_vga_mem_size()
484 if (vga_hwconf == 0) { in ast2600_sdrammc_get_vga_mem_size()
485 vga_hwconf = 1; in ast2600_sdrammc_get_vga_mem_size()
486 writel(vga_hwconf << SCU_HWSTRAP_VGAMEM_SHIFT, in ast2600_sdrammc_get_vga_mem_size()
491 ((vga_hwconf << SDRAM_CONF_VGA_SIZE_SHIFT) & in ast2600_sdrammc_get_vga_mem_size()
498 return vga_mem_size_base << vga_hwconf; in ast2600_sdrammc_get_vga_mem_size()
H A Dsdram_ast2500.c201 u32 vga_hwconf = (readl(&info->scu->hwstrap) & SCU_HWSTRAP_VGAMEM_MASK) in ast2500_sdrammc_get_vga_mem_size() local
204 return vga_mem_size_base << vga_hwconf; in ast2500_sdrammc_get_vga_mem_size()