blob: f3add6e9e43194e6c75cc5e3cadfc3584284008b [file] [log] [blame]
/*****************************************************************************
* Copyright Statement:
* --------------------
* This software is protected by Copyright and the information contained
* herein is confidential. The software may not be copied and the information
* contained herein may not be used or disclosed except with the written
* permission of MediaTek Inc. (C) 2005
*
* BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
* THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
* RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
* AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
* NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
* SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
* SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
* THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
* NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
* SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
*
* BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
* LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
* AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
* OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
* MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
*
* THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
* WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
* LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
* RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
* THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
*
*****************************************************************************/
/*******************************************************************************
* Filename:
* ---------
* emimpu.c
*
* Project:
* --------
* TK6291
*
* Description:
* ------------
* This file implements EMIMPU handler
*
* Author:
* -------
* -------
*
* ==========================================================================
* $Log$
*
* 07 20 2018 janne.mahosenaho
* [MOLY00340247] [KAL] Coding Convention change
* [KAL] Coding Convention change
*
* 03 02 2016 janne.mahosenaho
* [MOLY00167211] Cache driver cleanup for Elbrus
* cache driver cleanup for Elbrus
*
* 01 22 2016 alva.li
* [MOLY00160521] emimpu violate MSBB SW interface including rule check
* modify for MSBB SW interface including rule check
*
* 08 20 2015 alva.li
* [MOLY00138240] modify umoly emimpu code for 6292 build error
* add EMI_MPU_VIO_INFO in emimpu.h
*
* 08 20 2015 alva.li
* [MOLY00138240] modify umoly emimpu code for 6292 build error
* Delete build error emimpu code
*
* 05 05 2015 yaohua.liu
* [MOLY00107927] [TK6291] Add emimpu module to UMOLY
* fix RMPU master id display error.
*
* 04 28 2015 yaohua.liu
* [MOLY00107927] [TK6291] Add emimpu module to UMOLY
* change output API to kal_assert_trace. (from QMei)
*
* 04 28 2015 yaohua.liu
* [MOLY00107927] [TK6291] Add emimpu module to UMOLY
* fix emimpu_dump_status() API undefinition in SP
*
* 04 22 2015 yaohua.liu
* [MOLY00107927] [TK6291] Add emimpu module to UMOLY
* fix NULL pointer structure issue.
*
* 04 20 2015 yaohua.liu
* [MOLY00107927] [TK6291] Add emimpu module to UMOLY
*
* 11 14 2013 yaohua.liu
* [MOLY00046471] [MT6290][Driver][RMPU] Re-architecture EMIMPU feature
*
* 09 27 2013 yaohua.liu
* [MOLY00037377] [MT6290][Driver] Enable RMPU Assert Feature
* Add emimpu_violation_ctl() API to control interrupt mask and bypass assert.
*
* 09 16 2013 yaohua.liu
* [MOLY00037871] [MT6290][Driver][RMPU] Add EMI clock control in RMPU driver
*
* 09 11 2013 yaohua.liu
* [MOLY00037377] [MT6290][Driver] Enable RMPU Assert Feature
* check DHL_SUPPORT in emimpu.c
*
* 09 11 2013 yaohua.liu
* [MOLY00037377] [MT6290][Driver] Enable RMPU Assert Feature
* Update RMPU implements code.
*
****************************************************************************/
#include "kal_public_defs.h"
#include "kal_public_api.h"
#include "kal_general_types.h"
#include "kal_internal_def.h"
#include "kal_internal_api.h"
#include "reg_base.h"
#include "init.h"
#include "emimpu.h"
#include "intrCtrl.h"
#include "drv_hisr.h"
#include "mpu.h"
#if defined(__DHL_MODULE__)
#include "dhl_trace.h"
#endif
//#if defined(__MTK_TARGET__)
//remove for MSBB #include "SST_trc.h"
//#endif /* __MTK_TARGET__ */
//#if defined(MT6290) && defined(EMI_MPU_ENABLE)
void emimpu_dump_status(EMI_MPU_VIO_INFO *emi_mpu_vio_info) {}
void emimpu_lisr(void) {}
void emimpu_init(void) {}