Deleted Added
full compact
cvmx-app-init.h (215014) cvmx-app-init.h (215990)
1/***********************license start***************
1/***********************license start***************
2 * Copyright (c) 2003-2008 Cavium Networks (support@cavium.com). All rights
3 * reserved.
2 * Copyright (c) 2003-2010 Cavium Networks (support@cavium.com). All rights
3 * reserved.
4 *
5 *
4 *
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met:
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met:
9 *
9 *
10 * * Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 *
12 *
13 * * Redistributions in binary form must reproduce the above
14 * copyright notice, this list of conditions and the following
15 * disclaimer in the documentation and/or other materials provided
16 * with the distribution.
17 *
18 * * Neither the name of Cavium Networks nor the names of
19 * its contributors may be used to endorse or promote products
20 * derived from this software without specific prior written
21 * permission.
22 *
23 * TO THE MAXIMUM EXTENT PERMITTED BY LAW, THE SOFTWARE IS PROVIDED "AS IS"
24 * AND WITH ALL FAULTS AND CAVIUM NETWORKS MAKES NO PROMISES, REPRESENTATIONS
25 * OR WARRANTIES, EITHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, WITH
26 * RESPECT TO THE SOFTWARE, INCLUDING ITS CONDITION, ITS CONFORMITY TO ANY
27 * REPRESENTATION OR DESCRIPTION, OR THE EXISTENCE OF ANY LATENT OR PATENT
28 * DEFECTS, AND CAVIUM SPECIFICALLY DISCLAIMS ALL IMPLIED (IF ANY) WARRANTIES
29 * OF TITLE, MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR A PARTICULAR
30 * PURPOSE, LACK OF VIRUSES, ACCURACY OR COMPLETENESS, QUIET ENJOYMENT, QUIET
31 * POSSESSION OR CORRESPONDENCE TO DESCRIPTION. THE ENTIRE RISK ARISING OUT
32 * OF USE OR PERFORMANCE OF THE SOFTWARE LIES WITH YOU.
33 *
34 *
35 * For any questions regarding licensing please contact marketing@caviumnetworks.com
36 *
13 * * Redistributions in binary form must reproduce the above
14 * copyright notice, this list of conditions and the following
15 * disclaimer in the documentation and/or other materials provided
16 * with the distribution.
17
18 * * Neither the name of Cavium Networks nor the names of
19 * its contributors may be used to endorse or promote products
20 * derived from this software without specific prior written
21 * permission.
22
23 * This Software, including technical data, may be subject to U.S. export control
24 * laws, including the U.S. Export Administration Act and its associated
25 * regulations, and may be subject to export or import regulations in other
26 * countries.
27
28 * TO THE MAXIMUM EXTENT PERMITTED BY LAW, THE SOFTWARE IS PROVIDED "AS IS"
29 * AND WITH ALL FAULTS AND CAVIUM NETWORKS MAKES NO PROMISES, REPRESENTATIONS OR
30 * WARRANTIES, EITHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, WITH RESPECT TO
31 * THE SOFTWARE, INCLUDING ITS CONDITION, ITS CONFORMITY TO ANY REPRESENTATION OR
32 * DESCRIPTION, OR THE EXISTENCE OF ANY LATENT OR PATENT DEFECTS, AND CAVIUM
33 * SPECIFICALLY DISCLAIMS ALL IMPLIED (IF ANY) WARRANTIES OF TITLE,
34 * MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR A PARTICULAR PURPOSE, LACK OF
35 * VIRUSES, ACCURACY OR COMPLETENESS, QUIET ENJOYMENT, QUIET POSSESSION OR
36 * CORRESPONDENCE TO DESCRIPTION. THE ENTIRE RISK ARISING OUT OF USE OR
37 * PERFORMANCE OF THE SOFTWARE LIES WITH YOU.
37 ***********************license end**************************************/
38
39
40
41
42
38 ***********************license end**************************************/
39
40
41
42
43
44
43/**
44 * @file
45 * Header file for simple executive application initialization. This defines
46 * part of the ABI between the bootloader and the application.
45/**
46 * @file
47 * Header file for simple executive application initialization. This defines
48 * part of the ABI between the bootloader and the application.
47 * <hr>$Revision: 41586 $<hr>
49 * <hr>$Revision: 52004 $<hr>
48 *
49 */
50
51#ifndef __CVMX_APP_INIT_H__
52#define __CVMX_APP_INIT_H__
53
54#ifdef __cplusplus
55extern "C" {

--- 12 unchanged lines hidden (view full) ---

68/* This structure is populated by the bootloader. For binary
69** compatibility the only changes that should be made are
70** adding members to the end of the structure, and the minor
71** version should be incremented at that time.
72** If an incompatible change is made, the major version
73** must be incremented, and the minor version should be reset
74** to 0.
75*/
50 *
51 */
52
53#ifndef __CVMX_APP_INIT_H__
54#define __CVMX_APP_INIT_H__
55
56#ifdef __cplusplus
57extern "C" {

--- 12 unchanged lines hidden (view full) ---

70/* This structure is populated by the bootloader. For binary
71** compatibility the only changes that should be made are
72** adding members to the end of the structure, and the minor
73** version should be incremented at that time.
74** If an incompatible change is made, the major version
75** must be incremented, and the minor version should be reset
76** to 0.
77*/
76typedef struct
77{
78struct cvmx_bootinfo {
78 uint32_t major_version;
79 uint32_t minor_version;
80
81 uint64_t stack_top;
82 uint64_t heap_base;
83 uint64_t heap_end;
84 uint64_t desc_vaddr;
85

--- 30 unchanged lines hidden (view full) ---

116#endif
117#if (CVMX_BOOTINFO_MIN_VER >= 2)
118 uint32_t dfa_ref_clock_hz; /**< DFA reference clock in hz (if applicable)*/
119 uint32_t config_flags; /**< flags indicating various configuration options. These flags supercede
120 ** the 'flags' variable and should be used instead if available */
121#endif
122
123
79 uint32_t major_version;
80 uint32_t minor_version;
81
82 uint64_t stack_top;
83 uint64_t heap_base;
84 uint64_t heap_end;
85 uint64_t desc_vaddr;
86

--- 30 unchanged lines hidden (view full) ---

117#endif
118#if (CVMX_BOOTINFO_MIN_VER >= 2)
119 uint32_t dfa_ref_clock_hz; /**< DFA reference clock in hz (if applicable)*/
120 uint32_t config_flags; /**< flags indicating various configuration options. These flags supercede
121 ** the 'flags' variable and should be used instead if available */
122#endif
123
124
124} cvmx_bootinfo_t;
125};
125
126
127typedef struct cvmx_bootinfo cvmx_bootinfo_t;
128
126#define CVMX_BOOTINFO_CFG_FLAG_PCI_HOST (1ull << 0)
127#define CVMX_BOOTINFO_CFG_FLAG_PCI_TARGET (1ull << 1)
128#define CVMX_BOOTINFO_CFG_FLAG_DEBUG (1ull << 2)
129#define CVMX_BOOTINFO_CFG_FLAG_NO_MAGIC (1ull << 3)
130/* This flag is set if the TLB mappings are not contained in the
131** 0x10000000 - 0x20000000 boot bus region. */
132#define CVMX_BOOTINFO_CFG_FLAG_OVERSIZE_TLB_MAPPING (1ull << 4)
133#define CVMX_BOOTINFO_CFG_FLAG_BREAK (1ull << 5)

--- 27 unchanged lines hidden (view full) ---

161 CVMX_BOARD_TYPE_NIC_XLE_4G = 21,
162 CVMX_BOARD_TYPE_EBT5600 = 22,
163 CVMX_BOARD_TYPE_EBH5201 = 23,
164 CVMX_BOARD_TYPE_EBT5200 = 24,
165 CVMX_BOARD_TYPE_CB5600 = 25,
166 CVMX_BOARD_TYPE_CB5601 = 26,
167 CVMX_BOARD_TYPE_CB5200 = 27,
168 CVMX_BOARD_TYPE_GENERIC = 28, /* Special 'generic' board type, supports many boards */
129#define CVMX_BOOTINFO_CFG_FLAG_PCI_HOST (1ull << 0)
130#define CVMX_BOOTINFO_CFG_FLAG_PCI_TARGET (1ull << 1)
131#define CVMX_BOOTINFO_CFG_FLAG_DEBUG (1ull << 2)
132#define CVMX_BOOTINFO_CFG_FLAG_NO_MAGIC (1ull << 3)
133/* This flag is set if the TLB mappings are not contained in the
134** 0x10000000 - 0x20000000 boot bus region. */
135#define CVMX_BOOTINFO_CFG_FLAG_OVERSIZE_TLB_MAPPING (1ull << 4)
136#define CVMX_BOOTINFO_CFG_FLAG_BREAK (1ull << 5)

--- 27 unchanged lines hidden (view full) ---

164 CVMX_BOARD_TYPE_NIC_XLE_4G = 21,
165 CVMX_BOARD_TYPE_EBT5600 = 22,
166 CVMX_BOARD_TYPE_EBH5201 = 23,
167 CVMX_BOARD_TYPE_EBT5200 = 24,
168 CVMX_BOARD_TYPE_CB5600 = 25,
169 CVMX_BOARD_TYPE_CB5601 = 26,
170 CVMX_BOARD_TYPE_CB5200 = 27,
171 CVMX_BOARD_TYPE_GENERIC = 28, /* Special 'generic' board type, supports many boards */
172 CVMX_BOARD_TYPE_EBH5610 = 29,
173 CVMX_BOARD_TYPE_LANAI2_A = 30,
174 CVMX_BOARD_TYPE_LANAI2_U = 31,
175 CVMX_BOARD_TYPE_EBB5600 = 32,
176 CVMX_BOARD_TYPE_EBB6300 = 33,
177 CVMX_BOARD_TYPE_NIC_XLE_10G = 34,
178 CVMX_BOARD_TYPE_LANAI2_G = 35,
179 CVMX_BOARD_TYPE_EBT5810 = 36,
180 CVMX_BOARD_TYPE_NIC10E = 37,
169 CVMX_BOARD_TYPE_MAX,
170
171 /* The range from CVMX_BOARD_TYPE_MAX to CVMX_BOARD_TYPE_CUST_DEFINED_MIN is reserved
172 ** for future SDK use. */
173
174 /* Set aside a range for customer boards. These numbers are managed
175 ** by Cavium.
176 */

--- 11 unchanged lines hidden (view full) ---

188 CVMX_BOARD_TYPE_CUST_LANNER_MR955= 10008,
189#endif
190 CVMX_BOARD_TYPE_CUST_GCT105 = 10009,
191 CVMX_BOARD_TYPE_CUST_AGS106 = 10010,
192 CVMX_BOARD_TYPE_CUST_SGM107 = 10011,
193 CVMX_BOARD_TYPE_CUST_GCT108 = 10012,
194 CVMX_BOARD_TYPE_CUST_AGS109 = 10013,
195 CVMX_BOARD_TYPE_CUST_GCT110 = 10014,
181 CVMX_BOARD_TYPE_MAX,
182
183 /* The range from CVMX_BOARD_TYPE_MAX to CVMX_BOARD_TYPE_CUST_DEFINED_MIN is reserved
184 ** for future SDK use. */
185
186 /* Set aside a range for customer boards. These numbers are managed
187 ** by Cavium.
188 */

--- 11 unchanged lines hidden (view full) ---

200 CVMX_BOARD_TYPE_CUST_LANNER_MR955= 10008,
201#endif
202 CVMX_BOARD_TYPE_CUST_GCT105 = 10009,
203 CVMX_BOARD_TYPE_CUST_AGS106 = 10010,
204 CVMX_BOARD_TYPE_CUST_SGM107 = 10011,
205 CVMX_BOARD_TYPE_CUST_GCT108 = 10012,
206 CVMX_BOARD_TYPE_CUST_AGS109 = 10013,
207 CVMX_BOARD_TYPE_CUST_GCT110 = 10014,
208 CVMX_BOARD_TYPE_CUST_L2_AIR_SENDER = 10015,
209 CVMX_BOARD_TYPE_CUST_L2_AIR_RECEIVER= 10016,
210 CVMX_BOARD_TYPE_CUST_L2_ACCTON2_TX = 10017,
211 CVMX_BOARD_TYPE_CUST_L2_ACCTON2_RX = 10018,
212 CVMX_BOARD_TYPE_CUST_L2_WSTRNSNIC_TX= 10019,
213 CVMX_BOARD_TYPE_CUST_L2_WSTRNSNIC_RX= 10020,
196#if defined(OCTEON_VENDOR_LANNER)
214#if defined(OCTEON_VENDOR_LANNER)
197 CVMX_BOARD_TYPE_CUST_LANNER_MR730= 10021,
215 CVMX_BOARD_TYPE_CUST_LANNER_MR730 = 10021,
216#else
217 CVMX_BOARD_TYPE_CUST_L2_ZINWELL = 10021,
198#endif
199 CVMX_BOARD_TYPE_CUST_DEFINED_MAX = 20000,
200
201 /* Set aside a range for customer private use. The SDK won't
202 ** use any numbers in this range. */
203 CVMX_BOARD_TYPE_CUST_PRIVATE_MIN = 20001,
204#if defined(OCTEON_VENDOR_LANNER)
205 CVMX_BOARD_TYPE_CUST_LANNER_MR320= 20002,
206#endif
207 CVMX_BOARD_TYPE_CUST_PRIVATE_MAX = 30000,
208
218#endif
219 CVMX_BOARD_TYPE_CUST_DEFINED_MAX = 20000,
220
221 /* Set aside a range for customer private use. The SDK won't
222 ** use any numbers in this range. */
223 CVMX_BOARD_TYPE_CUST_PRIVATE_MIN = 20001,
224#if defined(OCTEON_VENDOR_LANNER)
225 CVMX_BOARD_TYPE_CUST_LANNER_MR320= 20002,
226#endif
227 CVMX_BOARD_TYPE_CUST_PRIVATE_MAX = 30000,
228
229
230 /* Range for IO modules */
231 CVMX_BOARD_TYPE_MODULE_MIN = 30001,
232 CVMX_BOARD_TYPE_MODULE_PCIE_RC_4X = 30002,
233 CVMX_BOARD_TYPE_MODULE_PCIE_EP_4X = 30003,
234 CVMX_BOARD_TYPE_MODULE_SGMII_MARVEL = 30004,
235 CVMX_BOARD_TYPE_MODULE_SFPPLUS_BCM = 30005,
236 CVMX_BOARD_TYPE_MODULE_SRIO = 30006,
237 CVMX_BOARD_TYPE_MODULE_EBB5600_QLM0 = 30007,
238 CVMX_BOARD_TYPE_MODULE_EBB5600_QLM1 = 30008,
239 CVMX_BOARD_TYPE_MODULE_EBB5600_QLM2 = 30009,
240 CVMX_BOARD_TYPE_MODULE_EBB5600_QLM3 = 30010,
241 CVMX_BOARD_TYPE_MODULE_MAX = 31000,
242
209 /* The remaining range is reserved for future use. */
210};
211enum cvmx_chip_types_enum {
212 CVMX_CHIP_TYPE_NULL = 0,
213 CVMX_CHIP_SIM_TYPE_DEPRECATED = 1,
214 CVMX_CHIP_TYPE_OCTEON_SAMPLE = 2,
215 CVMX_CHIP_TYPE_MAX,
216};

--- 31 unchanged lines hidden (view full) ---

248 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_NIC_XLE_4G)
249 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_EBT5600)
250 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_EBH5201)
251 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_EBT5200)
252 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CB5600)
253 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CB5601)
254 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CB5200)
255 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_GENERIC)
243 /* The remaining range is reserved for future use. */
244};
245enum cvmx_chip_types_enum {
246 CVMX_CHIP_TYPE_NULL = 0,
247 CVMX_CHIP_SIM_TYPE_DEPRECATED = 1,
248 CVMX_CHIP_TYPE_OCTEON_SAMPLE = 2,
249 CVMX_CHIP_TYPE_MAX,
250};

