From 66052e8b119144ba50d0d22e4e79c95ada9487c8 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Tue, 10 Apr 2012 10:28:18 -0700 Subject: [PATCH] daisy: Initialize DMA library We want to use this for drivers, so start it up on boot. BUG=chromium-os:28925 TEST=build on daisy and discovery; run on daisy Change-Id: Ie69fb9d6df75150dd3903fe37a9b72c0a663f045 Signed-off-by: Simon Glass --- board/daisy/board.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/daisy/board.c b/board/daisy/board.c index c2a885b01c..3792139276 100644 --- a/board/daisy/board.c +++ b/board/daisy/board.c @@ -6,6 +6,7 @@ #include "board.h" #include "common.h" +#include "dma.h" #include "gpio.h" #include "registers.h" #include "util.h" @@ -42,6 +43,8 @@ const struct gpio_info gpio_list[GPIO_COUNT] = { void configure_board(void) { + dma_init(); + /* Enable all GPIOs clocks * TODO: more fine-grained enabling for power saving */