From e6af9296619a8bc1abe0c19268c9d961bf73843f Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Mon, 3 Jun 2013 13:03:50 -0700 Subject: PIT: memory setup Tested and working. Gets us to ramstage. Change-Id: Ib9ea4a6c912e8152246aaf4f1f084a4aa1626053 Signed-off-by: Ronald G. Minnich Signed-off-by: Gabe Black Reviewed-on: http://review.coreboot.org/3677 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/cpu/samsung/exynos5420/dmc_common.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'src/cpu/samsung/exynos5420/dmc_common.c') diff --git a/src/cpu/samsung/exynos5420/dmc_common.c b/src/cpu/samsung/exynos5420/dmc_common.c index 3abc3d37f2..bef76d1c70 100644 --- a/src/cpu/samsung/exynos5420/dmc_common.c +++ b/src/cpu/samsung/exynos5420/dmc_common.c @@ -23,10 +23,9 @@ #include #include #include -#include "setup.h" #include "dmc.h" -#include "clk.h" #include "setup.h" +#include "clk.h" #define ZQ_INIT_TIMEOUT 10000 @@ -173,11 +172,3 @@ void dmc_config_prech(struct mem_timings *mem, struct exynos5_dmc *dmc) } } -void dmc_config_memory(struct mem_timings *mem, struct exynos5_dmc *dmc) -{ - writel(mem->memconfig, &dmc->memconfig0); - writel(mem->memconfig, &dmc->memconfig1); - writel(DMC_MEMBASECONFIG0_VAL, &dmc->membaseconfig0); - writel(DMC_MEMBASECONFIG1_VAL, &dmc->membaseconfig1); -} - -- cgit v1.2.3