From ef0f565cfbf897b11fcb8afbb79f7418bb1caaa1 Mon Sep 17 00:00:00 2001 From: andrewfish Date: Fri, 30 Apr 2010 20:14:14 +0000 Subject: [PATCH] Add a .h file for Omap3530 DMA engine. So far just register addresses git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10451 6f19259b-4bc3-4df7-8a09-765794883524 --- Omap35xxPkg/Include/Omap3530/Omap3530.h | 2 ++ Omap35xxPkg/Include/Omap3530/Omap3530Dma.h | 34 ++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100755 Omap35xxPkg/Include/Omap3530/Omap3530Dma.h diff --git a/Omap35xxPkg/Include/Omap3530/Omap3530.h b/Omap35xxPkg/Include/Omap3530/Omap3530.h index 39069192eb..1cf99eb036 100644 --- a/Omap35xxPkg/Include/Omap3530/Omap3530.h +++ b/Omap35xxPkg/Include/Omap3530/Omap3530.h @@ -25,6 +25,8 @@ #include "Omap3530I2c.h" #include "Omap3530PadConfiguration.h" #include "Omap3530Gpmc.h" +#include "Omap3530Dma.h" + //CONTROL_PBIAS_LITE #define CONTROL_PBIAS_LITE 0x48002520 diff --git a/Omap35xxPkg/Include/Omap3530/Omap3530Dma.h b/Omap35xxPkg/Include/Omap3530/Omap3530Dma.h new file mode 100755 index 0000000000..8f18d5d704 --- /dev/null +++ b/Omap35xxPkg/Include/Omap3530/Omap3530Dma.h @@ -0,0 +1,34 @@ +/** @file + + Copyright (c) 2008 - 2010, Apple Inc. All rights reserved.
+ + This program and the accompanying materials + are licensed and made available under the terms and conditions of the BSD License + which accompanies this distribution. The full text of the license may be found at + http://opensource.org/licenses/bsd-license.php + + THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + +**/ + +#ifndef __OMAP3530DMA_H__ +#define __OMAP3530DMA_H__ + +#define DMA4_IRQENABLE_L(_i) (0x48056018 + (0x4*(i))) + +#define DMA4_CCR(_i) (0x48056080 + (0x60*(i))) +#define DMA4_CICR(_i) (0x48056088 + (0x60*(i))) +#define DMA4_CSDP(_i) (0x48056090 + (0x60*(i))) +#define DMA4_CEN(_i) (0x48056094 + (0x60*(i))) +#define DMA4_CFN(_i) (0x48056098 + (0x60*(i))) +#define DMA4_CSSA(_i) (0x4805609c + (0x60*(i))) +#define DMA4_CDSA(_i) (0x480560a0 + (0x60*(i))) +#define DMA4_CSE(_i) (0x480560a4 + (0x60*(i))) +#define DMA4_CSF(_i) (0x480560a8 + (0x60*(i))) +#define DMA4_CDE(_i) (0x480560ac + (0x60*(i))) + + + +#endif + -- 2.39.2