| 1 | ############################################################ |
|---|
| 2 | # Copyright (c) 2003-2007, 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: bcm97335.inc $ |
|---|
| 11 | # $brcm_Revision: 3 $ |
|---|
| 12 | # $brcm_Date: 12/27/07 7:30p $ |
|---|
| 13 | # |
|---|
| 14 | # Module Description: |
|---|
| 15 | # |
|---|
| 16 | # Revision History: |
|---|
| 17 | # |
|---|
| 18 | # $brcm_Log: /BSEAV/api/build/magnum/bcm97335.inc $ |
|---|
| 19 | # |
|---|
| 20 | # 3 12/27/07 7:30p agin |
|---|
| 21 | # PR38452: Integrate SDS into 97335 reference software. |
|---|
| 22 | # |
|---|
| 23 | # 2 12/5/07 4:05p katrep |
|---|
| 24 | # PR37217: Added 7335 support |
|---|
| 25 | # |
|---|
| 26 | # 12 11/5/07 10:34a katrep |
|---|
| 27 | # PR27643: Enabled smartcard support |
|---|
| 28 | # |
|---|
| 29 | # 11 10/12/07 5:18p jrubio |
|---|
| 30 | # PR35007: must compile both 4501 and 4506^ |
|---|
| 31 | # |
|---|
| 32 | # 10 10/11/07 1:56p jrubio |
|---|
| 33 | # PR35007: adding 4506 tuner support |
|---|
| 34 | # |
|---|
| 35 | # 9 10/9/07 3:35a katrep |
|---|
| 36 | # PR35844: Added PCM playback support for 7405. |
|---|
| 37 | # |
|---|
| 38 | # 8 10/6/07 12:47a katrep |
|---|
| 39 | # PR34354: Added compile time support for various raptor flags in settop |
|---|
| 40 | # api. |
|---|
| 41 | # |
|---|
| 42 | # 7 9/20/07 1:58p katrep |
|---|
| 43 | # PR34354: Diabled AC3,AC3 plus audio support as default options. |
|---|
| 44 | # |
|---|
| 45 | # 6 7/12/07 1:54p katrep |
|---|
| 46 | # PR27643: 7405 first audio integration. |
|---|
| 47 | # |
|---|
| 48 | # 5 6/28/07 1:51p katrep |
|---|
| 49 | # PR27643: Enable unified itb format as default option. |
|---|
| 50 | # |
|---|
| 51 | # 4 6/7/07 6:48p vle |
|---|
| 52 | # PR 31924: Define HDMI Tx Support for platform |
|---|
| 53 | # |
|---|
| 54 | # 3 6/1/07 11:44a gmullen |
|---|
| 55 | # PR27642: Added unified ITB support. |
|---|
| 56 | # |
|---|
| 57 | # 2 5/31/07 3:07p katrep |
|---|
| 58 | # PR27643:Added support for 7405 |
|---|
| 59 | # |
|---|
| 60 | # 1 3/26/07 7:09p katrep |
|---|
| 61 | # PR27643: Added support for 7405 |
|---|
| 62 | # |
|---|
| 63 | # |
|---|
| 64 | ############################################################ |
|---|
| 65 | |
|---|
| 66 | #By default disable Ac3+ support |
|---|
| 67 | ifneq ($(subst Y,y,${RAP_DDP_SUPPORT}),y) |
|---|
| 68 | CFLAGS += -DB_RAP_NO_AC3PLUS_SUPPORT |
|---|
| 69 | endif |
|---|
| 70 | |
|---|
| 71 | #By default disable Ac3 support |
|---|
| 72 | ifneq ($(subst Y,y,${RAP_AC3_SUPPORT}),y) |
|---|
| 73 | CFLAGS += -DB_RAP_NO_AC3_SUPPORT |
|---|
| 74 | endif |
|---|
| 75 | |
|---|
| 76 | |
|---|
| 77 | #By default disable WMA support |
|---|
| 78 | ifneq ($(subst Y,y,${RAP_WMA_SUPPORT}),y) |
|---|
| 79 | CFLAGS += -DB_RAP_NO_WMA_SUPPORT |
|---|
| 80 | endif |
|---|
| 81 | |
|---|
| 82 | # By default enable the unified itb format |
|---|
| 83 | UNIFIED_ITB_SUPPORT=y |
|---|
| 84 | |
|---|
| 85 | # RAVE unified ITB support. |
|---|
| 86 | ifeq ($(UNIFIED_ITB_SUPPORT),y) |
|---|
| 87 | CFLAGS += -DUNIFIED_ITB_SUPPORT |
|---|
| 88 | endif |
|---|
| 89 | |
|---|
| 90 | |
|---|
| 91 | #dont need this for 7335 but, need it now to compile |
|---|
| 92 | ifeq ($(AST4501_SUPPORT),) |
|---|
| 93 | AST4501_SUPPORT=y |
|---|
| 94 | BAST_CHIP+= 4501 |
|---|
| 95 | endif |
|---|
| 96 | |
|---|
| 97 | # add 4506 support |
|---|
| 98 | ifeq ($(AST4506_SUPPORT),) |
|---|
| 99 | AST4506_SUPPORT=y |
|---|
| 100 | BAST_CHIP+= 4506 |
|---|
| 101 | endif |
|---|
| 102 | |
|---|
| 103 | # add 7335 support |
|---|
| 104 | ifeq ($(AST7335_SUPPORT),) |
|---|
| 105 | AST7335_SUPPORT=y |
|---|
| 106 | BAST_CHIP+= 7335 |
|---|
| 107 | endif |
|---|
| 108 | |
|---|
| 109 | ifeq ($(AST4501_SUPPORT),y) |
|---|
| 110 | include ${MAGNUM}/portinginterface/ast/bast.inc |
|---|
| 111 | SRCS += bsettop_tuner_4501.c |
|---|
| 112 | CFLAGS += -DAST_CHIP=450x |
|---|
| 113 | endif |
|---|
| 114 | |
|---|
| 115 | ifeq ($(AST4506_SUPPORT),y) |
|---|
| 116 | SRCS += bsettop_tuner_4506.c |
|---|
| 117 | ifeq ($(AST4501_SUPPORT),) |
|---|
| 118 | include ${MAGNUM}/portinginterface/ast/bast.inc |
|---|
| 119 | CFLAGS += -DAST_CHIP=450x |
|---|
| 120 | endif |
|---|
| 121 | endif |
|---|
| 122 | |
|---|
| 123 | ifeq ($(AST7335_SUPPORT),y) |
|---|
| 124 | SRCS += bsettop_tuner_73xx.c |
|---|
| 125 | endif |
|---|
| 126 | |
|---|
| 127 | ifeq (${SYSTEM},linux) |
|---|
| 128 | # Needs a special version of a kernel, don't enable by default |
|---|
| 129 | #B_HAS_PLAYPUMP_IP ?= y |
|---|
| 130 | endif |
|---|
| 131 | ifeq (${B_HAS_PLAYPUMP_IP},y) |
|---|
| 132 | CFLAGS += -DB_HAS_PLAYPUMP_IP |
|---|
| 133 | CFLAGS += ${BNETIF_DMA_CFLAGS} |
|---|
| 134 | endif |
|---|
| 135 | |
|---|
| 136 | include ${ROCKFORD}/modules/uhf.inc |
|---|
| 137 | |
|---|
| 138 | B_HAS_SMARTCARD=y |
|---|
| 139 | HDMI_TX_SUPPORT=y |
|---|
| 140 | B_HAS_PCM=y |
|---|
| 141 | |
|---|