| 1 | ############################################################ |
|---|
| 2 | # Copyright (c) 2003-2010, Broadcom Corporation |
|---|
| 3 | # All Rights Reserved |
|---|
| 4 | # Confidential Property of Broadcom Corporation |
|---|
| 5 | # |
|---|
| 6 | # THIS SOFTWARE MAY ONLY BE USED SUBJECT TO AN EXECUTED SOFTWARE LICENSE |
|---|
| 7 | # AGREEMENT BETWEEN THE USER AND BROADCOM. YOU HAVE NO RIGHT TO USE OR |
|---|
| 8 | # EXPLOIT THIS MATERIAL EXCEPT SUBJECT TO THE TERMS OF SUCH AN AGREEMENT. |
|---|
| 9 | # |
|---|
| 10 | # $brcm_Workfile: bcm97456.inc $ |
|---|
| 11 | # $brcm_Revision: 19 $ |
|---|
| 12 | # $brcm_Date: 3/16/10 4:36p $ |
|---|
| 13 | # |
|---|
| 14 | # Module Description: |
|---|
| 15 | # |
|---|
| 16 | # Revision History: |
|---|
| 17 | # |
|---|
| 18 | # $brcm_Log: /BSEAV/api/build/magnum/bcm97456.inc $ |
|---|
| 19 | # |
|---|
| 20 | # 19 3/16/10 4:36p mward |
|---|
| 21 | # SW7400-2517: Maintain REFSW_XVD_7400_SINGLEDECODE support. Set |
|---|
| 22 | # B_MAX_MOSAIC_DECODES=0 at compile time if B_XVD_SINGLEDECODE=y. |
|---|
| 23 | # REFSW_PREREL_97400_SINGLE is deprecated, use REFSW_PREREL_97400. |
|---|
| 24 | # |
|---|
| 25 | # 18 3/13/09 5:37p mward |
|---|
| 26 | # PR49827: PR52490: Change name of SRS VIQ to SRS TrueVolume |
|---|
| 27 | # PR49827, PR50613: Settings for Dolby Volume and SRS Volume IQ. |
|---|
| 28 | # |
|---|
| 29 | # PR49827/2 2/25/09 12:17p mward |
|---|
| 30 | # PR52490: Change name of SRS VIQ to SRS TrueVolume |
|---|
| 31 | # |
|---|
| 32 | # PR49827/1 1/13/09 5:11p mward |
|---|
| 33 | # PR49827, PR50613: Settings for Dolby Volume and SRS Volume IQ. |
|---|
| 34 | # |
|---|
| 35 | # 17 11/4/08 4:14p mward |
|---|
| 36 | # PR44957: Pass configured RAP formats to Settop API, too. |
|---|
| 37 | # |
|---|
| 38 | # 16 8/11/08 5:39p mward |
|---|
| 39 | # PR39988: For 7400, select DDP pass-thru support at run-time, switching |
|---|
| 40 | # use of RAP channels if necessary. Merge to main. |
|---|
| 41 | # |
|---|
| 42 | # PR39988/1 6/19/08 2:28p mward |
|---|
| 43 | # PR39988: Detect dual output / DDP pass for 7400 at runtime. |
|---|
| 44 | # |
|---|
| 45 | # 15 11/28/07 12:52p mward |
|---|
| 46 | # PR37117: 7400 Platforms now use UNIFIED_ITB_SUPPORT unconditionally. |
|---|
| 47 | # |
|---|
| 48 | # 14 8/29/07 6:54p mward |
|---|
| 49 | # PR31736: Default on UNIFIED_ITB_SUPPORT for 97456. |
|---|
| 50 | # |
|---|
| 51 | # 13 6/7/07 6:49p vle |
|---|
| 52 | # PR 31924: Define HDMI Tx Support for platform |
|---|
| 53 | # |
|---|
| 54 | # 12 5/11/07 2:45p anilmm |
|---|
| 55 | # PR28294: Enable UHF |
|---|
| 56 | # |
|---|
| 57 | # 11 4/27/07 3:21p anilmm |
|---|
| 58 | # PR28294: Enable smartcard for 97456B0 |
|---|
| 59 | # |
|---|
| 60 | # 10 4/4/07 12:31p mward |
|---|
| 61 | # PR29446: Use B_HAS_3255=n build option instead of B_NO_3255=y for more |
|---|
| 62 | # clarity and consistency. |
|---|
| 63 | # |
|---|
| 64 | # 9 4/3/07 4:55p mward |
|---|
| 65 | # PR29446: Create B_NO_3255=y build option to test boards with 3255 |
|---|
| 66 | # without using it |
|---|
| 67 | # |
|---|
| 68 | # 8 3/9/07 4:55p anilmm |
|---|
| 69 | # PR28294: Enable HDMI and Playpump_IP for 97456B0 |
|---|
| 70 | # |
|---|
| 71 | # 7 3/1/07 2:58p haisongw |
|---|
| 72 | # PR28294:disabling UHF, SCDand HDMI for 97456b0 (temporary) |
|---|
| 73 | # |
|---|
| 74 | # 7 3/1/07 2:56p haisongw |
|---|
| 75 | # PR28294: temporarily disable some stuff for 97456b0 |
|---|
| 76 | # |
|---|
| 77 | # 6 2/8/07 6:01p haisongw |
|---|
| 78 | # PR27767: enable SMARTCARD support for 97456 platform |
|---|
| 79 | # |
|---|
| 80 | # 5 10/10/06 4:40p haisongw |
|---|
| 81 | # PR24845: add B_HAS_OOB for non-oob support |
|---|
| 82 | # |
|---|
| 83 | # 4 9/5/06 3:32p jackli |
|---|
| 84 | # PR24025: add kernel mode settop api support for 97456 |
|---|
| 85 | # |
|---|
| 86 | # 3 8/28/06 1:09p haisongw |
|---|
| 87 | # PR 22368: Add AOB, AUS and TNR3255ob support |
|---|
| 88 | # |
|---|
| 89 | # 2 7/10/06 4:01p haisongw |
|---|
| 90 | # PR 22368: Add AOB, AUS and TNR3255ob support |
|---|
| 91 | # |
|---|
| 92 | # 1 4/27/06 5:53p haisongw |
|---|
| 93 | # PR 20984: add 97456 platform support |
|---|
| 94 | # |
|---|
| 95 | ############################################################ |
|---|
| 96 | |
|---|
| 97 | #CFLAGS += -DBMEM_SAFETY_CONFIG=BMEM_CONFIG_FASTEST |
|---|
| 98 | ifneq ($(subst N,n,${B_HAS_3255}),n) |
|---|
| 99 | include ${ROCKFORD}/modules/3255/ads.inc |
|---|
| 100 | include ${ROCKFORD}/modules/tnr.inc |
|---|
| 101 | include ${ROCKFORD}/modules/3255/tnr3255ib.inc |
|---|
| 102 | include ${ROCKFORD}/modules/rpc.inc |
|---|
| 103 | |
|---|
| 104 | SRCS += bsettop_tuner_3255.c |
|---|
| 105 | CFLAGS += -DB_HAS_3255=1 |
|---|
| 106 | |
|---|
| 107 | OOB_SUPPORT ?=y |
|---|
| 108 | ifeq ($(OOB_SUPPORT),y) |
|---|
| 109 | CFLAGS += -DB_HAS_OOB=1 |
|---|
| 110 | include ${ROCKFORD}/modules/3255/aob.inc |
|---|
| 111 | include ${ROCKFORD}/modules/3255/aus.inc |
|---|
| 112 | include ${ROCKFORD}/modules/3255/tnr3255ob.inc |
|---|
| 113 | endif |
|---|
| 114 | endif |
|---|
| 115 | |
|---|
| 116 | |
|---|
| 117 | ifeq (${SYSTEM},linux) |
|---|
| 118 | # Needs a special version of a kernel, don't enable by default |
|---|
| 119 | # B_HAS_PLAYPUMP_IP ?= y |
|---|
| 120 | endif |
|---|
| 121 | ifeq (${B_HAS_PLAYPUMP_IP},y) |
|---|
| 122 | CFLAGS += -DB_HAS_PLAYPUMP_IP |
|---|
| 123 | CFLAGS += ${BNETIF_DMA_CFLAGS} |
|---|
| 124 | endif |
|---|
| 125 | |
|---|
| 126 | B_HAS_SMARTCARD=y |
|---|
| 127 | |
|---|
| 128 | include ${ROCKFORD}/modules/uhf.inc |
|---|
| 129 | |
|---|
| 130 | B_HAS_PCM=y |
|---|
| 131 | HDMI_TX_SUPPORT=y |
|---|
| 132 | |
|---|
| 133 | ifeq ($(B_PASSTHRU_DDP_SUPPORT),) |
|---|
| 134 | CFLAGS += -DB_PASSTHRU_DDP_SUPPORT=1 -DRAP_I2S_COMPRESS_SUPPORT |
|---|
| 135 | endif |
|---|
| 136 | |
|---|
| 137 | #By default disable AC3+ support |
|---|
| 138 | ifneq ($(subst Y,y,${RAP_DDP_SUPPORT}),y) |
|---|
| 139 | CFLAGS += -DB_RAP_NO_AC3PLUS_SUPPORT |
|---|
| 140 | endif |
|---|
| 141 | |
|---|
| 142 | #By default disable AC3 support |
|---|
| 143 | ifneq ($(subst Y,y,${RAP_AC3_SUPPORT}),y) |
|---|
| 144 | CFLAGS += -DB_RAP_NO_AC3_SUPPORT |
|---|
| 145 | endif |
|---|
| 146 | |
|---|
| 147 | |
|---|
| 148 | #By default disable WMA support |
|---|
| 149 | ifneq ($(subst Y,y,${RAP_WMA_SUPPORT}),y) |
|---|
| 150 | CFLAGS += -DB_RAP_NO_WMA_SUPPORT |
|---|
| 151 | endif |
|---|
| 152 | |
|---|
| 153 | #Dolby Volume and SRS Volume IQ are mutually exclusive |
|---|
| 154 | ifeq ($(subst Y,y,${RAP_DOLBYVOLUME_SUPPORT}),y) |
|---|
| 155 | ifeq ($(subst Y,y,${RAP_SRSTRUVOL_SUPPORT}),y) |
|---|
| 156 | $(error Only one of RAP_DOLBYVOLUME_SUPPORT or RAP_SRSTRUVOL_SUPPORT should be "y") |
|---|
| 157 | else |
|---|
| 158 | CFLAGS += -DRAP_DOLBYVOLUME_SUPPORT |
|---|
| 159 | endif |
|---|
| 160 | endif |
|---|
| 161 | |
|---|
| 162 | ifeq ($(subst Y,y,${RAP_SRSTRUVOL_SUPPORT}),y) |
|---|
| 163 | ifeq ($(subst Y,y,${RAP_DOLBYVOLUME_SUPPORT}),y) |
|---|
| 164 | $(error Only one of RAP_DOLBYVOLUME_SUPPORT or RAP_SRSTRUVOL_SUPPORT should be "y") |
|---|
| 165 | else |
|---|
| 166 | CFLAGS += -DRAP_SRSTRUVOL_SUPPORT |
|---|
| 167 | endif |
|---|
| 168 | endif |
|---|
| 169 | |
|---|
| 170 | ifneq ($(subst Y,y,${B_XVD_SINGLEDECODE}),y) |
|---|
| 171 | CFLAGS += -DB_MAX_MOSAIC_DECODES=12 |
|---|
| 172 | else |
|---|
| 173 | CFLAGS += -DB_MAX_MOSAIC_DECODES=0 |
|---|
| 174 | endif |
|---|
| 175 | |
|---|
| 176 | |
|---|