mips: octeon: Add Ubiquiti E300 board
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Thu, 25 Feb 2021 16:07:13 +0000 (17:07 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Sat, 6 Mar 2021 07:43:39 +0000 (08:43 +0100)
This board is used in Ubiquiti EdgeRouter 4.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/include/asm/octeon/cvmx-bootinfo.h

index c114a7ba0badd28ddf9dfa41d600774e03d943ec..0e6bf220db618c396e588b91516eb27b39d1c51f 100644 (file)
@@ -298,6 +298,7 @@ enum cvmx_board_types_enum {
        CVMX_BOARD_TYPE_UBNT_E200 = 20003,
        CVMX_BOARD_TYPE_UBNT_E220 = 20005,
        CVMX_BOARD_TYPE_CUST_DSR1000N = 20006,
+       CVMX_BOARD_TYPE_UBNT_E300 = 20300,
        CVMX_BOARD_TYPE_KONTRON_S1901 = 21901,
        CVMX_BOARD_TYPE_CUST_PRIVATE_MAX = 30000,
 
@@ -401,6 +402,7 @@ static inline const char *cvmx_board_type_to_string(enum
                ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_UBNT_E200)
                ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_UBNT_E220)
                ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_DSR1000N)
+               ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_UBNT_E300)
                ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_KONTRON_S1901)
                ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_PRIVATE_MAX)
        }