//SPDX-License-Identifier:MediaTekProprietary
/********************************************************************************************
 *     LEGAL DISCLAIMER
 *
 *     (Header of MediaTek Software/Firmware Release or Documentation)
 *
 *     BY OPENING OR USING 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.
 ************************************************************************************************/
/*! \file Drv_Common.h
*
*  \par LEGAL DISCLAIMER
*
* (Header of MediaTek Software/Firmware Release or Documentation)
*
* BY OPENING OR USING THIS FILE, USER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND
* AGREES THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
* ARE PROVIDED TO USER 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 USER 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 USER'S
* SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
*
* USER HEREBY ACKNOWLEDGES THE CONFIDENTIALITY OF MEDIATEK SOFTWARE AND AGREES
* NOT TO DISCLOSE OR PERMIT DISCLOSURE OF ANY MEDIATEK SOFTWARE TO ANY THIRD
* PARTY OR TO ANY OTHER PERSON, EXCEPT TO DIRECTORS, OFFICERS, EMPLOYEES OF
* USER WHO ARE REQUIRED TO HAVE THE INFORMATION TO CARRY OUT THE PURPOSE OF
* OPENING OR USING THIS FILE.
*
* \par Project
*
*
* \par Description
*    Driver layer common definition.
*
* \par Author_Name
*    Victor Lin
*
* \par Last_Changed
* $Author: hc.yen $
* $Modtime: $
* $Revision: #4 $
*
*/
#if ! defined(DRV_CONFIG_H)
#define DRV_CONFIG_H

#include "section.h"
#include "drv_def.h"

#define CONFIG_UBOOT_SAVEENV_SUPPORT 0
#define CONFIG_NFC_DRV_SUPPORT 0

#define CONFIG_SUPPROT_WNC_NETGEAR_NTV3000 0
#define CONFIG_IRRX_SWITCH  0
#define CONFIG_DRV_QUICK_START_BOOT 0

#define CONFIG_DRV_DENON_DBP2011X_MODEL 0
#define CONFIG_DRV_MCINTOSH_MVP891_MODEL 0

#define CONFIG_DRV_FPGA_BOARD 0
#define CONFIG_DRV_ONLY 0
#define CONFIG_DRV_VERIFY_SUPPORT 0
#define CONFIG_DRV_SEMIHOSTING_SUPPORT 0
#define CONFIG_DRV_BLACKSCREEN_PROC 1

//#if CONFIG_SECTION_BUILD_ARM2
#define CONFIG_DRV_NR_SUPPORT 1
//#endif

#define CONFIG_DRV_SHUT_DOWN_ARM2     0
#define CONFIG_DRV_ENABLE_DCM   0
#define CONFIG_DRV_ENABLE_POST_PROC   0
#define CONFIG_DRV_ENABLE_SIMP_POST_PROC 0

#define CONFIG_DRV_HDWN_SUPPORT     1
#define CONFIG_DRV_WIFI_SUPPORT     0
#define CONFIG_DRV_ALTHD_SUPPORT    0
#define CONFIG_DRV_IFCON_AV_OUT   0

#define CONFIG_DRV_SUPPORT_BLUETOOTH   0

#define CONFIG_DRV_SUPPORT_IPTV    0

#define CONFIG_DRV_GPU_DDI_SUPPORT 0

#define CC_EMULATION            0
#define __MODEL_slt__           0
#define ENABLE_MULTIMEDIA       1
#define SYNC_PES_HEADER     1
#define CONFIG_DRV_PCR_VERIFY       0
#define DEMOD_VERIFY            0
#define PLAYCARD_VERIFY     0
#define PVR_ISR_QUEUE_SUPPORT   0
#define PVR_FIFO_WATER_LV       0
#define SERIAL_TSOUT_VERIFY  0
#define PVR_NEW_CACHE_MECH  0
#define CONFIG_DRV_AUDIO_ONLY_MODEL 0

