-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "staging: tidspbridge - remove hw directory"
This reverts commit 053fdb8. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
- Loading branch information
Felipe Contreras
authored and
Omar Ramirez Luna
committed
Nov 11, 2010
1 parent
f5bd96b
commit 58c1ceb
Showing
13 changed files
with
1,148 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* EasiGlobal.h | ||
* | ||
* DSP-BIOS Bridge driver support functions for TI OMAP processors. | ||
* | ||
* Copyright (C) 2007 Texas Instruments, Inc. | ||
* | ||
* This package is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
* | ||
* THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR | ||
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED | ||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. | ||
*/ | ||
|
||
#ifndef _EASIGLOBAL_H | ||
#define _EASIGLOBAL_H | ||
#include <linux/types.h> | ||
|
||
/* | ||
* DEFINE: READ_ONLY, WRITE_ONLY & READ_WRITE | ||
* | ||
* DESCRIPTION: Defines used to describe register types for EASI-checker tests. | ||
*/ | ||
|
||
#define READ_ONLY 1 | ||
#define WRITE_ONLY 2 | ||
#define READ_WRITE 3 | ||
|
||
/* | ||
* MACRO: _DEBUG_LEVEL1_EASI | ||
* | ||
* DESCRIPTION: A MACRO which can be used to indicate that a particular beach | ||
* register access function was called. | ||
* | ||
* NOTE: We currently dont use this functionality. | ||
*/ | ||
#define _DEBUG_LEVEL1_EASI(easi_num) ((void)0) | ||
|
||
#endif /* _EASIGLOBAL_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
/* | ||
* MMUAccInt.h | ||
* | ||
* DSP-BIOS Bridge driver support functions for TI OMAP processors. | ||
* | ||
* Copyright (C) 2007 Texas Instruments, Inc. | ||
* | ||
* This package is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
* | ||
* THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR | ||
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED | ||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. | ||
*/ | ||
|
||
#ifndef _MMU_ACC_INT_H | ||
#define _MMU_ACC_INT_H | ||
|
||
/* Mappings of level 1 EASI function numbers to function names */ | ||
|
||
#define EASIL1_MMUMMU_SYSCONFIG_READ_REGISTER32 (MMU_BASE_EASIL1 + 3) | ||
#define EASIL1_MMUMMU_SYSCONFIG_IDLE_MODE_WRITE32 (MMU_BASE_EASIL1 + 17) | ||
#define EASIL1_MMUMMU_SYSCONFIG_AUTO_IDLE_WRITE32 (MMU_BASE_EASIL1 + 39) | ||
#define EASIL1_MMUMMU_IRQSTATUS_WRITE_REGISTER32 (MMU_BASE_EASIL1 + 51) | ||
#define EASIL1_MMUMMU_IRQENABLE_READ_REGISTER32 (MMU_BASE_EASIL1 + 102) | ||
#define EASIL1_MMUMMU_IRQENABLE_WRITE_REGISTER32 (MMU_BASE_EASIL1 + 103) | ||
#define EASIL1_MMUMMU_WALKING_STTWL_RUNNING_READ32 (MMU_BASE_EASIL1 + 156) | ||
#define EASIL1_MMUMMU_CNTLTWL_ENABLE_READ32 (MMU_BASE_EASIL1 + 174) | ||
#define EASIL1_MMUMMU_CNTLTWL_ENABLE_WRITE32 (MMU_BASE_EASIL1 + 180) | ||
#define EASIL1_MMUMMU_CNTLMMU_ENABLE_WRITE32 (MMU_BASE_EASIL1 + 190) | ||
#define EASIL1_MMUMMU_FAULT_AD_READ_REGISTER32 (MMU_BASE_EASIL1 + 194) | ||
#define EASIL1_MMUMMU_TTB_WRITE_REGISTER32 (MMU_BASE_EASIL1 + 198) | ||
#define EASIL1_MMUMMU_LOCK_READ_REGISTER32 (MMU_BASE_EASIL1 + 203) | ||
#define EASIL1_MMUMMU_LOCK_WRITE_REGISTER32 (MMU_BASE_EASIL1 + 204) | ||
#define EASIL1_MMUMMU_LOCK_BASE_VALUE_READ32 (MMU_BASE_EASIL1 + 205) | ||
#define EASIL1_MMUMMU_LOCK_CURRENT_VICTIM_READ32 (MMU_BASE_EASIL1 + 209) | ||
#define EASIL1_MMUMMU_LOCK_CURRENT_VICTIM_WRITE32 (MMU_BASE_EASIL1 + 211) | ||
#define EASIL1_MMUMMU_LOCK_CURRENT_VICTIM_SET32 (MMU_BASE_EASIL1 + 212) | ||
#define EASIL1_MMUMMU_LD_TLB_READ_REGISTER32 (MMU_BASE_EASIL1 + 213) | ||
#define EASIL1_MMUMMU_LD_TLB_WRITE_REGISTER32 (MMU_BASE_EASIL1 + 214) | ||
#define EASIL1_MMUMMU_CAM_WRITE_REGISTER32 (MMU_BASE_EASIL1 + 226) | ||
#define EASIL1_MMUMMU_RAM_WRITE_REGISTER32 (MMU_BASE_EASIL1 + 268) | ||
#define EASIL1_MMUMMU_FLUSH_ENTRY_WRITE_REGISTER32 (MMU_BASE_EASIL1 + 322) | ||
|
||
/* Register offset address definitions */ | ||
#define MMU_MMU_SYSCONFIG_OFFSET 0x10 | ||
#define MMU_MMU_IRQSTATUS_OFFSET 0x18 | ||
#define MMU_MMU_IRQENABLE_OFFSET 0x1c | ||
#define MMU_MMU_WALKING_ST_OFFSET 0x40 | ||
#define MMU_MMU_CNTL_OFFSET 0x44 | ||
#define MMU_MMU_FAULT_AD_OFFSET 0x48 | ||
#define MMU_MMU_TTB_OFFSET 0x4c | ||
#define MMU_MMU_LOCK_OFFSET 0x50 | ||
#define MMU_MMU_LD_TLB_OFFSET 0x54 | ||
#define MMU_MMU_CAM_OFFSET 0x58 | ||
#define MMU_MMU_RAM_OFFSET 0x5c | ||
#define MMU_MMU_GFLUSH_OFFSET 0x60 | ||
#define MMU_MMU_FLUSH_ENTRY_OFFSET 0x64 | ||
/* Bitfield mask and offset declarations */ | ||
#define MMU_MMU_SYSCONFIG_IDLE_MODE_MASK 0x18 | ||
#define MMU_MMU_SYSCONFIG_IDLE_MODE_OFFSET 3 | ||
#define MMU_MMU_SYSCONFIG_AUTO_IDLE_MASK 0x1 | ||
#define MMU_MMU_SYSCONFIG_AUTO_IDLE_OFFSET 0 | ||
#define MMU_MMU_WALKING_ST_TWL_RUNNING_MASK 0x1 | ||
#define MMU_MMU_WALKING_ST_TWL_RUNNING_OFFSET 0 | ||
#define MMU_MMU_CNTL_TWL_ENABLE_MASK 0x4 | ||
#define MMU_MMU_CNTL_TWL_ENABLE_OFFSET 2 | ||
#define MMU_MMU_CNTL_MMU_ENABLE_MASK 0x2 | ||
#define MMU_MMU_CNTL_MMU_ENABLE_OFFSET 1 | ||
#define MMU_MMU_LOCK_BASE_VALUE_MASK 0xfc00 | ||
#define MMU_MMU_LOCK_BASE_VALUE_OFFSET 10 | ||
#define MMU_MMU_LOCK_CURRENT_VICTIM_MASK 0x3f0 | ||
#define MMU_MMU_LOCK_CURRENT_VICTIM_OFFSET 4 | ||
|
||
#endif /* _MMU_ACC_INT_H */ |
Oops, something went wrong.