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

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

1.phkim

  1. revision copy newcon3sk r27
  • Property svn:executable set to *
File size: 4.4 KB
Line 
1############################################################
2#     Copyright (c) 2003-2009, 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: bcm97401.inc $
11# $brcm_Revision: 22 $
12# $brcm_Date: 4/16/09 10:41a $
13#
14# Module Description:
15#
16# Revision History:
17#
18# $brcm_Log: /BSEAV/api/build/magnum/bcm97401.inc $
19#
20# 22   4/16/09 10:41a gmohile
21# PR 54128 : Add DDP Passthru support
22#
23# 21   3/24/09 1:11p gmohile
24# PR 51326 : Add SRS support for 7401
25#
26# 20   3/24/08 5:06p bandrews
27# PR40865: Fixed reference to astmlib build dir
28#
29# 19   2/19/08 4:42p bandrews
30# PR36935: SETAPI astm integration
31#
32# 18   10/26/07 10:46a gmullen
33# PR36449: Added unified ITB support. Defaults to unified ITB enabled.
34#
35# 17   10/12/07 6:37p jrubio
36# PR35007: adding 4506
37#
38# 16   10/3/07 3:54p gmohile
39# PR 25109 : Fix ast build error
40#
41# 15   6/7/07 6:48p vle
42# PR 31924: Define HDMI Tx Support for platform
43#
44# 14   12/14/06 4:43p vle
45# PR 26539: add 4501 C0 support to Settop API.
46#
47# 13   11/14/06 3:19p jrubio
48# PR25214: added b0_image for 3520
49#
50# 12   8/23/06 12:53p erickson
51# PR17108: convert 4501 support to B0
52#
53# 11   7/27/06 4:05p qcheng
54# PR22674: fix smartcard Settop API test example on 7401 A0.
55#
56# 10   3/15/06 4:51p vsilyaev
57# PR20221: NetIF DMA interface
58#
59# 9   2/24/06 5:24p erickson
60# PR17108: added 4501 AST
61#
62# 8   2/17/06 10:07a erickson
63# PR19738: added #define for SDS_CHIP
64#
65# 7   2/17/06 9:36a erickson
66# PR19738: make 4500 optional for 97401, but default it on
67#
68# 6   12/14/05 10:38a jrubio
69# PR18491: Add compilation of uhf module
70#
71# 5   11/30/05 4:53p erickson
72# PR17108: added 7401 pcm
73#
74# 4   10/20/05 5:25p erickson
75# PR17108: added 7401 hdmi
76#
77# 3   10/20/05 4:02p vsilyaev
78# PR 17710: Added 3517 support
79#
80# 2   10/19/05 5:51p vsilyaev
81# PR 17710: Added support for 4500 SDS
82#
83# 1   7/18/05 6:13p vsilyaev
84# PR 15377: Refactoring of the board support package
85#
86############################################################
87
88# RAVE unified ITB support. (default on)
89ifneq ($(subst N,n,${UNIFIED_ITB_SUPPORT}),n)
90CFLAGS += -DUNIFIED_ITB_SUPPORT
91UNIFIED_ITB_SUPPORT := y
92endif
93
94## 3510/3520  is broken for 97401 platform
95#
96# 3510/3520 VSB support has to be a compile-time option
97# because the API's are similar. We default to
98# 3520, but you can define the following in order
99# to get 3510 support.
100#
101ifeq ($(VSB3510_SUPPORT),y)
102include  ${ROCKFORD}/modules/3510.inc
103include  ${ROCKFORD}/modules/3510/vsb.inc
104R_OBJ += ${ROCKFORD}/bsp/bcm97401/common/bcm3510ap
105CFLAGS += -DVSB_CHIP=3510
106SRCS += bsettop_tuner_3510.c
107else
108include  ${ROCKFORD}/modules/3520.inc
109include  ${ROCKFORD}/modules/3520/vsb.inc
110R_OBJ += ${ROCKFORD}/bsp/bcm97401/common/bcm3520ap_a1
111R_OBJ += ${ROCKFORD}/bsp/bcm97401/common/bcm3520ap_b0
112SRCS += bsettop_tuner_3520.c
113endif
114
115# default 97401 to 4500, but allow it to be turned off
116ifeq ($(SDS4500_SUPPORT),)
117SDS4500_SUPPORT=y
118endif
119
120ifeq ($(SDS4500_SUPPORT),y)
121R_OBJ += ${ROCKFORD}/bsp/bcm97401/common/bcm4500ap
122include  ${ROCKFORD}/modules/4500.inc
123include  ${ROCKFORD}/modules/4500/sds.inc
124SRCS += bsettop_tuner_4500.c
125CFLAGS += -DSDS_CHIP=4500
126endif
127
128# default 97405 to 4501, but allow it to be turned off
129ifeq ($(AST4501_SUPPORT),)
130AST4501_SUPPORT=y
131BAST_CHIP+= 4501
132endif
133
134# add 4506 support
135ifeq ($(AST4506_SUPPORT),)
136AST4506_SUPPORT=y
137BAST_CHIP+= 4506
138endif
139
140ifeq ($(AST4501_SUPPORT),y)
141include  ${MAGNUM}/portinginterface/ast/bast.inc
142SRCS += bsettop_tuner_4501.c
143CFLAGS += -DAST_CHIP=450x
144endif
145
146
147ifeq ($(AST4506_SUPPORT),y)
148SRCS += bsettop_tuner_4506.c
149ifeq ($(AST4501_SUPPORT),)
150include  ${MAGNUM}/portinginterface/ast/bast.inc
151CFLAGS += -DAST_CHIP=450x
152endif
153endif
154
155ifeq ($(ASTM_SUPPORT),y)
156include  ${MAGNUM}/syslib/astmlib/bastmlib.inc
157CFLAGS += -DBASTM_SUPPORT
158endif
159
160ifeq (${SYSTEM},linux)
161# Needs a special version of a kernel, don't enable by default
162#B_HAS_PLAYPUMP_IP ?= y
163endif
164ifeq (${B_HAS_PLAYPUMP_IP},y)
165CFLAGS += -DB_HAS_PLAYPUMP_IP
166CFLAGS += ${BNETIF_DMA_CFLAGS}
167endif
168
169include  ${ROCKFORD}/modules/uhf.inc
170
171B_HAS_SMARTCARD=y
172B_HAS_PCM=y
173HDMI_TX_SUPPORT=y
174
175
176ifeq ($(subst Y,y,${RAP_SRSTRUVOL_SUPPORT}),y)
177CFLAGS += -DRAP_SRSTRUVOL_SUPPORT
178endif
179
180ifeq ($(B_PASSTHRU_DDP_SUPPORT),)
181CFLAGS += -DB_PASSTHRU_DDP_SUPPORT=1 -DRAP_I2S_COMPRESS_SUPPORT
182endif
183
Note: See TracBrowser for help on using the repository browser.