summaryrefslogtreecommitdiff
path: root/board/atmel/sama5d3xek/sama5d3xek.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/atmel/sama5d3xek/sama5d3xek.c')
-rw-r--r--board/atmel/sama5d3xek/sama5d3xek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/atmel/sama5d3xek/sama5d3xek.c b/board/atmel/sama5d3xek/sama5d3xek.c
index d6e7e163bdf..2bd436a2d83 100644
--- a/board/atmel/sama5d3xek/sama5d3xek.c
+++ b/board/atmel/sama5d3xek/sama5d3xek.c
@@ -430,7 +430,7 @@ void mem_init(void)
/* enable MPDDR clock */
at91_periph_clk_enable(ATMEL_ID_MPDDRC);
- writel(0x4, &pmc->scer);
+ writel(AT91_PMC_DDR, &pmc->scer);
/* DDRAM2 Controller initialize */
ddr2_init(ATMEL_BASE_MPDDRC, ATMEL_BASE_DDRCS, &ddr2);