summaryrefslogtreecommitdiffstats
path: root/board/atmel/sama5d4ek/sama5d4ek.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/atmel/sama5d4ek/sama5d4ek.c')
-rw-r--r--board/atmel/sama5d4ek/sama5d4ek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/atmel/sama5d4ek/sama5d4ek.c b/board/atmel/sama5d4ek/sama5d4ek.c
index de4291f94a..357b223e1b 100644
--- a/board/atmel/sama5d4ek/sama5d4ek.c
+++ b/board/atmel/sama5d4ek/sama5d4ek.c
@@ -386,7 +386,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);
OpenPOWER on IntegriCloud