#define CONFIG_DRV_ISPDIF_IN_SUPPORT 0
#define CONFIG_DRV_KEYBOARD_SUPPORT     0
#define CONFIG_DRV_AUDIO_IN_SUPPORT     0
#define CONFIG_DRI_HBR_USE_I2S_A4SD 0
#define CONFIG_SONY_DRV_AUDIO_IN_SUPPORT        0
#define CONFIG_SONY_DRV_TVS_SUPPORT 0
#define CONFIG_DRV_SPDIF_TYPE_LC89058  0
#define CONFIG_DRV_SPDIF_TYPE_CS8415   1
#define CONFIG_DRV_SPDIF_TYPE_CS8422   2
#define CONFIG_DRV_SPDIF_TYPE_CS8416   3
#define CONFIG_DRV_SPDIF_TYPE_ISPDIF   4
#define CONFIG_DRV_SPDIF_TYPE_NONE     5
#define CONFIG_DRV_HDMI_RX_IN_SUPPORT       0
#define CONFIG_DRV_MIC_SUPPORT              0
#define CONFIG_DRV_MIC_HLCANCEL_SUPPORT 0
#define CONFIG_DRV_AMUTE_TO_AOSDATA2    0
#define CONFIG_DRV_SUPPORT_AOA 0
#define CONFIG_FATS_SUPPORT 0
#define CONFIG_AUD_AWM_EPDL3  0
#if (CONFIG_DRV_ISPDIF_IN_SUPPORT)
#define CONFIG_DRV_SPDIF_TYPE   CONFIG_DRV_SPDIF_TYPE_ISPDIF
#elif (CONFIG_AUD_IN_CS8422_SUPPORT)
#define CONFIG_DRV_SPDIF_TYPE   CONFIG_DRV_SPDIF_TYPE_CS8422
#elif (CONFIG_AUD_IN_CS8416_SUPPORT)
#define CONFIG_DRV_SPDIF_TYPE   CONFIG_DRV_SPDIF_TYPE_CS8416
#elif (CONFIG_AUD_IN_LC89058_SUPPORT)
#define CONFIG_DRV_SPDIF_TYPE   CONFIG_DRV_SPDIF_TYPE_LC89058
#elif(CONFIG_AUD_IN_CS8415_SUPPORT)
#define CONFIG_DRV_SPDIF_TYPE CONFIG_DRV_SPDIF_TYPE_CS8415
#else
#define CONFIG_DRV_SPDIF_TYPE CONFIG_DRV_SPDIF_TYPE_NONE
#endif

#define CONFIG_SUPPORT_MICOM_ON_SS 0

#define CONFIG_DRV_LINUX   0
#define CONFIG_DRV_LINUX_DATA_CONSISTENCY    0

#define CONFIG_DRV_ACON_STANDBY 0
#define CONFIG_DRV_DISABLE_ARM2 0
#define CONFIG_MINI_OS  0

#define CONFIG_DRV_CMM_BOOT 0
#define CONFIG_DRV_CUSTOM_ANIMATION 0
#define CONFIG_FASTLOGO_OPENPL 0
#define CONFIG_DRV_FAST_LOGO 0
#define CONFIG_DRV_FASTBOOT_LOGS_OFF  0
#define CONFIG_DRV_CUSTOMER_FASTLOGO 0
#define CONFIG_DRV_BONDING_ENABLE 0
#define CONFIG_DRV_AVM_ENABLE 0
#define CONFIG_DRV_ANIMATION_ENABLE 0
#define CONFIG_DRV_SUSPEND_TO_DRAM 0
#define CONFIG_DRV_OPWRSB_PU 0
#define CONFIG_DRV_TRAY_IN_ACON 0
#define CONFIG_DRV_FAST_EJECT 0
#define CONFIG_DRV_FAST_EJECT_340 0
#define CONFIG_DRV_DRAM_SIZE 0
#define CONFIG_DRV_DRAM_CLOCK 0
#define CONFIG_DRV_DRAM_2CH 0
#define CONFIG_DRV_DRAM_CHA_16BIT 0
#define CONFIG_DRV_DRAM_SETTING_VER 0
#define CONFIG_DRV_DRAM_IO_POWER_DOWN 0
#define CONFIG_FASTLOGO_RESOLUTION_ADJUST_BY_HDMI_STATU 0
#define CONFIG_EMMC_BOOT 0
#define CONFIG_NOR_BOOT 0

