diff options
author | Erik van Luijk <evanluijk@interact.nl> | 2015-08-13 15:43:19 +0200 |
---|---|---|
committer | Andreas Bießmann <andreas.devel@googlemail.com> | 2015-08-21 15:47:03 +0200 |
commit | 6560491fe5acd2f150853efdd5d9bd714a93374c (patch) | |
tree | a5470e0aa3db427188d224bb40ad61c5d7d03bcd /board/siemens | |
parent | 0c01c3e876c0db59b4075a4a7550020f0ea25981 (diff) |
arm: at91: at91sam9m10g45ek/corvus remove useless chip select 1 init
On these boards the DDR is connected to a dedicated controller and not
to chip select 1 of the EBI.
Signed-off-by: Erik van Luijk <evanluijk@interact.nl>
Tested-by: Erik van Luijk <evanluijk@interact.nl>
Diffstat (limited to 'board/siemens')
-rw-r--r-- | board/siemens/corvus/board.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/board/siemens/corvus/board.c b/board/siemens/corvus/board.c index 9001fcbcf50..d74743f74cb 100644 --- a/board/siemens/corvus/board.c +++ b/board/siemens/corvus/board.c @@ -144,21 +144,13 @@ static void ddr2_conf(struct atmel_mpddr *ddr2) void mem_init(void) { struct at91_pmc *pmc = (struct at91_pmc *)ATMEL_BASE_PMC; - struct at91_matrix *mat = (struct at91_matrix *)ATMEL_BASE_MATRIX; struct atmel_mpddr ddr2; - unsigned long csa; ddr2_conf(&ddr2); /* enable DDR2 clock */ writel(0x4, &pmc->scer); - /* Chip select 1 is for DDR2/SDRAM */ - csa = readl(&mat->ebicsa); - csa |= AT91_MATRIX_EBI_CS1A_SDRAMC; - csa &= ~AT91_MATRIX_EBI_VDDIOMSEL_3_3V; - writel(csa, &mat->ebicsa); - /* DDRAM2 Controller initialize */ ddr2_init(ATMEL_BASE_DDRSDRC0, ATMEL_BASE_CS6, &ddr2); } |