source: svn/trunk/newcon3bcm2_21bu/magnum/portinginterface/thd/bthd.inc @ 36

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

first commit

  • Property svn:executable set to *
File size: 5.9 KB
Line 
1############################################################
2#     Copyright (c) 2003-2011, 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: bthd.inc $
11# $brcm_Revision: Hydra_Software_Devel/23 $
12# $brcm_Date: 10/18/11 5:26p $
13#
14# Module Description:
15#
16# Revision History:
17#
18# $brcm_Log: /magnum/portinginterface/thd/bthd.inc $
19#
20# Hydra_Software_Devel/23   10/18/11 5:26p atanugul
21# SW3461-67: Add 3461 B0 Support
22#
23# Hydra_Software_Devel/22   7/25/11 3:41p farshidf
24# SWDTV-8085: enable ISDB_T compile flag all the time
25#
26# Hydra_Software_Devel/21   7/15/11 3:01p vishk
27# SW7552-59: Support ISDB-T in Nexus to match latest PI change No need to
28# export BTHD_ISDBT_SUPPORT=y anymore for ISDBT support.
29#
30# Hydra_Software_Devel/20   6/10/11 12:13p farshidf
31# SW7552-36: remove the extra "\"
32#
33# Hydra_Software_Devel/19   6/8/11 5:56p farshidf
34# SWDTV-7471: add the new ISDBT flag and file
35#
36# Hydra_Software_Devel/18   6/1/11 3:38p atanugul
37# SW3461-5: Add THD support to 3461
38#
39# Hydra_Software_Devel/17   5/18/11 5:21p farshidf
40# SW7552-32: add THD files
41#
42# Hydra_Software_Devel/16   5/16/11 4:39p farshidf
43# SWDTV-7035: add "\n" at th end of the file
44#
45# Hydra_Software_Devel/15   5/16/11 4:07p farshidf
46# SWDTV-7035: change the ISDB-T flag
47#
48# Hydra_Software_Devel/14   5/16/11 11:49a farshidf
49# SWDTV-7035: add ISDB-T flag
50#
51# Hydra_Software_Devel/13   4/21/11 6:38p farshidf
52# SWDTV-6191: add the THD code
53#
54# Hydra_Software_Devel/12   12/10/09 1:27p farshidf
55# SW7550-38: remove the tune hack code
56#
57# Hydra_Software_Devel/11   11/17/09 6:39p farshidf
58# SW7550-38: add the Tune_hack flag
59#
60# Hydra_Software_Devel/10   11/6/09 5:55p farshidf
61# SW7550-38: add the 7550 files
62#
63# Hydra_Software_Devel/9   3/26/09 2:35p dliu
64# PR53611: Only assign BCHP_VER_UPPER if not already assigned
65#
66# Hydra_Software_Devel/8   10/30/08 1:11p dliu
67# PR46516: Change flag name for dynamic power management
68#
69# Hydra_Software_Devel/8   10/30/08 1:09p dliu
70# PR46516: Change flag name for power management
71#
72# Hydra_Software_Devel/6   7/21/08 12:56p dliu
73# PR38944: First step of moving code from AP to MIPS
74#
75# Hydra_Software_Devel/5   6/5/08 9:01p dliu
76# PR38934: Add microcode
77#
78# Hydra_Software_Devel/4   5/1/08 2:04p dliu
79# PR36603: Update to support 3556 and 2940 together for PVR application
80#
81############################################################
82#
83# Conditional Options for this Makefile
84#
85# BTHD_CHIP - Specifies a THD chip number to include in the build (e.g. 2940).  May specify multiple chips.
86#
87
88# Define this module
89MAGNUM_MODULES += BTHD
90
91# If the chip version is not specified, select a default
92ifeq ($(BCHP_3461_VER),)
93BCHP_3461_VER := A0
94endif
95
96# Source needs to know which revision
97BTHD_DEFINES += BTHD_3461_VER=BCHP_VER_$(BCHP_3461_VER)
98
99BCHP_VER_UPPER ?= $(shell awk 'BEGIN{print toupper("$(BCHP_VER)")}')
100
101# Module Includes
102BTHD_INCLUDES += $(MAGNUM)/portinginterface/thd/
103BTHD_SOURCES += $(MAGNUM)/portinginterface/thd/bthd.c
104
105#
106# Handle 3461
107#
108ifeq ($(findstring 3461,$(BTHD_CHIP)),3461)
109BTHD_INCLUDES += $(MAGNUM)/basemodules/chp/3461
110BTHD_INCLUDES += $(MAGNUM)/portinginterface/thd/3461
111
112BTHD_SOURCES += \
113        $(MAGNUM)/portinginterface/thd/3461/bthd_3461.c \
114        $(MAGNUM)/portinginterface/thd/3461/bthd_3461_priv.c
115endif
116
117#
118# Handle 2940
119#
120ifeq ($(findstring 2940,$(BTHD_CHIP)),2940)
121BTHD_INCLUDES += $(MAGNUM)/basemodules/chp/2940
122BTHD_INCLUDES += $(MAGNUM)/portinginterface/thd/2940
123
124BTHD_SOURCES += \
125        $(MAGNUM)/portinginterface/thd/2940/bthd_2940.c \
126        $(MAGNUM)/portinginterface/thd/2940/bthd_2940_priv.c
127endif
128
129#
130# Handle 3556
131#
132ifeq ($(BCHP_CHIP),3556)
133BTHD_INCLUDES += $(MAGNUM)/portinginterface/thd/3556
134BTHD_INCLUDES += $(MAGNUM)/portinginterface/thd/
135
136ifneq ($(BTHD_POWER_MANAGEMENT),n)
137    BTHD_DEFINES += BTHD_POWER_MANAGEMENT
138endif
139
140BTHD_SOURCES += \
141        $(MAGNUM)/portinginterface/thd/3556/bthd_3556.c \
142        $(MAGNUM)/portinginterface/thd/3556/bthd_3556_priv.c \
143        $(MAGNUM)/portinginterface/thd/3556/bthd_3556_ifdcoef.c \
144        $(MAGNUM)/portinginterface/thd/3556/bthd_3556_ifd.c \
145        $(MAGNUM)/portinginterface/thd/3556/microcode/$(BCHP_VER_UPPER)/bcm3556ap.c
146endif
147
148
149#
150# Handle 7550
151#
152
153ifeq ($(BCHP_CHIP),7550)
154BTHD_INCLUDES += $(MAGNUM)/portinginterface/thd/7550
155BTHD_INCLUDES += $(MAGNUM)/portinginterface/thd/
156
157ifneq ($(BTHD_POWER_MANAGEMENT),n)
158    BTHD_DEFINES += BTHD_POWER_MANAGEMENT
159endif
160
161BTHD_SOURCES += \
162        $(MAGNUM)/portinginterface/thd/7550/bthd_7550.c \
163        $(MAGNUM)/portinginterface/thd/7550/bthd_7550_priv.c \
164        $(MAGNUM)/portinginterface/thd/7550/bthd_7550_platform.c
165endif
166
167
168
169#
170# Handle 35233
171#
172
173ifeq ($(BCHP_CHIP),35233)
174BTHD_INCLUDES += $(MAGNUM)/portinginterface/thd/35233
175BTHD_INCLUDES += $(MAGNUM)/portinginterface/thd/
176
177ifneq ($(BTHD_POWER_MANAGEMENT),n)
178    BTHD_DEFINES += BTHD_POWER_MANAGEMENT
179endif
180
181
182BTHD_DEFINES += BTHD_ISDBT_SUPPORT
183BTHD_SOURCES += $(MAGNUM)/portinginterface/thd/35233/bthd_acq_isdbt.c
184
185
186BTHD_SOURCES += \
187        $(MAGNUM)/portinginterface/thd/35233/bthd_coef.c \
188        $(MAGNUM)/portinginterface/thd/35233/bthd_3x7x.c \
189        $(MAGNUM)/portinginterface/thd/35233/bthd_acq_dvbt.c \
190        $(MAGNUM)/portinginterface/thd/35233/bthd_acq.c \
191        $(MAGNUM)/portinginterface/thd/35233/bthd_api.c
192endif
193
194
195#
196# Handle 7552
197#
198
199ifeq ($(BCHP_CHIP),7552)
200BTHD_INCLUDES += $(MAGNUM)/portinginterface/thd/7552
201BTHD_INCLUDES += $(MAGNUM)/portinginterface/thd/
202
203ifneq ($(BTHD_POWER_MANAGEMENT),n)
204    BTHD_DEFINES += BTHD_POWER_MANAGEMENT
205endif
206
207BTHD_DEFINES += BTHD_ISDBT_SUPPORT
208BTHD_SOURCES += $(MAGNUM)/portinginterface/thd/7552/bthd_acq_isdbt.c
209
210BTHD_SOURCES += \
211        $(MAGNUM)/portinginterface/thd/7552/bthd_coef.c \
212        $(MAGNUM)/portinginterface/thd/7552/bthd_3x7x.c \
213        $(MAGNUM)/portinginterface/thd/7552/bthd_acq_dvbt.c \
214        $(MAGNUM)/portinginterface/thd/7552/bthd_acq.c \
215        $(MAGNUM)/portinginterface/thd/7552/bthd_api.c
216endif
217
218
Note: See TracBrowser for help on using the repository browser.