diff options
author | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-04-30 20:14:14 +0000 |
---|---|---|
committer | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-04-30 20:14:14 +0000 |
commit | ef0f565cfbf897b11fcb8afbb79f7418bb1caaa1 (patch) | |
tree | 06d68b2410f78190ecb609362eab74a8ff2b9873 | |
parent | 8c6151f2badb91eb735943474e47cf0db221acb6 (diff) | |
download | edk2-ef0f565cfbf897b11fcb8afbb79f7418bb1caaa1.tar.gz edk2-ef0f565cfbf897b11fcb8afbb79f7418bb1caaa1.tar.bz2 edk2-ef0f565cfbf897b11fcb8afbb79f7418bb1caaa1.zip |
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
-rw-r--r-- | Omap35xxPkg/Include/Omap3530/Omap3530.h | 2 | ||||
-rwxr-xr-x | Omap35xxPkg/Include/Omap3530/Omap3530Dma.h | 34 |
2 files changed, 36 insertions, 0 deletions
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.<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 + |