source: trunk/target/linux/octeon/patches-2.6.30/008-more_board_types_constraints.patch @ 19513

Last change on this file since 19513 was 19513, checked in by florian, 6 years ago

[octeon] move generic config and patches directory to be 2.6.30 specific

File size: 1.4 KB
  • arch/mips/include/asm/octeon/cvmx-bootinfo.h

    The bootloader now uses additional board type constants.  The
    octeon-ethernet driver needs some of the new values.
    
    Signed-off-by: David Daney <ddaney@caviumnetworks.com>
    ---
     arch/mips/include/asm/octeon/cvmx-bootinfo.h |   13 +++++++++++++
     1 files changed, 13 insertions(+), 0 deletions(-)
    
    a b enum cvmx_board_types_enum { 
    157157        CVMX_BOARD_TYPE_NIC_XLE_4G = 21, 
    158158        CVMX_BOARD_TYPE_EBT5600 = 22, 
    159159        CVMX_BOARD_TYPE_EBH5201 = 23, 
     160        CVMX_BOARD_TYPE_EBT5200 = 24, 
     161        CVMX_BOARD_TYPE_CB5600  = 25, 
     162        CVMX_BOARD_TYPE_CB5601  = 26, 
     163        CVMX_BOARD_TYPE_CB5200  = 27, 
     164        /* Special 'generic' board type, supports many boards */ 
     165        CVMX_BOARD_TYPE_GENERIC = 28, 
     166        CVMX_BOARD_TYPE_EBH5610 = 29, 
    160167        CVMX_BOARD_TYPE_MAX, 
    161168 
    162169        /* 
    static inline const char *cvmx_board_typ 
    228235                ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_NIC_XLE_4G) 
    229236                ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_EBT5600) 
    230237                ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_EBH5201) 
     238                ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_EBT5200) 
     239                ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CB5600) 
     240                ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CB5601) 
     241                ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CB5200) 
     242                ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_GENERIC) 
     243                ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_EBH5610) 
    231244                ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_MAX) 
    232245 
    233246                        /* Customer boards listed here */ 
Note: See TracBrowser for help on using the repository browser.