diff options
author | Peter Tyser <ptyser@xes-inc.com> | 2009-06-30 17:15:47 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2009-07-01 23:12:00 -0500 |
commit | 79f4333ceb059049b3ee560167d6cbaec493695f (patch) | |
tree | 47f25890842c5d5895159978e197ad7f38d45695 /board/mpc8540eval | |
parent | 191c7118592cd182f2dc7f46b4f72d9bed0e2c76 (diff) | |
download | u-boot-imx-79f4333ceb059049b3ee560167d6cbaec493695f.zip u-boot-imx-79f4333ceb059049b3ee560167d6cbaec493695f.tar.gz u-boot-imx-79f4333ceb059049b3ee560167d6cbaec493695f.tar.bz2 |
8xxx: Move dma_init() call to common code
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/mpc8540eval')
-rw-r--r-- | board/mpc8540eval/mpc8540eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/mpc8540eval/mpc8540eval.c b/board/mpc8540eval/mpc8540eval.c index ed6bbb4..04a7470 100644 --- a/board/mpc8540eval/mpc8540eval.c +++ b/board/mpc8540eval/mpc8540eval.c @@ -140,7 +140,7 @@ phys_size_t initdram (int board_type) uint *p = 0; uint i = 0; volatile ccsr_ddr_t *ddr= (void *)(CONFIG_SYS_MPC85xx_DDR_ADDR); - dma_init(); + for (*p = 0; p < (uint *)(8 * 1024); p++) { if (((unsigned int)p & 0x1f) == 0) { dcbz(p); } *p = (unsigned int)0xdeadbeef; |