Deleted Added
full compact
cvmx-helper-board.c (232815) cvmx-helper-board.c (242104)
1/***********************license start***************
2 * Copyright (c) 2003-2011 Cavium Inc. (support@cavium.com). All rights
3 * reserved.
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:

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

1291 if (interface == 0)
1292 return 2;
1293#if defined(OCTEON_VENDOR_LANNER)
1294 case CVMX_BOARD_TYPE_CUST_LANNER_MR955:
1295 if (interface == 1)
1296 return 12;
1297 break;
1298#endif
1/***********************license start***************
2 * Copyright (c) 2003-2011 Cavium Inc. (support@cavium.com). All rights
3 * reserved.
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:

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

1291 if (interface == 0)
1292 return 2;
1293#if defined(OCTEON_VENDOR_LANNER)
1294 case CVMX_BOARD_TYPE_CUST_LANNER_MR955:
1295 if (interface == 1)
1296 return 12;
1297 break;
1298#endif
1299#if defined(OCTEON_VENDOR_RADISYS)
1300 case CVMX_BOARD_TYPE_CUST_RADISYS_RSYS4GBE:
1301 if (interface == 0)
1302 return 13;
1303 if (interface == 1)
1304 return 8;
1305 return 0;
1306#endif
1299 }
1300#ifdef CVMX_BUILD_FOR_UBOOT
1301 if (CVMX_HELPER_INTERFACE_MODE_SPI == cvmx_helper_interface_get_mode(interface) && getenv("disable_spi"))
1302 return 0;
1303#endif
1304 return supported_ports;
1305}
1306

--- 184 unchanged lines hidden ---
1307 }
1308#ifdef CVMX_BUILD_FOR_UBOOT
1309 if (CVMX_HELPER_INTERFACE_MODE_SPI == cvmx_helper_interface_get_mode(interface) && getenv("disable_spi"))
1310 return 0;
1311#endif
1312 return supported_ports;
1313}
1314

--- 184 unchanged lines hidden ---