| 1 | /*************************************************************************** |
|---|
| 2 | * Copyright (c) 2003-2012, 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: bstd_cfg.h $ |
|---|
| 11 | * $brcm_Revision: Hydra_Software_Devel/8 $ |
|---|
| 12 | * $brcm_Date: 2/21/12 1:57p $ |
|---|
| 13 | * |
|---|
| 14 | * Module Description: |
|---|
| 15 | * |
|---|
| 16 | * Revision History: |
|---|
| 17 | * |
|---|
| 18 | * $brcm_Log: /magnum/basemodules/std/config/bstd_cfg.h $ |
|---|
| 19 | * |
|---|
| 20 | * Hydra_Software_Devel/8 2/21/12 1:57p erickson |
|---|
| 21 | * SW7425-2130: remove unnecessary sample defines |
|---|
| 22 | * |
|---|
| 23 | * Hydra_Software_Devel/7 1/7/05 1:16p jasonh |
|---|
| 24 | * PR 13752: Removed reference to BCHP_FAMILY* |
|---|
| 25 | * |
|---|
| 26 | * Hydra_Software_Devel/7 1/7/05 1:10p jasonh |
|---|
| 27 | * PR 13752: Removed reference to BCHP_FAMILY* |
|---|
| 28 | * |
|---|
| 29 | * Hydra_Software_Devel/7 1/7/05 1:08p jasonh |
|---|
| 30 | * PR 13752: Removed reference to BCHP_FAMILY* |
|---|
| 31 | * |
|---|
| 32 | * Hydra_Software_Devel/7 1/7/05 1:06p jasonh |
|---|
| 33 | * PR 13752: Removed reference to BCHP_FAMILY* |
|---|
| 34 | * |
|---|
| 35 | * Hydra_Software_Devel/6 4/12/04 12:01p vsilyaev |
|---|
| 36 | * PR 10566: Moved test for standard defines to bstd.h |
|---|
| 37 | * |
|---|
| 38 | * Hydra_Software_Devel/5 8/13/03 2:14p aram |
|---|
| 39 | * removed 7120, 7036 and added 7038 |
|---|
| 40 | * |
|---|
| 41 | * Hydra_Software_Devel/4 4/17/03 1:29p dlwin |
|---|
| 42 | * Fixed problem with test for BSTD_CPU_ENDIAN. |
|---|
| 43 | * |
|---|
| 44 | * Hydra_Software_Devel/3 4/4/03 4:56p marcusk |
|---|
| 45 | * Updated references of BSTD_XXX_ENDIAN to BSTD_ENDIAN_XXX |
|---|
| 46 | * |
|---|
| 47 | * Hydra_Software_Devel/3 4/4/03 4:51p marcusk |
|---|
| 48 | * Updated references of BSTD_XXX_ENDIAN to BSTD_ENDIAN_XXX |
|---|
| 49 | * |
|---|
| 50 | * Hydra_Software_Devel/2 4/4/03 3:28p jasonh |
|---|
| 51 | * Removed board configuration and added ifdefs to check that required |
|---|
| 52 | * settings are given. |
|---|
| 53 | * |
|---|
| 54 | * Hydra_Software_Devel/1 3/26/03 11:08a jasonh |
|---|
| 55 | * Initial version. |
|---|
| 56 | * |
|---|
| 57 | ***************************************************************************/ |
|---|
| 58 | #ifndef BSTD_CFG_H__ |
|---|
| 59 | #define BSTD_CFG_H__ |
|---|
| 60 | |
|---|
| 61 | /*************************************************************************** |
|---|
| 62 | The following is a list of platform-specific defines. These are used to |
|---|
| 63 | create code that can be used for multiple chipsets/revisions, multiple |
|---|
| 64 | families/revisions, and different board types. Porting interfaces and |
|---|
| 65 | SysLib authors should use them in Init or Open functions, not speckled |
|---|
| 66 | throughout the code. |
|---|
| 67 | |
|---|
| 68 | The user has two options: |
|---|
| 69 | - Copy this file into their build environment and adjust the values to |
|---|
| 70 | meet their platform specifications. |
|---|
| 71 | - Provide values for the defines through makefile settings. In that case, |
|---|
| 72 | this file may be used directly to satisfy the need for the bstd_cfg.h |
|---|
| 73 | include. |
|---|
| 74 | ****************************************************************************/ |
|---|
| 75 | |
|---|
| 76 | /* CPU endianness (choose one only) */ |
|---|
| 77 | #if 0 |
|---|
| 78 | #define BSTD_CPU_ENDIAN BSTD_ENDIAN_BIG |
|---|
| 79 | #define BSTD_CPU_ENDIAN BSTD_ENDIAN_LITTLE |
|---|
| 80 | #endif |
|---|
| 81 | |
|---|
| 82 | /* enabling the debug build */ |
|---|
| 83 | #if 0 |
|---|
| 84 | #define BDBG_DEBUG_BUILD 1 |
|---|
| 85 | #endif |
|---|
| 86 | |
|---|
| 87 | /* chip type (choose one only) */ |
|---|
| 88 | #if 0 |
|---|
| 89 | #define BCHP_CHIP 7038 |
|---|
| 90 | #endif |
|---|
| 91 | |
|---|
| 92 | /* chip revisions supported (choose one or more) */ |
|---|
| 93 | #if 0 |
|---|
| 94 | #define BCHP_REV_A0 |
|---|
| 95 | #endif |
|---|
| 96 | |
|---|
| 97 | #endif /* #ifndef BSTD_CFG_H__ */ |
|---|
| 98 | |
|---|
| 99 | /* end of file */ |
|---|