1 --- a/arch/mips/include/asm/octeon/cvmx-bootinfo.h
2 +++ b/arch/mips/include/asm/octeon/cvmx-bootinfo.h
3 @@ -228,6 +228,8 @@ enum cvmx_board_types_enum {
5 CVMX_BOARD_TYPE_CUST_PRIVATE_MIN = 20001,
6 CVMX_BOARD_TYPE_UBNT_E100 = 20002,
7 + CVMX_BOARD_TYPE_UBNT_E200 = 20003,
8 + CVMX_BOARD_TYPE_UBNT_E220 = 20005,
9 CVMX_BOARD_TYPE_CUST_PRIVATE_MAX = 30000,
11 /* The remaining range is reserved for future use. */
12 @@ -327,6 +329,8 @@ static inline const char *cvmx_board_typ
13 /* Customer private range */
14 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_PRIVATE_MIN)
15 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_UBNT_E100)
16 + ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_UBNT_E200)
17 + ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_UBNT_E220)
18 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_PRIVATE_MAX)
20 return "Unsupported Board";
21 --- a/arch/mips/cavium-octeon/executive/cvmx-helper-board.c
22 +++ b/arch/mips/cavium-octeon/executive/cvmx-helper-board.c
23 @@ -186,6 +186,8 @@ int cvmx_helper_board_get_mii_address(in
27 + case CVMX_BOARD_TYPE_UBNT_E200:
31 /* Some unknown board. Somebody forgot to update this function... */