| 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: bcm97118.inc $ |
|---|
| 11 | # $brcm_Revision: 23 $ |
|---|
| 12 | # $brcm_Date: 2/17/09 3:13p $ |
|---|
| 13 | # |
|---|
| 14 | # Module Description: |
|---|
| 15 | # |
|---|
| 16 | # Revision History: |
|---|
| 17 | # |
|---|
| 18 | # $brcm_Log: /BSEAV/api/build/magnum/bcm97118.inc $ |
|---|
| 19 | # |
|---|
| 20 | # 23 2/17/09 3:13p mward |
|---|
| 21 | # PR46431: Fix compile with update bads.inc. |
|---|
| 22 | # |
|---|
| 23 | # 22 2/2/09 10:47a mward |
|---|
| 24 | # PR46431: Specify BADS_CHIP=3255. |
|---|
| 25 | # |
|---|
| 26 | # 21 1/23/09 10:18a mward |
|---|
| 27 | # PR46436: Specify BAOB_CHIP=3255. |
|---|
| 28 | # |
|---|
| 29 | # 20 8/29/07 5:57p mward |
|---|
| 30 | # PR32434: Default UNIFIED_ITB_SUPPORT for 97118[RNG] (correct comment) |
|---|
| 31 | # |
|---|
| 32 | # 19 8/13/07 6:34p mward |
|---|
| 33 | # PR32434: Default UNIFIED_ITB_SUPPORT for 97118[RNG] again, working now. |
|---|
| 34 | # |
|---|
| 35 | # 18 8/8/07 6:07p mward |
|---|
| 36 | # PR32434: Default UNIFIED_ITB_SUPPORT for 97118[RNG] off, audio |
|---|
| 37 | # problems. |
|---|
| 38 | # |
|---|
| 39 | # 17 8/6/07 12:30p mward |
|---|
| 40 | # PR32434: Default UNIFIED_ITB_SUPPORT for 97118[RNG] |
|---|
| 41 | # |
|---|
| 42 | # 16 7/26/07 12:34p mward |
|---|
| 43 | # PR32434: Add UNIFIED_ITB_SUPPORT=y build option for 97118[RNG] |
|---|
| 44 | # platforms. |
|---|
| 45 | # |
|---|
| 46 | # 15 4/23/07 11:05a mward |
|---|
| 47 | # PR29446: Adding B_HAS_3255=n same as B_NO_BNM=y for consistency with |
|---|
| 48 | # other boards. |
|---|
| 49 | # |
|---|
| 50 | # 14 3/26/07 5:08p mward |
|---|
| 51 | # PR24922: If POD build is enabled, don't set pinmuxes for XVD UARTs. |
|---|
| 52 | # Conflict, pins needed for POD. |
|---|
| 53 | # |
|---|
| 54 | # 13 3/15/07 10:28a mward |
|---|
| 55 | # PR28683: exclude OOB_SUPPORT with B_NO_BNM=y build option. |
|---|
| 56 | # |
|---|
| 57 | # 12 3/14/07 10:57a mward |
|---|
| 58 | # PR28683: exclude OOB_SUPPORT option for BCM97118RNG. |
|---|
| 59 | # |
|---|
| 60 | # 11 3/13/07 2:23p jackli |
|---|
| 61 | # PR28683: add OOB_SUPPORT option for BCM97118 |
|---|
| 62 | # |
|---|
| 63 | # 10 12/6/06 6:04p mward |
|---|
| 64 | # PR26388: add support for I2S output. |
|---|
| 65 | # |
|---|
| 66 | # 9 11/27/06 3:26p mward |
|---|
| 67 | # PR23262: Add PCM, Smartcard for 97118. |
|---|
| 68 | # |
|---|
| 69 | # 8 10/19/06 5:27p mward |
|---|
| 70 | # PR25041: Disable BNM "3255" support with B_NO_BNM=y |
|---|
| 71 | # |
|---|
| 72 | # 7 10/17/06 7:27p mward |
|---|
| 73 | # PR24517: Correct findstring. |
|---|
| 74 | # |
|---|
| 75 | # 6 10/12/06 7:39p mward |
|---|
| 76 | # PR24517: Support 3510 demod. |
|---|
| 77 | # |
|---|
| 78 | # 5 9/30/06 1:55p mward |
|---|
| 79 | # PR24666: enable netifdma |
|---|
| 80 | # |
|---|
| 81 | # 4 9/7/06 7:04p mward |
|---|
| 82 | # PR24160: allow selection of build without 3255 in one place for bringup |
|---|
| 83 | # |
|---|
| 84 | # 3 8/23/06 5:58p mward |
|---|
| 85 | # PR21671: 97118 temp. disable FPGA and 3255 - not ready yet. |
|---|
| 86 | # |
|---|
| 87 | # 2 7/11/06 3:54p mward |
|---|
| 88 | # PR21671: Add AOB, AUS and TNR3255ob support for 7118 |
|---|
| 89 | # |
|---|
| 90 | # 1 5/25/06 6:20p mward |
|---|
| 91 | # PR21671: Add support for 7118 chip 97118 board. |
|---|
| 92 | # |
|---|
| 93 | ############################################################ |
|---|
| 94 | |
|---|
| 95 | include ${ROCKFORD}/modules/tnr.inc |
|---|
| 96 | |
|---|
| 97 | # RAVE unified ITB support. (default on) |
|---|
| 98 | ifneq ($(subst N,n,${UNIFIED_ITB_SUPPORT}),n) |
|---|
| 99 | CFLAGS += -DUNIFIED_ITB_SUPPORT |
|---|
| 100 | UNIFIED_ITB_SUPPORT := y |
|---|
| 101 | endif |
|---|
| 102 | |
|---|
| 103 | ifeq ($(subst N,n,${B_HAS_3255}),n) |
|---|
| 104 | B_NO_BNM := y |
|---|
| 105 | endif |
|---|
| 106 | |
|---|
| 107 | ifneq (${B_NO_BNM},y) |
|---|
| 108 | include ${ROCKFORD}/modules/rpc.inc |
|---|
| 109 | include ${ROCKFORD}/modules/3255/tnr3255ib.inc |
|---|
| 110 | |
|---|
| 111 | ifeq ($(findstring RNG,$(PLATFORM)),) |
|---|
| 112 | OOB_SUPPORT ?=y |
|---|
| 113 | ifeq ($(OOB_SUPPORT),y) |
|---|
| 114 | CFLAGS += -DB_HAS_OOB=1 |
|---|
| 115 | BAOB_CHIP=3255 |
|---|
| 116 | include ${ROCKFORD}/modules/3255/aob.inc |
|---|
| 117 | include ${ROCKFORD}/modules/3255/aus.inc |
|---|
| 118 | include ${ROCKFORD}/modules/3255/tnr3255ob.inc |
|---|
| 119 | endif |
|---|
| 120 | endif |
|---|
| 121 | |
|---|
| 122 | SRCS += bsettop_tuner_3255.c |
|---|
| 123 | CFLAGS += -DB_HAS_3255=1 |
|---|
| 124 | BADS_CHIP=3255 |
|---|
| 125 | BADS_3255_SUPPORT=y |
|---|
| 126 | include ${MAGNUM}/portinginterface/ads/bads.inc |
|---|
| 127 | endif |
|---|
| 128 | |
|---|
| 129 | ifeq ($(findstring RNG,$(PLATFORM)),) |
|---|
| 130 | include ${ROCKFORD}/modules/3510.inc |
|---|
| 131 | include ${ROCKFORD}/modules/3510/vsb.inc |
|---|
| 132 | R_OBJ += ${ROCKFORD}/bsp/bcm97118/common/bcm3510ap |
|---|
| 133 | CFLAGS += -DVSB_CHIP=3510 |
|---|
| 134 | SRCS += bsettop_tuner_3510.c |
|---|
| 135 | OBJ += portinginterface/tnr/3418/btnr_3418 \ |
|---|
| 136 | portinginterface/tnr/3418/btnr_3418_regio \ |
|---|
| 137 | portinginterface/tnr/3418/btnr_3418_smarttune |
|---|
| 138 | INC += portinginterface/tnr/3418 |
|---|
| 139 | endif |
|---|
| 140 | |
|---|
| 141 | ifeq (${SYSTEM},linux) |
|---|
| 142 | # Needs a special version of a kernel, don't enable by default |
|---|
| 143 | # B_HAS_PLAYPUMP_IP ?= y |
|---|
| 144 | endif |
|---|
| 145 | ifeq (${B_HAS_PLAYPUMP_IP},y) |
|---|
| 146 | CFLAGS += -DB_HAS_PLAYPUMP_IP |
|---|
| 147 | CFLAGS += ${BNETIF_DMA_CFLAGS} |
|---|
| 148 | endif |
|---|
| 149 | |
|---|
| 150 | B_HAS_SMARTCARD=y |
|---|
| 151 | B_HAS_PCM=y |
|---|
| 152 | |
|---|
| 153 | ifeq (${B_HAS_I2S_OUTPUT},y) |
|---|
| 154 | CFLAGS += -DB_HAS_I2S_OUTPUT=1 |
|---|
| 155 | endif |
|---|
| 156 | |
|---|
| 157 | ifeq ($(CABLECARD_SUPPORT),SPOD) |
|---|
| 158 | CFLAGS += -DSPOD_SUPPORT |
|---|
| 159 | else |
|---|
| 160 | ifeq ($(CABLECARD_SUPPORT),MPOD) |
|---|
| 161 | CFLAGS += -DMPOD_SUPPORT |
|---|
| 162 | endif |
|---|
| 163 | endif |
|---|