summaryrefslogtreecommitdiff
path: root/board/siemens/corvus
diff options
context:
space:
mode:
authorErik van Luijk <evanluijk@interact.nl>2015-08-13 15:43:18 +0200
committerAndreas Bießmann <andreas.devel@googlemail.com>2015-08-21 15:47:02 +0200
commit0c01c3e876c0db59b4075a4a7550020f0ea25981 (patch)
tree2cfb8af2d6351192ee05826fd1b98870a0f0a023 /board/siemens/corvus
parent8d77576371381ade83de475bb639949b44941e8c (diff)
arm: at91: mpddr: allow multiple DDR controllers
The mpddr.c depends on ATMEL_BASE_MPDDRC for the base address to configure the controller. This cannot be used when there is more than one controller (i.e. AT91SAM9G45, AT91SAM9M10). Signed-off-by: Erik van Luijk <evanluijk@interact.nl> [remove 'new blank line at EOF'] Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'board/siemens/corvus')
-rw-r--r--board/siemens/corvus/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/siemens/corvus/board.c b/board/siemens/corvus/board.c
index f3f6dae459..9001fcbcf5 100644
--- a/board/siemens/corvus/board.c
+++ b/board/siemens/corvus/board.c
@@ -160,7 +160,7 @@ void mem_init(void)
writel(csa, &mat->ebicsa);
/* DDRAM2 Controller initialize */
- ddr2_init(ATMEL_BASE_CS6, &ddr2);
+ ddr2_init(ATMEL_BASE_DDRSDRC0, ATMEL_BASE_CS6, &ddr2);
}
#endif