MIPS: Cavium-Octeon: Add more board type constants.
authorDavid Daney <ddaney@caviumnetworks.com>
Wed, 6 May 2009 00:35:18 +0000 (17:35 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 17 Jun 2009 10:06:29 +0000 (11:06 +0100)
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>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/octeon/cvmx-bootinfo.h

index 692989acd8a918926fb5bee4fb7ef83101978632..f3c23a43f845140e946d6af2a386811541ebb346 100644 (file)
@@ -157,6 +157,13 @@ enum cvmx_board_types_enum {
        CVMX_BOARD_TYPE_NIC_XLE_4G = 21,
        CVMX_BOARD_TYPE_EBT5600 = 22,
        CVMX_BOARD_TYPE_EBH5201 = 23,
+       CVMX_BOARD_TYPE_EBT5200 = 24,
+       CVMX_BOARD_TYPE_CB5600  = 25,
+       CVMX_BOARD_TYPE_CB5601  = 26,
+       CVMX_BOARD_TYPE_CB5200  = 27,
+       /* Special 'generic' board type, supports many boards */
+       CVMX_BOARD_TYPE_GENERIC = 28,
+       CVMX_BOARD_TYPE_EBH5610 = 29,
        CVMX_BOARD_TYPE_MAX,
 
        /*
@@ -228,6 +235,12 @@ static inline const char *cvmx_board_type_to_string(enum
                ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_NIC_XLE_4G)
                ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_EBT5600)
                ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_EBH5201)
+               ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_EBT5200)
+               ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CB5600)
+               ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CB5601)
+               ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CB5200)
+               ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_GENERIC)
+               ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_EBH5610)
                ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_MAX)
 
                        /* Customer boards listed here */