From 988eb93bae62650f6ae39703d3fda9afd4afbade Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 11 Dec 2014 20:07:39 +0000 Subject: octeon: remove linux 3.10 support Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43635 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- ...teon-Enable-interfaces-on-EdgeRouter-Lite.patch | 68 ---------------------- 1 file changed, 68 deletions(-) delete mode 100644 target/linux/octeon/patches-3.10/0002-MIPS-Octeon-Enable-interfaces-on-EdgeRouter-Lite.patch (limited to 'target/linux/octeon/patches-3.10/0002-MIPS-Octeon-Enable-interfaces-on-EdgeRouter-Lite.patch') diff --git a/target/linux/octeon/patches-3.10/0002-MIPS-Octeon-Enable-interfaces-on-EdgeRouter-Lite.patch b/target/linux/octeon/patches-3.10/0002-MIPS-Octeon-Enable-interfaces-on-EdgeRouter-Lite.patch deleted file mode 100644 index 84b66006af..0000000000 --- a/target/linux/octeon/patches-3.10/0002-MIPS-Octeon-Enable-interfaces-on-EdgeRouter-Lite.patch +++ /dev/null @@ -1,68 +0,0 @@ -From a135a9b5d9683ace787c7d86f1e642d9acfacdde Mon Sep 17 00:00:00 2001 -From: Aaro Koskinen -Date: Sun, 23 Jun 2013 20:38:44 +0000 -Subject: [PATCH] MIPS: Octeon: Enable interfaces on EdgeRouter Lite - -Enable interfaces on EdgeRouter Lite. Tested with cavium_octeon_defconfig -and busybox shell. DHCP & ping works with eth0, eth1 and eth2. - -The board type "UBNT_E100" is taken from the sources of the vendor kernel -shipped with the product. - -Signed-off-by: Aaro Koskinen -Acked-by: David Daney -Cc: linux-mips@linux-mips.org -Patchwork: https://patchwork.linux-mips.org/patch/5546/ -Signed-off-by: Ralf Baechle ---- - arch/mips/cavium-octeon/executive/cvmx-helper-board.c | 13 +++++++++++++ - arch/mips/include/asm/octeon/cvmx-bootinfo.h | 2 ++ - 2 files changed, 15 insertions(+) - ---- a/arch/mips/cavium-octeon/executive/cvmx-helper-board.c -+++ b/arch/mips/cavium-octeon/executive/cvmx-helper-board.c -@@ -181,6 +181,11 @@ int cvmx_helper_board_get_mii_address(in - return ipd_port - 16 + 4; - else - return -1; -+ case CVMX_BOARD_TYPE_UBNT_E100: -+ if (ipd_port >= 0 && ipd_port <= 2) -+ return 7 - ipd_port; -+ else -+ return -1; - } - - /* Some unknown board. Somebody forgot to update this function... */ -@@ -706,6 +711,14 @@ int __cvmx_helper_board_hardware_enable( - } - } - } -+ } else if (cvmx_sysinfo_get()->board_type == -+ CVMX_BOARD_TYPE_UBNT_E100) { -+ cvmx_write_csr(CVMX_ASXX_RX_CLK_SETX(0, interface), 0); -+ cvmx_write_csr(CVMX_ASXX_TX_CLK_SETX(0, interface), 0x10); -+ cvmx_write_csr(CVMX_ASXX_RX_CLK_SETX(1, interface), 0); -+ cvmx_write_csr(CVMX_ASXX_TX_CLK_SETX(1, interface), 0x10); -+ cvmx_write_csr(CVMX_ASXX_RX_CLK_SETX(2, interface), 0); -+ cvmx_write_csr(CVMX_ASXX_TX_CLK_SETX(2, interface), 0x10); - } - return 0; - } ---- a/arch/mips/include/asm/octeon/cvmx-bootinfo.h -+++ b/arch/mips/include/asm/octeon/cvmx-bootinfo.h -@@ -227,6 +227,7 @@ enum cvmx_board_types_enum { - * use any numbers in this range. - */ - CVMX_BOARD_TYPE_CUST_PRIVATE_MIN = 20001, -+ CVMX_BOARD_TYPE_UBNT_E100 = 20002, - CVMX_BOARD_TYPE_CUST_PRIVATE_MAX = 30000, - - /* The remaining range is reserved for future use. */ -@@ -325,6 +326,7 @@ static inline const char *cvmx_board_typ - - /* Customer private range */ - ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_PRIVATE_MIN) -+ ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_UBNT_E100) - ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_PRIVATE_MAX) - } - return "Unsupported Board"; -- cgit v1.2.3