| /******************************************************************************* |
| Copyright (C) Marvell International Ltd. and its affiliates |
| |
| ******************************************************************************** |
| Marvell GPL License Option |
| |
| If you received this File from Marvell, you may opt to use, redistribute and/or |
| modify this File in accordance with the terms and conditions of the General |
| Public License Version 2, June 1991 (the "GPL License"), a copy of which is |
| available along with the File in the license.txt file or by writing to the Free |
| Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 or |
| on the worldwide web at http://www.gnu.org/licenses/gpl.txt. |
| |
| THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE IMPLIED |
| WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE ARE EXPRESSLY |
| DISCLAIMED. The GPL License provides additional details about this warranty |
| disclaimer. |
| |
| *******************************************************************************/ |
| /******************************************************************************* |
| * mvSysTwsiConfig.h - Marvell TWSI unit specific configurations |
| * |
| * DESCRIPTION: |
| * None. |
| * |
| * DEPENDENCIES: |
| * None. |
| * |
| *******************************************************************************/ |
| |
| #include "mvSysHwConfig.h" |
| /* |
| ** Base address for TWSI registers. |
| */ |
| #define MV_TWSI_SLAVE_REGS_BASE(unit) (MV_TWSI_SLAVE_REGS_OFFSET(unit)) |
| |
| /* |
| ** Specific definition for Main CPU interrupt cause register. |
| ** Needed for TWSI operation completion monitoring. |
| */ |
| #define MV_TWSI_CPU_MAIN_INT_CASUE(chNum) TWSI_CPU_HIGH_INT_CAUSE_REG |
| /*((chNum == 1) ? TWSI_CPU_HIGH_INT_CAUSE_REG : TWSI_CPU_MAIN_INT_CAUSE_REG)*/ |