--- 31 unchanged lines hidden (view full) ---

282 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_NIC_XLE_4G)
283 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_EBT5600)
284 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_EBH5201)
285 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_EBT5200)
286 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CB5600)
287 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CB5601)
288 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CB5200)
289 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_GENERIC)
290 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_EBH5610)
291 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_LANAI2_A)
292 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_LANAI2_U)
293 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_EBB5600)
294 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_EBB6300)
295 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_NIC_XLE_10G)
296 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_LANAI2_G)
297 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_EBT5810)
298 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_NIC10E)
256 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_MAX)
257
258 /* Customer boards listed here */
259 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_DEFINED_MIN)
260 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_WSX16)
261 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_NS0216)
262 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_NB5)
263 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_WMR500)

--- 6 unchanged lines hidden (view full) ---

270 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_LANNER_MR955)
271#endif
272 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_GCT105)
273 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_AGS106)
274 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_SGM107)
275 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_GCT108)
276 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_AGS109)
277 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_GCT110)
299 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_MAX)
300
301 /* Customer boards listed here */
302 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_DEFINED_MIN)
303 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_WSX16)
304 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_NS0216)
305 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_NB5)
306 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_WMR500)

--- 6 unchanged lines hidden (view full) ---

313 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_LANNER_MR955)
314#endif
315 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_GCT105)
316 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_AGS106)
317 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_SGM107)
318 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_GCT108)
319 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_AGS109)
320 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_GCT110)
321 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_L2_AIR_SENDER)
322 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_L2_AIR_RECEIVER)
323 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_L2_ACCTON2_TX)
324 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_L2_ACCTON2_RX)
325 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_L2_WSTRNSNIC_TX)
326 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_L2_WSTRNSNIC_RX)
278#if defined(OCTEON_VENDOR_LANNER)
279 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_LANNER_MR730)
327#if defined(OCTEON_VENDOR_LANNER)
328 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_LANNER_MR730)
329#else
330 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_L2_ZINWELL)
280#endif
331#endif
332
281 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_DEFINED_MAX)
282
283 /* Customer private range */
284 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_PRIVATE_MIN)
285#if defined(OCTEON_VENDOR_LANNER)
286 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_LANNER_MR320)
287#endif
288 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_PRIVATE_MAX)
333 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_DEFINED_MAX)
334
335 /* Customer private range */
336 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_PRIVATE_MIN)
337#if defined(OCTEON_VENDOR_LANNER)
338 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_LANNER_MR320)
339#endif
340 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_PRIVATE_MAX)
341
342 /* Module range */
343 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_MODULE_MIN)
344 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_MODULE_PCIE_RC_4X)
345 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_MODULE_PCIE_EP_4X)
346 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_MODULE_SGMII_MARVEL)
347 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_MODULE_SFPPLUS_BCM)
348 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_MODULE_SRIO)
349 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_MODULE_EBB5600_QLM0)
350 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_MODULE_EBB5600_QLM1)
351 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_MODULE_EBB5600_QLM2)
352 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_MODULE_EBB5600_QLM3)
353 ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_MODULE_MAX)
289 }
290 return "Unsupported Board";
291}
292
293#define ENUM_CHIP_TYPE_CASE(x) case x: return(#x + 15); /* Skip CVMX_CHIP_TYPE */
294static inline const char *cvmx_chip_type_to_string(enum cvmx_chip_types_enum type)
295{
296 switch (type)

--- 19 unchanged lines hidden ---
354 }
355 return "Unsupported Board";
356}
357
358#define ENUM_CHIP_TYPE_CASE(x) case x: return(#x + 15); /* Skip CVMX_CHIP_TYPE */
359static inline const char *cvmx_chip_type_to_string(enum cvmx_chip_types_enum type)
360{
361 switch (type)

--- 19 unchanged lines hidden ---