aboutsummaryrefslogtreecommitdiffstats
path: root/cpu/mpc86xx
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-06-30 17:15:47 -0500
committerKumar Gala <galak@kernel.crashing.org>2009-07-01 23:12:00 -0500
commit79f4333ceb059049b3ee560167d6cbaec493695f (patch)
tree47f25890842c5d5895159978e197ad7f38d45695 /cpu/mpc86xx
parent191c7118592cd182f2dc7f46b4f72d9bed0e2c76 (diff)
downloadu-boot-midas-79f4333ceb059049b3ee560167d6cbaec493695f.tar.gz
u-boot-midas-79f4333ceb059049b3ee560167d6cbaec493695f.tar.bz2
u-boot-midas-79f4333ceb059049b3ee560167d6cbaec493695f.zip
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 'cpu/mpc86xx')
-rw-r--r--cpu/mpc86xx/cpu_init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpu/mpc86xx/cpu_init.c b/cpu/mpc86xx/cpu_init.c
index 49528aae71..341e815961 100644
--- a/cpu/mpc86xx/cpu_init.c
+++ b/cpu/mpc86xx/cpu_init.c
@@ -113,6 +113,9 @@ void cpu_init_f(void)
memctl->or7 = CONFIG_SYS_OR7_PRELIM;
memctl->br7 = CONFIG_SYS_BR7_PRELIM;
#endif
+#if defined(CONFIG_FSL_DMA)
+ dma_init();
+#endif
/* enable the timebase bit in HID0 */
set_hid0(get_hid0() | 0x4000000);