[octeon] add nb5 specific fixups (#5355)
[openwrt/svn-archive/archive.git] / target / linux / octeon / patches / 105-nb5_fixup.patch
1 --- a/arch/mips/cavium-octeon/pci.c
2 +++ b/arch/mips/cavium-octeon/pci.c
3 @@ -102,6 +102,8 @@ const char *octeon_get_pci_interrupts(vo
4 return "AAAAAAAAAAAAAABAAAAAAAAAAAAAAABA";
5 case CVMX_BOARD_TYPE_BBGW_REF:
6 return "AABCD";
7 + case CVMX_BOARD_TYPE_CUST_NB5:
8 + return "ABDABAAAAAAAAAAAAAAAAAAAAAAAAAAA";
9 default:
10 return "";
11 }
12 --- a/drviers/staging/octeon/cvmx-helper-board.c
13 +++ b/drivers/staging/octeon/cvmx-helper-board.c
14 @@ -699,6 +699,7 @@ cvmx_helper_board_usb_clock_types_t __cv
15 {
16 switch (cvmx_sysinfo_get()->board_type) {
17 case CVMX_BOARD_TYPE_BBGW_REF:
18 + case CVMX_BOARD_TYPE_CUST_NB5:
19 return USB_CLOCK_TYPE_CRYSTAL_12;
20 }
21 return USB_CLOCK_TYPE_REF_48;