source: svn/trunk/newcon3bcm2_21bu/magnum/basemodules/int/bint.inc @ 71

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

1.phkim

  1. revision copy newcon3sk r27
  • Property svn:executable set to *
File size: 3.6 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: bint.inc $
11# $brcm_Revision: Hydra_Software_Devel/9 $
12# $brcm_Date: 4/5/11 7:13p $
13#
14# Module Description:
15#
16# Revision History:
17#
18# Created: 01/09/2007 by Jon Garrett
19#
20# $brcm_Log: /magnum/basemodules/int/bint.inc $
21#
22# Hydra_Software_Devel/9   4/5/11 7:13p nickh
23# SW7422-412: Add environment variable to exclude VICE2 for 7422
24#
25# Hydra_Software_Devel/8   9/28/10 3:23p hongtaoz
26# SW7425-10: added BINT_OPEN_BYPASS_L2INIT compile option;
27#
28# Hydra_Software_Devel/7   4/23/10 2:30p erickson
29# SW3548-2904: add BCHP_DISABLE_IRQ0_SPI option if kernel is supporting
30# SPI flash
31#
32# Hydra_Software_Devel/6   4/2/10 12:27p nickh
33# SW7420-331: Add BINT_AVD1_DISABLED
34#
35# Hydra_Software_Devel/5   12/8/09 11:09a jgarrett
36# SW7408-17: Adding initial APE support
37#
38# Hydra_Software_Devel/4   8/10/09 5:57p jrubio
39# PR57301: add BAST_AFEC_CORE_DISABLED
40#
41# Hydra_Software_Devel/3   9/8/08 7:54p shyam
42# PR40732 : Add PCI interrupt support for 7043
43#
44# Hydra_Software_Devel/2   1/18/07 3:17p jasonh
45# PR 27117: Added bint_dump.c to list.
46#
47# Hydra_Software_Devel/1   1/11/07 2:37p jgarrett
48# PR27004: Adding new .inc files
49#
50############################################################
51
52#
53# Conditional Options for this Makefile
54#
55# BCHP_7411_VER - If defined (in lower-case), specifies the revision of the 7411 chip to be supported.
56# BCHP_QAM_CHIP - If defined, specifies the revision of the QAM chip to be supported.
57# BINT_ENABLE_IPI - If defined, IPI (inter-processor interrupts) are supported.  Not compatible with SMP Linux.
58#
59
60# Define this module
61MAGNUM_MODULES += BINT
62
63# Module Includes
64BINT_INCLUDES += $(MAGNUM)/basemodules/int
65BINT_INCLUDES += $(MAGNUM)/basemodules/int/$(BCHP_CHIP)
66
67# Module Sources
68BINT_SOURCES += $(MAGNUM)/basemodules/int/bint.c
69BINT_SOURCES += $(MAGNUM)/basemodules/int/bint_dump.c
70BINT_SOURCES += $(MAGNUM)/basemodules/int/$(BCHP_CHIP)/bint_$(BCHP_CHIP).c
71
72#
73# Handle conditional options
74#
75ifneq ($(BCHP_7411_VER),)
76# 7411 support
77BINT_INCLUDES += $(MAGNUM)/basemodules/int/7411
78BINT_SOURCES += $(MAGNUM)/basemodules/int/7411/bint_7411.c
79endif
80
81ifeq ($(BAST_AFEC_CORE_DISABLED),y)
82BINT_DEFINES += BAST_AFEC_CORE_DISABLED
83endif
84
85ifeq ($(BINT_AVD1_DISABLED),y)
86BINT_DEFINES += BINT_AVD1_DISABLED
87endif
88
89ifneq ($(BCHP_QAM_CHIP),)
90BINT_INCLUDES += $(MAGNUM)/basemodules/int
91BINT_INCLUDES += $(MAGNUM)/basemodules/int/$(BCHP_QAM_CHIP)
92
93BINT_SOURCES += $(MAGNUM)/basemodules/int/$(BCHP_QAM_CHIP)/bint_$(BCHP_QAM_CHIP).c
94endif
95
96ifneq ($(BENC_CHIP),)
97# 7043 support
98BINT_INCLUDES += $(MAGNUM)/basemodules/int/$(BENC_CHIP)
99BINT_SOURCES += $(MAGNUM)/basemodules/int/$(BENC_CHIP)/bint_$(BENC_CHIP).c
100endif
101
102ifeq ($(BINT_ENABLE_IPI),y)
103BINT_DEFINES += BINT_ENABLE_IPI=1
104endif
105
106ifeq ($(BINT_OPEN_BYPASS_L2INIT), y)
107BINT_DEFINES += BINT_OPEN_BYPASS_L2INIT=1
108endif
109
110ifeq ($(BINT_VICE2_DISABLED),y)
111BINT_DEFINES += BINT_VICE2_DISABLED
112endif
113
114ifeq ($(BCHP_DISABLE_IRQ0_SPI),y)
115# For 3548/3556, the linux kernel will access IRQ0_SPI_IRQEN for SPI flash devices.
116# If you are using SPI flash, you must export BCHP_DISABLE_IRQ0_SPI=y to prevent Magnum
117# from disabling this interrupt. If you need magnum and kernel acess to SPI, you cannot enable
118# this code. Instead use the linux kernel's spidev techinque. See SW3548-2904 for details.
119BINT_DEFINES += BCHP_DISABLE_IRQ0_SPI=1
120endif
Note: See TracBrowser for help on using the repository browser.