source: svn/trunk/newcon3bcm2_21bu/BSEAV/api/build/magnum/bcm97400.inc @ 2

Last change on this file since 2 was 2, checked in by jglee, 11 years ago

first commit

  • Property svn:executable set to *
File size: 6.5 KB
Line 
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: bcm97400.inc $
11# $brcm_Revision: 30 $
12# $brcm_Date: 3/16/10 4:29p $
13#
14# Module Description:
15#
16# Revision History:
17#
18# $brcm_Log: /BSEAV/api/build/magnum/bcm97400.inc $
19#
20# 30   3/16/10 4:29p 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# 29   6/26/09 6:29p mward
26# PR47739: Check for B_PASSTHRU_DDP_SUPPORT=n.
27#
28# 27   3/13/09 5:37p mward
29# PR49827: PR52490: Change name of SRS VIQ to SRS TrueVolume
30# PR49827, PR50613: Settings for Dolby Volume and SRS Volume IQ.
31#
32# PR49827/2   2/25/09 12:17p mward
33# PR52490: Change name of SRS VIQ to SRS TrueVolume
34#
35# PR49827/1   1/13/09 5:11p mward
36# PR49827, PR50613: Settings for Dolby Volume and SRS Volume IQ.
37#
38# 26   11/4/08 4:14p mward
39# PR44957: Pass configured RAP formats to Settop API, too.
40#
41# 25   8/11/08 5:39p mward
42# PR39988: For 7400, select DDP pass-thru support at run-time, switching
43# use of RAP channels if necessary.  Merge to main.
44#
45# PR39988/1   6/4/08 5:05p mward
46# PR39988: Detect dual output / DDP pass for 7400 at runtime.
47#
48# 24   5/22/08 6:44p mward
49# PR39988: Create build option B_PASSTHRU_DDP_SUPPORT=y which allows DDP
50# transcode to SPDIF + Passthru to HDMI.  Dual decode is disabled with
51# this option.
52#
53# 23   11/28/07 12:51p mward
54# PR37117: 7400 Platforms now use UNIFIED_ITB_SUPPORT unconditionally.
55#
56# 22   10/12/07 6:39p jrubio
57# PR35007: adding 4506
58#
59# 21   10/5/07 2:54p mward
60# PR32395: Fix AST build on 7400.
61#
62# 20   8/29/07 5:58p mward
63# PR31736: Default on UNIFIED_ITB_SUPPORT for 97400. (set in make too,
64# for xpt.inc.)
65#
66# 19   8/29/07 12:11p mward
67# PR31736:  Now default on UNIFIED_ITB_SUPPORT for 97400.
68#
69# 18   8/2/07 9:14a jgarrett
70# PR 33733: Adding smartcard support
71#
72# 17   6/7/07 6:48p vle
73# PR 31924: Define HDMI Tx Support for platform
74#
75# 16   6/1/07 10:47a gmullen
76# PR31736: Added unified ITB support.
77#
78# 15   5/30/07 11:42a jgarrett
79# PR 31687: Adding 4501 C0 support
80#
81# 14   5/9/07 1:15p jgarrett
82# PR 25900: Enabling UHF for 7400B0
83#
84# 13   3/12/07 12:00p arbisman
85# PR28638: Add URT support to the build
86#
87# 12   3/12/07 11:33a jgarrett
88# PR 25900: fixing copy/paste error for A0
89#
90# 11   3/8/07 3:42p jgarrett
91# PR 25900: Enabling PLAYPUMP_IP for B0
92#
93# 10   3/8/07 2:40p jgarrett
94# PR 25900: Enabling HDMI
95#
96# 9   2/22/07 4:23p jgarrett
97# PR 25900: Disabling UHF for B0 (temporary)
98#
99# 8   11/28/06 4:00p jgarrett
100# PR 20139: Adding 3520 B0 support
101#
102# 7   10/12/06 2:47p jrubio
103# PR24902: Added IP STB Support
104#
105# 6   8/23/06 1:04p jgarrett
106# PR 23738: Adding support for 4501 B0
107#
108# 5   8/21/06 5:07p jgarrett
109# PR 23738: Adding 4501 support
110#
111# 4   3/10/06 2:33p jgarrett
112# PR 19265: Re-enabling HDMI for the 97400
113#
114# 3   2/22/06 10:07a jgarrett
115# PR 19674: Enabling dual-decode support for 97400
116#
117# 2   1/24/06 5:30p jgarrett
118# PR 19250: Update Set-Top API modules for 97400
119#
120# 1   1/19/06 9:53a jgarrett
121# PR 19105: Create 97400 BSP
122#
123# Refsw_Devel_7400_A0/1   1/12/06 3:05p jgarrett
124# PR 18997: Creating directories for 7400
125#
126############################################################
127
128## 3510/3520  is broken for 97400 platform
129#
130# 3510/3520 VSB support has to be a compile-time option
131# because the API's are similar. We default to
132# 3520, but you can define the following in order
133# to get 3510 support.
134#
135ifeq ($(VSB3510_SUPPORT),y)
136include  ${ROCKFORD}/modules/3510.inc
137include  ${ROCKFORD}/modules/3510/vsb.inc
138R_OBJ += ${ROCKFORD}/bsp/bcm97400/common/bcm3510ap
139CFLAGS += -DVSB_CHIP=3510
140SRCS += bsettop_tuner_3510.c
141else
142include  ${ROCKFORD}/modules/3520.inc
143include  ${ROCKFORD}/modules/3520/vsb.inc
144R_OBJ += ${ROCKFORD}/bsp/bcm97400/common/bcm3520ap_a1
145R_OBJ += ${ROCKFORD}/bsp/bcm97400/common/bcm3520ap_b0
146SRCS += bsettop_tuner_3520.c
147endif
148
149# default 97400 to 4500, but allow it to be turned off
150ifeq ($(SDS4500_SUPPORT),)
151SDS4500_SUPPORT=y
152endif
153
154ifeq ($(SDS4500_SUPPORT),y)
155R_OBJ += ${ROCKFORD}/bsp/bcm97401/common/bcm4500ap
156include  ${ROCKFORD}/modules/4500.inc
157include  ${ROCKFORD}/modules/4500/sds.inc
158SRCS += bsettop_tuner_4500.c
159CFLAGS += -DSDS_CHIP=4500
160endif
161
162# default 97405 to 4501, but allow it to be turned off
163ifeq ($(AST4501_SUPPORT),)
164AST4501_SUPPORT=y
165BAST_CHIP+= 4501
166endif
167
168# add 4506 support
169ifeq ($(AST4506_SUPPORT),)
170AST4506_SUPPORT=y
171BAST_CHIP+= 4506
172endif
173
174ifeq ($(AST4501_SUPPORT),y)
175include  ${MAGNUM}/portinginterface/ast/bast.inc
176SRCS += bsettop_tuner_4501.c
177CFLAGS += -DAST_CHIP=450x
178endif
179
180
181ifeq ($(AST4506_SUPPORT),y)
182SRCS += bsettop_tuner_4506.c
183ifeq ($(AST4501_SUPPORT),)
184include  ${MAGNUM}/portinginterface/ast/bast.inc
185CFLAGS += -DAST_CHIP=450x
186endif
187endif
188
189ifeq (${SYSTEM},linux)
190# Needs a special version of a kernel, don't enable by default
191#B_HAS_PLAYPUMP_IP ?= y
192endif
193ifeq (${B_HAS_PLAYPUMP_IP},y)
194CFLAGS += -DB_HAS_PLAYPUMP_IP
195CFLAGS += ${BNETIF_DMA_CFLAGS}
196endif
197
198include ${ROCKFORD}/modules/uhf.inc
199
200B_HAS_PCM=y
201HDMI_TX_SUPPORT=y
202B_HAS_SMARTCARD=y
203
204ifeq ($(UART_B_SUPPORT),y)
205CFLAGS += -DUART_B_SUPPORT
206include  $(ROCKFORD)/modules/urt.inc
207endif
208
209ifneq ($(subst N,n,${B_PASSTHRU_DDP_SUPPORT}),n)
210CFLAGS += -DB_PASSTHRU_DDP_SUPPORT=1 -DRAP_I2S_COMPRESS_SUPPORT
211endif
212
213#By default disable AC3+ support
214ifneq ($(subst Y,y,${RAP_DDP_SUPPORT}),y)
215CFLAGS += -DB_RAP_NO_AC3PLUS_SUPPORT
216endif
217
218#By default disable AC3 support
219ifneq ($(subst Y,y,${RAP_AC3_SUPPORT}),y)
220CFLAGS += -DB_RAP_NO_AC3_SUPPORT
221endif
222
223
224#By default disable WMA support
225ifneq ($(subst Y,y,${RAP_WMA_SUPPORT}),y)
226CFLAGS += -DB_RAP_NO_WMA_SUPPORT
227endif
228
229#Dolby Volume and SRS Volume IQ are mutually exclusive
230ifeq ($(subst Y,y,${RAP_DOLBYVOLUME_SUPPORT}),y)
231ifeq ($(subst Y,y,${RAP_SRSTRUVOL_SUPPORT}),y)
232$(error Only one of RAP_DOLBYVOLUME_SUPPORT or RAP_SRSTRUVOL_SUPPORT should be "y")
233else
234CFLAGS += -DRAP_DOLBYVOLUME_SUPPORT
235endif
236endif
237
238ifeq ($(subst Y,y,${RAP_SRSTRUVOL_SUPPORT}),y)
239ifeq ($(subst Y,y,${RAP_DOLBYVOLUME_SUPPORT}),y)
240$(error Only one of RAP_DOLBYVOLUME_SUPPORT or RAP_SRSTRUVOL_SUPPORT should be "y")
241else
242CFLAGS += -DRAP_SRSTRUVOL_SUPPORT
243endif
244endif
245
246ifneq ($(subst Y,y,${B_XVD_SINGLEDECODE}),y)
247CFLAGS += -DB_MAX_MOSAIC_DECODES=12
248else
249CFLAGS += -DB_MAX_MOSAIC_DECODES=0
250endif
251
252
Note: See TracBrowser for help on using the repository browser.