projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
arm: at91: pmc: replace the constant with a define in at91_pmc.h
[oweals/u-boot.git]
/
board
/
atmel
/
sama5d4_xplained
/
sama5d4_xplained.c
diff --git
a/board/atmel/sama5d4_xplained/sama5d4_xplained.c
b/board/atmel/sama5d4_xplained/sama5d4_xplained.c
index 7d447fe76b241b7a621fe1b985b67f0e1387d189..db4533148049a6ffce22cff1a92e82dc5cab3d19 100644
(file)
--- a/
board/atmel/sama5d4_xplained/sama5d4_xplained.c
+++ b/
board/atmel/sama5d4_xplained/sama5d4_xplained.c
@@
-390,10
+390,10
@@
void mem_init(void)
/* enable MPDDR clock */
at91_periph_clk_enable(ATMEL_ID_MPDDRC);
/* enable MPDDR clock */
at91_periph_clk_enable(ATMEL_ID_MPDDRC);
- writel(
0x4
, &pmc->scer);
+ writel(
AT91_PMC_DDR
, &pmc->scer);
/* DDRAM2 Controller initialize */
/* DDRAM2 Controller initialize */
- ddr2_init(ATMEL_BASE_DDRCS, &ddr2);
+ ddr2_init(ATMEL_BASE_
MPDDRC, ATMEL_BASE_
DDRCS, &ddr2);
}
void at91_pmc_init(void)
}
void at91_pmc_init(void)