summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/arm926ejs
diff options
context:
space:
mode:
authorVladimir Zapolskiy <vz@mleia.com>2015-08-27 03:16:48 +0300
committerTom Rini <trini@konsulko.com>2015-09-11 14:05:35 -0400
commitbab8d1e2280f039fbbb3039ec4750e54091b6113 (patch)
tree52d0faf44c994f1d628b52ccca1ebc2763c9dc0d /arch/arm/cpu/arm926ejs
parentc12e0d9317cf9a86622a32c7060b62f3b0f151f2 (diff)
downloadblackbird-obmc-uboot-bab8d1e2280f039fbbb3039ec4750e54091b6113.tar.gz
blackbird-obmc-uboot-bab8d1e2280f039fbbb3039ec4750e54091b6113.zip
lpc32xx: remove duplicated DMA_CLK_ENABLE bit definition
Because there is an originally defined CLK_DMA_ENABLE macro in clk.h, no reason to add another DMA_CLK_ENABLE macro with the same value. Remove DMA_CLK_ENABLE, since it does not follow naming convention from the code, this implies renaming of DMA_CLK_ENABLE to CLK_DMA_ENABLE in lpc32xx/devices.c file. Signed-off-by: Vladimir Zapolskiy <vz@mleia.com> Tested-by: Sylvain Lemieux <slemieux@tycoint.com>
Diffstat (limited to 'arch/arm/cpu/arm926ejs')
-rw-r--r--arch/arm/cpu/arm926ejs/lpc32xx/devices.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/cpu/arm926ejs/lpc32xx/devices.c b/arch/arm/cpu/arm926ejs/lpc32xx/devices.c
index d9fa2807d7..b1c3f8f4ad 100644
--- a/arch/arm/cpu/arm926ejs/lpc32xx/devices.c
+++ b/arch/arm/cpu/arm926ejs/lpc32xx/devices.c
@@ -44,8 +44,7 @@ void lpc32xx_uart_init(unsigned int uart_id)
void lpc32xx_dma_init(void)
{
/* Enable DMA interface */
- writel(DMA_CLK_ENABLE, &clk->dmaclk_ctrl);
-
+ writel(CLK_DMA_ENABLE, &clk->dmaclk_ctrl);
}
void lpc32xx_mac_init(void)
OpenPOWER on IntegriCloud