mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-08-25 05:29:00 +03:00
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19513 3c298f89-4303-0410-b956-a3cf2f4a3e73
38 lines
1.4 KiB
Diff
38 lines
1.4 KiB
Diff
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/arch/mips/include/asm/octeon/cvmx-bootinfo.h
|
|
+++ b/arch/mips/include/asm/octeon/cvmx-bootinfo.h
|
|
@@ -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_typ
|
|
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 */
|