From 3f64510d74c51f0f3d9210bb917cd3584e38b9ab Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Tue, 16 Jun 2009 13:45:32 +0000 Subject: add nb5 specific fixups (#5355) SVN-Revision: 16482 --- target/linux/octeon/patches/105-nb5_fixup.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 target/linux/octeon/patches/105-nb5_fixup.patch (limited to 'target/linux/octeon/patches') diff --git a/target/linux/octeon/patches/105-nb5_fixup.patch b/target/linux/octeon/patches/105-nb5_fixup.patch new file mode 100644 index 0000000..c28adf3 --- /dev/null +++ b/target/linux/octeon/patches/105-nb5_fixup.patch @@ -0,0 +1,21 @@ +--- a/arch/mips/cavium-octeon/pci.c ++++ b/arch/mips/cavium-octeon/pci.c +@@ -102,6 +102,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"; + default: + return ""; + } +--- a/drviers/staging/octeon/cvmx-helper-board.c ++++ b/drivers/staging/octeon/cvmx-helper-board.c +@@ -699,6 +699,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; -- cgit v1.1