diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-03-12 16:27:56 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-03-12 16:27:56 +0000 |
commit | 0814e6184109f8bba779e4f71f9336957910f518 (patch) | |
tree | 6709ee6bbbc008998ef3943c9d582e18377ad53a /target/linux/ar71xx/patches-3.3/507-MIPS-ath79-prom-add-myloader-support.patch | |
parent | 0f77d0b2baccc813342d69143a0554d8125a9d54 (diff) | |
download | mtk-20170518-0814e6184109f8bba779e4f71f9336957910f518.zip mtk-20170518-0814e6184109f8bba779e4f71f9336957910f518.tar.gz mtk-20170518-0814e6184109f8bba779e4f71f9336957910f518.tar.bz2 |
ar71xx: fix Compex WPE72 detection
SVN-Revision: 30902
Diffstat (limited to 'target/linux/ar71xx/patches-3.3/507-MIPS-ath79-prom-add-myloader-support.patch')
-rw-r--r-- | target/linux/ar71xx/patches-3.3/507-MIPS-ath79-prom-add-myloader-support.patch | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/target/linux/ar71xx/patches-3.3/507-MIPS-ath79-prom-add-myloader-support.patch b/target/linux/ar71xx/patches-3.3/507-MIPS-ath79-prom-add-myloader-support.patch index 137bf6b..67c1faf 100644 --- a/target/linux/ar71xx/patches-3.3/507-MIPS-ath79-prom-add-myloader-support.patch +++ b/target/linux/ar71xx/patches-3.3/507-MIPS-ath79-prom-add-myloader-support.patch @@ -8,7 +8,7 @@ #include "common.h" -@@ -69,6 +70,34 @@ static const char * __init ath79_prom_fi +@@ -69,6 +70,37 @@ static const char * __init ath79_prom_fi return ret; } @@ -26,6 +26,9 @@ + case DEVID_COMPEX_WP543: + ath79_prom_append_cmdline("board", "WP543"); + break; ++ case DEVID_COMPEX_WPE72: ++ ath79_prom_append_cmdline("board", "WPE72"); ++ break; + default: + pr_warn("prom: unknown device id: %x\n", mylo->did); + return 0; @@ -43,7 +46,7 @@ static __init void ath79_prom_init_cmdline(int argc, char **argv) { int i; -@@ -88,6 +117,9 @@ void __init prom_init(void) +@@ -88,6 +120,9 @@ void __init prom_init(void) const char *env; char **envp; |