| 1 | ############################################################ |
|---|
| 2 | # (c)2007-2011 Broadcom Corporation |
|---|
| 3 | # |
|---|
| 4 | # This program is the proprietary software of Broadcom Corporation and/or its licensors, |
|---|
| 5 | # and may only be used, duplicated, modified or distributed pursuant to the terms and |
|---|
| 6 | # conditions of a separate, written license agreement executed between you and Broadcom |
|---|
| 7 | # (an "Authorized License"). Except as set forth in an Authorized License, Broadcom grants |
|---|
| 8 | # no license (express or implied), right to use, or waiver of any kind with respect to the |
|---|
| 9 | # Software, and Broadcom expressly reserves all rights in and to the Software and all |
|---|
| 10 | # intellectual property rights therein. IF YOU HAVE NO AUTHORIZED LICENSE, THEN YOU |
|---|
| 11 | # HAVE NO RIGHT TO USE THIS SOFTWARE IN ANY WAY, AND SHOULD IMMEDIATELY |
|---|
| 12 | # NOTIFY BROADCOM AND DISCONTINUE ALL USE OF THE SOFTWARE. |
|---|
| 13 | # |
|---|
| 14 | # Except as expressly set forth in the Authorized License, |
|---|
| 15 | # |
|---|
| 16 | # 1. This program, including its structure, sequence and organization, constitutes the valuable trade |
|---|
| 17 | # secrets of Broadcom, and you shall use all reasonable efforts to protect the confidentiality thereof, |
|---|
| 18 | # and to use this information only in connection with your use of Broadcom integrated circuit products. |
|---|
| 19 | # |
|---|
| 20 | # 2. TO THE MAXIMUM EXTENT PERMITTED BY LAW, THE SOFTWARE IS PROVIDED "AS IS" |
|---|
| 21 | # AND WITH ALL FAULTS AND BROADCOM MAKES NO PROMISES, REPRESENTATIONS OR |
|---|
| 22 | # WARRANTIES, EITHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, WITH RESPECT TO |
|---|
| 23 | # THE SOFTWARE. BROADCOM SPECIFICALLY DISCLAIMS ANY AND ALL IMPLIED WARRANTIES |
|---|
| 24 | # OF TITLE, MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR A PARTICULAR PURPOSE, |
|---|
| 25 | # LACK OF VIRUSES, ACCURACY OR COMPLETENESS, QUIET ENJOYMENT, QUIET POSSESSION |
|---|
| 26 | # OR CORRESPONDENCE TO DESCRIPTION. YOU ASSUME THE ENTIRE RISK ARISING OUT OF |
|---|
| 27 | # USE OR PERFORMANCE OF THE SOFTWARE. |
|---|
| 28 | # |
|---|
| 29 | # 3. TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO EVENT SHALL BROADCOM OR ITS |
|---|
| 30 | # LICENSORS BE LIABLE FOR (i) CONSEQUENTIAL, INCIDENTAL, SPECIAL, INDIRECT, OR |
|---|
| 31 | # EXEMPLARY DAMAGES WHATSOEVER ARISING OUT OF OR IN ANY WAY RELATING TO YOUR |
|---|
| 32 | # USE OF OR INABILITY TO USE THE SOFTWARE EVEN IF BROADCOM HAS BEEN ADVISED OF |
|---|
| 33 | # THE POSSIBILITY OF SUCH DAMAGES; OR (ii) ANY AMOUNT IN EXCESS OF THE AMOUNT |
|---|
| 34 | # ACTUALLY PAID FOR THE SOFTWARE ITSELF OR U.S. $1, WHICHEVER IS GREATER. THESE |
|---|
| 35 | # LIMITATIONS SHALL APPLY NOTWITHSTANDING ANY FAILURE OF ESSENTIAL PURPOSE OF |
|---|
| 36 | # ANY LIMITED REMEDY. |
|---|
| 37 | # |
|---|
| 38 | # $brcm_Workfile: hdmi_output.inc $ |
|---|
| 39 | # $brcm_Revision: 13 $ |
|---|
| 40 | # $brcm_Date: 12/19/11 12:34p $ |
|---|
| 41 | # |
|---|
| 42 | # Module Description: |
|---|
| 43 | # |
|---|
| 44 | # Revision History: |
|---|
| 45 | # |
|---|
| 46 | # $brcm_Log: /nexus/modules/hdmi_output/7425/hdmi_output.inc $ |
|---|
| 47 | # |
|---|
| 48 | # 13 12/19/11 12:34p vle |
|---|
| 49 | # SW7425-1140: Fix build issue without CEC support. CEC functionalities |
|---|
| 50 | # in NEXUS_HDMI_OUTPUT modules is enabled with build option |
|---|
| 51 | # BHDM_CEC_SUPPORT=y |
|---|
| 52 | # |
|---|
| 53 | # 12 11/23/11 2:03p vle |
|---|
| 54 | # SW7425-1140: include cec PI only when BCEC_SUPPORT is set. |
|---|
| 55 | # |
|---|
| 56 | # 11 11/22/11 6:11p vle |
|---|
| 57 | # SW7425-1140: Update nexus hdmi_output cec to use new BCEC PI instead of |
|---|
| 58 | # BHDM_CEC |
|---|
| 59 | # |
|---|
| 60 | # SW7425-1140/1 11/16/11 12:18p vle |
|---|
| 61 | # SW7425-1140: Update to use new CEC PI instead of BHDM_CEC |
|---|
| 62 | # |
|---|
| 63 | # 10 8/10/11 4:55p erickson |
|---|
| 64 | # SWDTV-4755: reduce DEPENDENCY list, depend on recursion |
|---|
| 65 | # |
|---|
| 66 | # 9 4/29/11 12:06p erickson |
|---|
| 67 | # SW7125-798: revise NEXUS_HdmiOutput_SetPreEmphasisConfiguration |
|---|
| 68 | # |
|---|
| 69 | # 8 4/22/11 11:09a erickson |
|---|
| 70 | # SW7125-798: merge |
|---|
| 71 | # |
|---|
| 72 | # 7 9/15/10 6:51p spothana |
|---|
| 73 | # SW7420-1024: Use conditional NEXUS_HDCP_SUPPORT |
|---|
| 74 | # |
|---|
| 75 | # 6 9/14/09 7:11p vle |
|---|
| 76 | # SW7405-2885: Add nexus_hdmi_output_extra files. |
|---|
| 77 | # |
|---|
| 78 | # 5 4/8/09 4:31p vsilyaev |
|---|
| 79 | # PR 54016: Added support for precompiled header |
|---|
| 80 | # |
|---|
| 81 | # 4 8/1/08 4:26p erickson |
|---|
| 82 | # PR39979: add CEC support |
|---|
| 83 | # |
|---|
| 84 | # 3 2/26/08 5:42p jgarrett |
|---|
| 85 | # PR 39017: Enabling HDCP by default |
|---|
| 86 | # |
|---|
| 87 | # 2 2/21/08 5:58p jgarrett |
|---|
| 88 | # PR 39017: Adding HDCP |
|---|
| 89 | # |
|---|
| 90 | # 1 2/1/08 5:25p jgarrett |
|---|
| 91 | # PR 39017: Adding hdmi_output |
|---|
| 92 | # |
|---|
| 93 | ############################################################ |
|---|
| 94 | |
|---|
| 95 | # |
|---|
| 96 | # Conditional Options for this Makefile |
|---|
| 97 | # |
|---|
| 98 | |
|---|
| 99 | ###################### |
|---|
| 100 | # Define this module # |
|---|
| 101 | ###################### |
|---|
| 102 | NEXUS_MODULES += HDMI_OUTPUT |
|---|
| 103 | |
|---|
| 104 | ################## |
|---|
| 105 | # Module Options # |
|---|
| 106 | ################## |
|---|
| 107 | NEXUS_HDMI_OUTPUT_OPTIONS := NEXUS_HDCP_SUPPORT |
|---|
| 108 | |
|---|
| 109 | ################### |
|---|
| 110 | # Module Includes # |
|---|
| 111 | ################### |
|---|
| 112 | NEXUS_HDMI_OUTPUT_PUBLIC_INCLUDES = $(NEXUS_TOP)/modules/hdmi_output/${BCHP_CHIP}/include |
|---|
| 113 | |
|---|
| 114 | NEXUS_HDMI_OUTPUT_PRECOMPILED_HEADER = $(NEXUS_TOP)/modules/hdmi_output/${BCHP_CHIP}/src/nexus_hdmi_output_module.h |
|---|
| 115 | |
|---|
| 116 | ################## |
|---|
| 117 | # Module Sources # |
|---|
| 118 | ################## |
|---|
| 119 | NEXUS_HDMI_OUTPUT_SOURCES := $(NEXUS_TOP)/modules/hdmi_output/${BCHP_CHIP}/src/nexus_hdmi_output.c \ |
|---|
| 120 | $(NEXUS_TOP)/modules/hdmi_output/${BCHP_CHIP}/src/nexus_hdmi_output_module.c \ |
|---|
| 121 | $(NEXUS_TOP)/modules/hdmi_output/${BCHP_CHIP}/src/nexus_hdmi_output_cec.c \ |
|---|
| 122 | $(NEXUS_TOP)/modules/hdmi_output/$(BCHP_CHIP)/src/nexus_hdmi_output_hdcp.c \ |
|---|
| 123 | $(NEXUS_TOP)/modules/hdmi_output/$(BCHP_CHIP)/src/nexus_hdmi_output_extra.c |
|---|
| 124 | |
|---|
| 125 | |
|---|
| 126 | # thunk layer |
|---|
| 127 | NEXUS_HDMI_OUTPUT_PRIVATE_INCLUDES += $(NEXUS_TOP)/modules/hdmi_output/${BCHP_CHIP}/src $(NEXUS_SYNCTHUNK_DIR) |
|---|
| 128 | NEXUS_HDMI_OUTPUT_SOURCES += $(NEXUS_SYNCTHUNK_DIR)/nexus_hdmi_output_thunks.c |
|---|
| 129 | |
|---|
| 130 | ####################### |
|---|
| 131 | # Module Dependencies # |
|---|
| 132 | ####################### |
|---|
| 133 | NEXUS_HDMI_OUTPUT_DEPENDENCIES := SECURITY I2C |
|---|
| 134 | |
|---|
| 135 | ################## |
|---|
| 136 | # Magnum Modules # |
|---|
| 137 | ################## |
|---|
| 138 | NEXUS_HDMI_OUTPUT_MAGNUM_MODULES = \ |
|---|
| 139 | $(MAGNUM)/portinginterface/hdm/bhdm.inc |
|---|
| 140 | |
|---|
| 141 | ifeq ($(BHDM_CEC_SUPPORT),y) |
|---|
| 142 | NEXUS_HDMI_OUTPUT_MAGNUM_MODULES += \ |
|---|
| 143 | $(MAGNUM)/portinginterface/cec/bcec.inc |
|---|
| 144 | endif |
|---|
| 145 | |
|---|
| 146 | ifeq ($(findstring SECURITY, $(NEXUS_MODULES)),SECURITY) |
|---|
| 147 | NEXUS_HDMI_OUTPUT_MAGNUM_MODULES += \ |
|---|
| 148 | $(MAGNUM)/syslib/hdcplib/bhdcplib.inc |
|---|
| 149 | |
|---|
| 150 | ifeq ($(NEXUS_HDCP_SUPPORT),y) |
|---|
| 151 | BHSM_KEYLADDER=ON |
|---|
| 152 | BHDCPLIB_HDCP_SUPPORT=y |
|---|
| 153 | endif |
|---|
| 154 | endif |
|---|
| 155 | |
|---|