/*
 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions
 *  are met:
 *
 *    Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 *
 *    Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the
 *    distribution.
 *
 *    Neither the name of Texas Instruments Incorporated nor the names of
 *    its contributors may be used to endorse or promote products derived
 *    from this software without specific prior written permission.
 *
 *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 *
 */

/*******************************************************************************
* FILE PURPOSE: EMAC Hardware Platform Configuration
*
********************************************************************************
* FILE NAME:    emac_hwcfg.h
*
* DESCRIPTION:  This file contains definitions of hardware platform specific
*               configuration
*******************************************************************************/
#ifndef __EMACHWCFG_H__
#define __EMACHWCFG_H__

/*
 * Platform definition passed as a compilation defintion
 * from the platform specific project file or can be set
 * below in this header file
 *
 * #define     C6472
 * #undef      C6457
 * #undef      C6474
 */

/**********************************************************************
 ******************** Platform Specific Definitions *******************
 **********************************************************************/

/************************** C6472 Platform *************************/
#ifdef C6472
/**
 * @brief   Maximum number of EMAC ports
 */
#define MAX_NUM_DSP_CORES       6

/**
 * @brief   Maximum number of EMAC ports
 */
#define MAX_NUM_EMAC_PORTS      2

/**
 * @brief   Mulitple core device
 */
#define MULTI_CORE_DEV
#define TWO_PORT_DEV
#endif /* C6472 */

/*************************** C6457 Platform ***************************/
#ifdef C6457
/**
 * @brief   Maximum number of EMAC ports
 */
#define MAX_NUM_DSP_CORES       1

/**
 * @brief   Maximum number of EMAC ports
 */
#define MAX_NUM_EMAC_PORTS      1

/**
 * @brief   Single core device
 */
#undef  MULTI_CORE_DEV
#undef  TWO_PORT_DEV
#endif /* C6457 */

/************************** C6474 Platform **************************/
#ifdef C6474
/**
 * @brief   Maximum number of EMAC ports
 */
#define MAX_NUM_DSP_CORES       3

/**
 * @brief   Maximum number of EMAC ports
 */
#define MAX_NUM_EMAC_PORTS      1

/**
 * @brief   Mulitple core device
 */
#define MULTI_CORE_DEV
#undef  TWO_PORT_DEV
#endif /* C6474 */

/*************************** C6657 Platform ***************************/
#ifdef C6657
/**
 * @brief   Maximum number of DSP cores
 */
#define MAX_NUM_DSP_CORES       2

/**
 * @brief   Maximum number of EMAC ports
 */
#define MAX_NUM_EMAC_PORTS      1

/**
 * @brief   Single core device
 */
#define  MULTI_CORE_DEV
#undef  TWO_PORT_DEV
#endif /* C6657 */


#endif /* __EMACHWCFG_H__*/