// Audio Sound Effects config version 2
#define CONFIG_SCC_AUD_SE_SUPPORT 0
// (aud_se_v2)
#define CONFIG_AUD_SE_V2_EN 0

#define CONFIG_AUD_SE_MW_CLI_SUPPORT 0

#define CONFIG_DRV_SUPPORT_DVD_AUDIO 0

#define CONFIG_AUD_AWM_OPT  0

#define CONFIG_DRV_HIGH_BITRATE_SPECIAL_PROC 0

#define CONFIG_DRV_DVD_24P_SUPPORT 0
#define CONFIG_DRV_SUPPORT_PARTY 0

#define CONFIG_SUPPORT_MCU_SIF 0

#define CONFIG_DRV_SUPPORT_LINUX_DLL_SPLITTER 0

#define CONFIG_OSD5_SUPPORT 0

#define CONFIG_DRV_VIRTUAL_ADDR 1

#define CONFIG_CCIR_COMPANION_CHIP 0

#define CONFIG_DRV_SUPPORT_FLV 0

#define CONFIG_DRV_SUPPORT_SORENSON_H263 0

#define CONFIG_DRV_SUPPORT_RM 0

#define CONFIG_DRV_PWMDAC_SUPPORT 0

#define CONFIG_DRV_AMUTE_INVERSE_SUPPORT 0

#define CONFIG_DRV_AMUTE_LR_SUPPORT 0

#define CONFIG_DRV_LINEIN_PWMDAC_SUPPORT 0

#define CONFIG_DRV_ISPDIF_IN_MASTERMODE_SUPPORT 0
#define CONFIG_DRV_ISPDIF_IN_TUNER_APLL_SLOW  0
#define CONFIG_START_BIT 0
#define CONFIG_SUPPORT_MICOM  0
#define CONFIG_SUPPORT_BDP_MICOM  0
#define CONFIG_DRV_MP_ICE 0

#define CONFIG_DRV_OPWRSB_PU_SUPPORT 0

#define CONFIG_PQ_CLI_SUPPORT 1

#define CONFIG_DRV_YMH_SUPPORT 0

#define CONFIG_DRV_SSH_SUPPORT 0

#define CONFIG_DRV_ALSA_SOUND_SUPPORT 0

#define CONFIG_DRV_TVE_TABLE_LG 0

#define CONFIG_DRV_V4L2_SUPPORT 0

//for Streaming button sound
#define CONFIG_AUD_BTN_MEM_PHASE3 0

#define CONFIG_AUD_CD_RIPPING_EN 0

#define CONFIG_AUD_BG_CD_RIPPING_EN 0

#define CONFIG_AUD_GRACENOTE_PRIMARY_DEC_EN 0
#define CONFIG_DRV_4TH_DECODER_SUPPORT  0

#define CONFIG_AUD_HDMI_CLK_SUPPORT 1

#define CONFIG_MT85XX_HIGH_PHYS_OFFSET_EN 0

#define CONFIG_DUALCORE_ARM2   0

#define CONFIG_DRAM256_MODEL   0


//#if (CONFIG_DUALCORE_ARM2 && CONFIG_DRAM256_MODEL)
//#error "Dram256 Model isn't enough to support DualCore!!"
//#endif

#define CONFIG_DRV_FPORTABLE_SUPPORT 0

#define CONFIG_DRV_PAS45_SUPPORT 0

#define CONFIG_DRV_PF_ES1_SUPPORT 0

#define CONFIG_DRV_PF_ES2_SUPPORT 0

#define CONFIG_AUD_WORKBUF_384M_EN 0

#define CONFIG_SUPPORT_MSB_CLI 0

#define CONFIG_SUPPORT_MSB_IDE 0

#define CONFIG_LOGO_AUTO_PARSE_SUPPORT 0

#define CONFIG_EXT_VIDEO_CHIP_SUPPORT 0

#define CONFIG_DRAM256_PLUS_NEWFEATURE 0

#define CONFIG_DRV_NEW_SD_MODE_SUPPORT 0

#define CONFIG_SIMPLE_UPG_SUPPORT 0

#define CONFIG_FAST_POWER_DOWN  0

#define CONFIG_DRV_SKYPE_PATCH_ENABLE 0

