diff options
author | Gad Krumholz <gad.krumholz@gmail.com> | 2016-11-27 00:52:53 -0600 |
---|---|---|
committer | Gad Krumholz <gad.krumholz@gmail.com> | 2016-11-30 00:47:10 -0600 |
commit | d9740d24d767d583da08eeaa8bd7a01288fdc554 (patch) | |
tree | 5fda396bbe79871356ce3d25e2ed83ebcd3a0bfe /target/linux/ar71xx/patches-3.18 | |
parent | 1b6dc2e48ce654a004a7d0b98d7070a515424595 (diff) | |
download | upstream-d9740d24d767d583da08eeaa8bd7a01288fdc554.tar.gz upstream-d9740d24d767d583da08eeaa8bd7a01288fdc554.tar.bz2 upstream-d9740d24d767d583da08eeaa8bd7a01288fdc554.zip |
CC: ar71xx: Added missing support for Linksys E2100L
It's based on the WRT160NL according to https://wiki.openwrt.org/toh/linksys/e2100l
Based on research done here: https://forum.openwrt.org/viewtopic.php?id=24244 and here: https://forum.openwrt.org/viewtopic.php?pid=120791#p120791 this patch was conceived.
Signed-off-by: Gad Krumholz <gad.krumholz@gmail.com>
Diffstat (limited to 'target/linux/ar71xx/patches-3.18')
-rw-r--r-- | target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch index 76aeb94412..ae8d9ffb12 100644 --- a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch +++ b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch @@ -1,6 +1,6 @@ --- a/arch/mips/ath79/machtypes.h +++ b/arch/mips/ath79/machtypes.h -@@ -16,22 +16,200 @@ +@@ -16,22 +16,201 @@ enum ath79_mach_type { ATH79_MACH_GENERIC = 0, @@ -190,6 +190,7 @@ + ATH79_MACH_WPJ531, /* Compex WPJ531 */ + ATH79_MACH_WPJ558, /* Compex WPJ558 */ + ATH79_MACH_WRT160NL, /* Linksys WRT160NL */ ++ ATH79_MACH_E2100L, /* Linksys E2100L */ + ATH79_MACH_WRT400N, /* Linksys WRT400N */ + ATH79_MACH_WZR_HP_AG300H, /* Buffalo WZR-HP-AG300H */ + ATH79_MACH_WZR_HP_G300NH, /* Buffalo WZR-HP-G300NH */ @@ -283,7 +284,7 @@ config ATH79_MACH_AP121 bool "Atheros AP121 reference board" select SOC_AR933X -@@ -11,62 +84,1050 @@ config ATH79_MACH_AP121 +@@ -11,62 +84,1061 @@ config ATH79_MACH_AP121 select ATH79_DEV_M25P80 select ATH79_DEV_USB select ATH79_DEV_WMAC @@ -774,6 +775,17 @@ + select ATH79_DEV_WMAC + select ATH79_NVRAM + ++config ATH79_MACH_E2100L ++ bool "Linksys E2100L board support" ++ select SOC_AR913X ++ select ATH79_DEV_ETH ++ select ATH79_DEV_GPIO_BUTTONS ++ select ATH79_DEV_LEDS_GPIO ++ select ATH79_DEV_M25P80 ++ select ATH79_DEV_USB ++ select ATH79_DEV_WMAC ++ select ATH79_NVRAM ++ +config ATH79_MACH_WRT400N + bool "Linksys WRT400N board support" + select SOC_AR71XX @@ -1495,7 +1507,7 @@ endif --- a/arch/mips/ath79/Makefile +++ b/arch/mips/ath79/Makefile -@@ -38,9 +38,128 @@ obj-$(CONFIG_ATH79_ROUTERBOOT) += route +@@ -38,9 +38,129 @@ obj-$(CONFIG_ATH79_ROUTERBOOT) += route # # Machines # @@ -1615,6 +1627,7 @@ +obj-$(CONFIG_ATH79_MACH_WPJ531) += mach-wpj531.o +obj-$(CONFIG_ATH79_MACH_WPJ558) += mach-wpj558.o +obj-$(CONFIG_ATH79_MACH_WRT160NL) += mach-wrt160nl.o ++obj-$(CONFIG_ATH79_MACH_E2100L) += mach-e2100l.o +obj-$(CONFIG_ATH79_MACH_WRT400N) += mach-wrt400n.o +obj-$(CONFIG_ATH79_MACH_WZR_HP_G300NH) += mach-wzr-hp-g300nh.o +obj-$(CONFIG_ATH79_MACH_WZR_HP_G300NH2) += mach-wzr-hp-g300nh2.o |