aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/samsung/exynos5420/dmc_common.c
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@google.com>2013-06-03 13:03:50 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-07-10 21:50:33 +0200
commite6af9296619a8bc1abe0c19268c9d961bf73843f (patch)
tree4f27248c883046fc7ecf254e3c4bb25f8bd2a6de /src/cpu/samsung/exynos5420/dmc_common.c
parenteb9517cce9dfdc042ca1a9a2d7f6dd14d6d4fafc (diff)
PIT: memory setup
Tested and working. Gets us to ramstage. Change-Id: Ib9ea4a6c912e8152246aaf4f1f084a4aa1626053 Signed-off-by: Ronald G. Minnich <rminnich@google.com> Signed-off-by: Gabe Black <gabeblack@chromium.org> Reviewed-on: http://review.coreboot.org/3677 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/cpu/samsung/exynos5420/dmc_common.c')
-rw-r--r--src/cpu/samsung/exynos5420/dmc_common.c11
1 files changed, 1 insertions, 10 deletions
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 <console/console.h>
#include <arch/io.h>
#include <delay.h>
-#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);
-}
-