#define CONFIG_DRV_PSRTX_AUCREATE_SYNC 1

#define CONFIG_DRV_CEC_PULLUP_SUPPORT 0

#define CONFIG_DRV_QUICKSTARTMODE_AVMUTE 0

#define CONFIG_FASTBOOT_MULTI_PHASE_INIT_DRIVER_EN 0

#define CONFIG_FASTBOOT_MULTI_PHASE_INIT_SONY_DRIVER_EN 0

#define CONFIG_PHILIPS_DRV_HTS 0

#define CONFIG_SUPPORT_MICRO_BE 0
#define CONFIG_DRV_FTS_SUPPORT 0

#define CONFIG_DRV_SUPPORT_INT_LOADER 1

#define CONFIG_DRV_SUPPORT_FE_JTAG 0

#define CONFIG_DRV_SUPPORT_DYNAMIC_DRAM_PRIORITY 0

#define FE_AUTO_DOWNLOAD 0
#define CONFIG_DRV_SUPPORT_SDK_RELEASE   0

#define CONFIG_HDMI_INFOFRAME_SW_MODE 0

#define CONFIG_DRV_AUDIO_EXTERNAL_POST_PROC_SUPPORT 0

#define CONFIG_DRV_AUDIO_EXTERNAL_POST_PROC_ON_ARM1 0

#define CONFIG_EN_CHECK_L2      1

#define CONFIG_DRAM_CH_AUTO     0


#define CONFIG_DRV_RLE_CMDQ_ALLOC_CH2 0

#define CONFIG_DRV_OSD_ALLOC_CH1_ERROR_HANDLE 0

#define CONFIG_DRV_VIDEO_YUV_DISABLE 0

#define CONFIG_DRV_VERSION_PROCFS_ENABLE 0

#define CONFIG_DRV_SUPPORT_MTK_RC 0


#define CONFIG_FASTLOGO_GFX 0

#define CONFIG_IPTV_OSD_FILTER 0

#define CONFIG_DRV_LIRC_KEY_PASS 1

#define CONFIG_DRV_SUPPORT_USB_VBUS_RESET 0

#define CONFIG_DRV_SUPPORT_SDK_CUSTOMIZE_DFB_MEMORY_POOL_SIZE 0

#define CONFIG_DRV_SUPPORT_SDK_AVCHD 0

#define CONFIG_SUPPORT_IAP2 0

#define CONFIG_DRV_DOVE_SUPPORT 0

#define CONFIG_DRV_BLUR_SUPPORT 0

#define CONFIG_USER_MAIN_RC 0

#define CONFIG_SP530_RCU 0

#define CONFIG_DRV_SUPPORT_HTS 0

#define CONFIG_DRV_2DTO3D_SUPPORT 0

#define CONFIG_DRV_AUDIO_DCAC_SUPPORT 0

#define CONFIG_DRV_3DGFX_SUPPORT 0

#define CONFIG_DUALTX_DRV_EN 0

#define CONFIG_SUPPORT_SHADOW_TRIG 0

#define CONFIG_ENABLE_POSTPROC_DELAY 0

#define CONFIG_DRV_DENON_SUPPORT  0

#define CONFIG_DRV_CUSTOM_AHMN 0

#define CONFIG_PHILIPS_MCU_ACON 0

#define CONFIG_DISABLE_COMPONENT_VIDEO  0

#define CONFIG_DISABLE_COMPOSITE_VIDEO  0

#define CONFIG_COMPONENT_VIDEO_SUPPORT_AUTODETECT   0

#define CONFIG_COMPOSITE_VIDEO_SUPPORT_AUTODETECT   0

#define CONFIG_ANALOG_VIDEO_CABLE_AUTODETECT_SUPPORT    0

// For HTS model
#define CONFIG_AUD_HTS_MODEL 0

// For Apple device
#define CONFIG_SUPPORT_APPLE 0

#define CONFIG_DRV_SUPPORT_DM_BOX 0

#define CONFIG_DRV_DENON_SUPPORT  0


#define CONFIG_PANA_NO_SUPPORT_PICADJ 0

#define CONFIG_PANA_TWIN_HDMI   0

#define CONFIG_DRV_WIFI_AUDIO_SUPPORT 0

