summaryrefslogtreecommitdiff
path: root/target/linux/octeon/patches-2.6.34/002-nb5_fixup.patch
blob: 1d3641a73fc547c35b5553e1e62f2184a5c1f217 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/arch/mips/pci/pci-octeon.c
+++ b/arch/mips/pci/pci-octeon.c
@@ -217,6 +217,8 @@ const char *octeon_get_pci_interrupts(vo
 		return "AAAAAAAAAAAAAABAAAAAAAAAAAAAAABA";
 	case CVMX_BOARD_TYPE_BBGW_REF:
 		return "AABCD";
+	case CVMX_BOARD_TYPE_CUST_NB5:
+		return "ABDABAAAAAAAAAAAAAAAAAAAAAAAAAAA";
 	case CVMX_BOARD_TYPE_THUNDER:
 	case CVMX_BOARD_TYPE_EBH3000:
 	default:
--- a/drivers/staging/octeon/cvmx-helper-board.c
+++ b/drivers/staging/octeon/cvmx-helper-board.c
@@ -707,6 +707,7 @@ cvmx_helper_board_usb_clock_types_t __cv
 {
 	switch (cvmx_sysinfo_get()->board_type) {
 	case CVMX_BOARD_TYPE_BBGW_REF:
+	case CVMX_BOARD_TYPE_CUST_NB5:
 		return USB_CLOCK_TYPE_CRYSTAL_12;
 	}
 	return USB_CLOCK_TYPE_REF_48;