]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Add a .h file for Omap3530 DMA engine. So far just register addresses
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 30 Apr 2010 20:14:14 +0000 (20:14 +0000)
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 30 Apr 2010 20:14:14 +0000 (20:14 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10451 6f19259b-4bc3-4df7-8a09-765794883524

Omap35xxPkg/Include/Omap3530/Omap3530.h
Omap35xxPkg/Include/Omap3530/Omap3530Dma.h [new file with mode: 0755]

index 39069192eb023e727737dc7de503a15e82151747..1cf99eb036b4730f1663e16d951ad2c2f59d3324 100644 (file)
@@ -25,6 +25,8 @@
 #include "Omap3530I2c.h"
 #include "Omap3530PadConfiguration.h"
 #include "Omap3530Gpmc.h"
 #include "Omap3530I2c.h"
 #include "Omap3530PadConfiguration.h"
 #include "Omap3530Gpmc.h"
+#include "Omap3530Dma.h"
+
 
 //CONTROL_PBIAS_LITE
 #define CONTROL_PBIAS_LITE    0x48002520
 
 //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 (executable)
index 0000000..8f18d5d
--- /dev/null
@@ -0,0 +1,34 @@
+/** @file
+
+  Copyright (c) 2008 - 2010, Apple Inc. All rights reserved.<BR>
+
+  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 
+