aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers/mtd/mtdsplit
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-01-19 10:16:04 +0000
committerJohn Crispin <john@openwrt.org>2016-01-19 10:16:04 +0000
commited72c5f846941dcca3eab1d72c48472b383752e9 (patch)
treec993281e19195b82f17834134fad51815a293843 /target/linux/generic/files/drivers/mtd/mtdsplit
parent9f7bbc649c09a31957b6cc7c04f5b6780712b714 (diff)
downloadupstream-ed72c5f846941dcca3eab1d72c48472b383752e9.tar.gz
upstream-ed72c5f846941dcca3eab1d72c48472b383752e9.tar.bz2
upstream-ed72c5f846941dcca3eab1d72c48472b383752e9.zip
ar71xx: add support for Netgear WPN824N
Add support for Netgear WPN824N. Hardware specs: * AR7240, 4 LAN ports, 1 WAN port * AR9285 WLAN * 32 MB RAM * 4 MB Flash * 16 LEDs (LAN, WAN and Power/Status contain two LEDs for dual color effect) * 3 Buttons (not supported) Signed-off-by: Hartmut Knaack <knaack.h@gmx.de> SVN-Revision: 48356
Diffstat (limited to 'target/linux/generic/files/drivers/mtd/mtdsplit')
-rw-r--r--target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_uimage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_uimage.c b/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_uimage.c
index 2602f98b55..b815869a6b 100644
--- a/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_uimage.c
+++ b/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_uimage.c
@@ -252,6 +252,7 @@ static struct mtd_part_parser uimage_generic_parser = {
#define FW_MAGIC_WNR1000V2_VC 0x31303030
#define FW_MAGIC_WNDR3700 0x33373030
#define FW_MAGIC_WNDR3700V2 0x33373031
+#define FW_MAGIC_WPN824N 0x31313030
static ssize_t uimage_verify_wndr3700(u_char *buf, size_t len)
{
@@ -266,6 +267,7 @@ static ssize_t uimage_verify_wndr3700(u_char *buf, size_t len)
case FW_MAGIC_WNR2200:
case FW_MAGIC_WNDR3700:
case FW_MAGIC_WNDR3700V2:
+ case FW_MAGIC_WPN824N:
break;
case FW_MAGIC_WNR2000V4:
expected_type = IH_TYPE_KERNEL;