source: svn/trunk/newcon3bcm2_21bu/magnum/portinginterface/vsb/bvsb.inc

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

first commit

  • Property svn:executable set to *
File size: 2.9 KB
RevLine 
[2]1############################################################
2#     Copyright (c) 2003-2008, 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: bvsb.inc $
11# $brcm_Revision: Hydra_Software_Devel/7 $
12# $brcm_Date: 10/30/08 1:04p $
13#
14# Module Description:
15#
16# Revision History:
17#
18# Created: 01/09/2007 by Jon Garrett
19#
20# $brcm_Log: /magnum/portinginterface/vsb/bvsb.inc $
21#
22# Hydra_Software_Devel/7   10/30/08 1:04p dliu
23# PR46516: remove chip version
24#
25# Hydra_Software_Devel/6   10/30/08 1:03p dliu
26# PR46516: Add compile time switch for power management
27#
28# Hydra_Software_Devel/5   10/23/08 3:49p dliu
29# PR48016: Spliting out IFD to MIPS code
30#
31# Hydra_Software_Devel/4   10/12/08 12:03a dliu
32# PR38934: Change 3548 hexfile to be chip version based
33#
34# Hydra_Software_Devel/3   5/5/08 4:54p dliu
35# PR38953: Add microcode to part of PI compile
36#
37# Hydra_Software_Devel/2   2/28/08 5:51p dliu
38# PR38953: Fix bug for BCHP_CHIP definition
39#
40# Hydra_Software_Devel/1   1/11/07 2:40p jgarrett
41# PR27004: Adding new .inc files
42#
43############################################################
44
45#
46# Conditional Options for this Makefile
47#
48# BVSB_CHIP - Defines support for the external VSB chip to be used.  Should be either 3510 or 3520.  If not defined, assumed to be internal.
49#
50
51# Define this module
52MAGNUM_MODULES += BVSB
53
54# Determine which chip we are using for vsb
55ifeq ($(BVSB_CHIP),3510)
56 #
57 # 3510 Support uses a different filename scheme.
58 #
59 BVSB_INCLUDES += $(MAGNUM)/basemodules/chp/3510
60 BVSB_INCLUDES += \
61        $(MAGNUM)/portinginterface/vsb/3510
62
63 BVSB_SOURCES += \
64        $(MAGNUM)/portinginterface/vsb/3510/bvsb.c \
65        $(MAGNUM)/portinginterface/vsb/3510/bvsb_priv.c
66else
67   #
68   # Handle 3520, 3560, 3563, 3548
69   #
70   ifeq ($(BVSB_CHIP),3520)
71    BVSB_INCLUDES += $(MAGNUM)/basemodules/chp/3520
72   else
73    BVSB_CHIP := ${BCHP_CHIP}
74   endif
75   # Module Includes
76   BVSB_INCLUDES += \
77     $(MAGNUM)/portinginterface/vsb/$(BVSB_CHIP) \
78     $(MAGNUM)/portinginterface/vsb
79
80   # Module Sources
81   BVSB_SOURCES += \
82     $(MAGNUM)/portinginterface/vsb/bvsb.c \
83     $(MAGNUM)/portinginterface/vsb/$(BVSB_CHIP)/bvsb_$(BVSB_CHIP).c \
84     $(MAGNUM)/portinginterface/vsb/$(BVSB_CHIP)/bvsb_$(BVSB_CHIP)_priv.c
85
86     #starting with 3548, the firmware is compiled at magnum level
87     ifeq ($(BVSB_CHIP),3548)
88     ifneq ($(BVSB_POWER_MANAGEMENT),n)
89        BVSB_DEFINES += BVSB_POWER_MANAGEMENT
90     endif
91
92     BVSB_SOURCES += \
93      $(MAGNUM)/portinginterface/vsb/3548/microcode/$(BCHP_VER_LOWER)/bcm3548ap.c \
94      $(MAGNUM)/portinginterface/vsb/3548/bvsb_3548_ifd.c \
95      $(MAGNUM)/portinginterface/vsb/3548/bvsb_3548_ifdcoef.c
96     endif
97endif
Note: See TracBrowser for help on using the repository browser.