aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/octeon
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-06-16 13:45:32 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-06-16 13:45:32 +0000
commitb8a108d8bac3778e084c021e9fa25fee894787cd (patch)
treef5302ffc105aa92d5fdf2f49f15b17c18e7cee36 /target/linux/octeon
parent59bac956773f9fd9e6689a3568fa910b03ee51f6 (diff)
downloadupstream-b8a108d8bac3778e084c021e9fa25fee894787cd.tar.gz
upstream-b8a108d8bac3778e084c021e9fa25fee894787cd.tar.bz2
upstream-b8a108d8bac3778e084c021e9fa25fee894787cd.zip
[octeon] add nb5 specific fixups (#5355)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16482 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/octeon')
-rw-r--r--target/linux/octeon/patches/105-nb5_fixup.patch21
1 files changed, 21 insertions, 0 deletions
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 0000000000..c28adf32f1
--- /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;