#define HDMI_RX_IGNORE_ACP_PACKET 0

// For OSD 3D depth control
#define CONFIG_DRV_OSD_3D_DEPTH_CONTROL  0

#define CONFIG_DYN_STARMAC 0

#define CONFIG_DRV_PRESET_RES 0

#define CONFIG_DRV_NEW_DRAMK  0

#define CONFIG_DRV_SUPPORT_BOOTLOGO_SVIDEO_YUV_OUTPUT 0

#define CONFIG_DRV_M7100_ES1  0
#define CONFIG_DRV_M7120_ES1  0
#define CONFIG_DRV_M6220_ES1  0
#define CONFIG_DRV_M6208_ES1  0
#define CONFIG_DRV_M6205_ES1  0
#define CONFIG_DRV_M71A0_GTR  0
#define CONFIG_DRV_PANA_HTS   0
#define CONFIG_DRV_OPPO_SUPPORT  0
#define CONFIG_SUPPORT_BBK_DRIVER 0
#define CONFIG_BBK_CVBS_SETTING  0

#define CONFIG_AVM_SUPPORT_CECINFOFORPWDN 0
#define CONFIG_BBK_UART_SETTING  0

#define CONFIG_BBK_GPIO_SETTING  0
#define CONFIG_DRV_SUPPORT_SS_FAST_LOGO 0

#define CONFIG_RESZ_POWER_DOWN_ENA 0
#define CONFIG_IMAGE_POWER_DOWN 0

#define CONFIG_STR_MEMPLL_OPEN 0

#define CONFIG_PHILIP_FNAC_SUPPORT  0

#define CONFIG_HDMI_DEMO_FOR_SPECIFIC_RESOLUTION_ENABLE 0

#define CONFIG_DRV_STR_DRAMK  1
#define CONFIG_RESET_DIRECT_BOOTUP 0

#define CONFIG_DRV_WEBP_SUPPORT  0

#define CONFIG_DRV_AUDIO_EXTERNAL_POST_PROC_INDEPENDENT_KO 0

#define CONFIG_GCPU_DEBUG_EN 0

#define CONFIG_DRV_SD_IPTV_TVE_TABLE_YC_DELAY 0

#define CONFIG_DRV_SUPPORT_WFD_DONGLE_128DDR_HD 0

#define CONFIG_PHILIPS_BDP34XX  0

//For Fasteject New Flow
#define CONFIG_FASTEJECT_NEW_LG 0
#define CONFIG_FASTEJECT_LG_GPIO 0

#define CONFIG_DRV_BLUETOOTH_SYNC    0
#define CONFIG_PHILIPS_BDP3490M2_5700  0

#define CONFIG_DRV_SUPPORT_MR2014  0


#define CONFIG_SUPPORT_EMERGENCY_UPG   0

#define CONFIG_UPG_BIG_INITRD  0

#define SONY_HDMI_DRV 0
#define CONFIG_MHLTX_DRV_SUPPORT       0
#define CONFIG_SONY_BDV_MODEL 0
#define CONFIG_DRV_JSN_11G_AUD 0

#define CONFIG_SUPPORT_MPEG_IFO 0

#define CONFIG_TRAY_SLOT_IN_MODEL 0

#define CONFIG_DRV_INDEPEND_AUDIN_FIFO  0
#define CONFIG_DRV_STR_DRAMK  1
#define CONFIG_DRV_AUDIO_UPLOAD      0

#define CONFIG_GCPU_DEBUG_EN 0

#define CONFIG_SUPPORT_WOL  0
#define CONFIG_USB_SOUND_CARD_ENABLE 0

#define CONFIG_DRV_SUPPORT_GAIKAI 0

#define CONFIG_DRV_SDK_CUS_MEM    0

#define CONFIG_DRV_SUPPORT_HDMIIN_DSD  0

#define CONFIG_DRV_USB_BOOTUP 0
#define CONFIG_DRV_DRAM_SIZE_512M 0

#define CONFIG_DRV_BDJ_TEST 0

#define CONFIG_BASE_CHC_MEMORY 0

#define CONFIG_DRV_PWRNET 0

#define CONFIG_DRV_PWR4K 0
#endif //DRV_COMMON_H

