aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-11-16 07:49:27 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-11-16 07:49:27 +0000
commite920e4f7787854011ddb1f72a09cab8c419c04e3 (patch)
tree75a7ba4b138106da01908453c61a1338c85376d8 /tools/firmware-utils
parent7d7310fa671812a0002657392fe6e0559cea050d (diff)
downloadupstream-e920e4f7787854011ddb1f72a09cab8c419c04e3.tar.gz
upstream-e920e4f7787854011ddb1f72a09cab8c419c04e3.tar.bz2
upstream-e920e4f7787854011ddb1f72a09cab8c419c04e3.zip
[tools] firmware_utils/mkmylofw: add definitions for the NP25G and WPE53G boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13226 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/firmware-utils')
-rw-r--r--tools/firmware-utils/src/mkmylofw.c11
-rw-r--r--tools/firmware-utils/src/myloader.h4
2 files changed, 15 insertions, 0 deletions
diff --git a/tools/firmware-utils/src/mkmylofw.c b/tools/firmware-utils/src/mkmylofw.c
index aa0a2e1bd3..d4e36eb578 100644
--- a/tools/firmware-utils/src/mkmylofw.c
+++ b/tools/firmware-utils/src/mkmylofw.c
@@ -89,6 +89,9 @@ struct cpx_board {
#define CPX_BOARD_AR71XX(_did, _flash, _mod, _name, _desc) \
CPX_BOARD(_did, _flash, _mod, _name, _desc, 0x20000, 0x8000)
+#define CPX_BOARD_AR23XX(_did, _flash, _mod, _name, _desc) \
+ CPX_BOARD(_did, _flash, _mod, _name, _desc, 0x10000, 0x10000)
+
#define ALIGN(x,y) ((x)+((y)-1)) & ~((y)-1)
char *progname;
@@ -141,9 +144,17 @@ struct cpx_board boards[] = {
CPX_BOARD_ADM(DEVID_COMPEX_WPP54AG, 4,
"WPP54AG", "Compex WPP54AG",
"Outdoor Access Point"),
+
CPX_BOARD_AR71XX(DEVID_COMPEX_WP543, 2,
"WP543", "Compex WP543",
"BareBoard"),
+
+ CPX_BOARD_AR23XX(DEVID_COMPEX_NP25G, 4,
+ "NP25G", "Compex NetPassage 25G",
+ "Wireless 54Mbps XR Router"),
+ CPX_BOARD_AR23XX(DEVID_COMPEX_WPE53G, 4,
+ "WPE53G", "Compex NetPassage 25G",
+ "Wireless 54Mbps XR Access Point"),
{.model = NULL}
};
diff --git a/tools/firmware-utils/src/myloader.h b/tools/firmware-utils/src/myloader.h
index d01bce951a..d7e1d80225 100644
--- a/tools/firmware-utils/src/myloader.h
+++ b/tools/firmware-utils/src/myloader.h
@@ -56,6 +56,10 @@
#define DEVID_COMPEX_WPP54AG 0x0550
#define DEVID_COMPEX_WPP54G 0x0555
+/* Devices based on the Atheros AR2317 */
+#define DEVID_COMPEX_NP25G 0x05e6
+#define DEVID_COMPEX_WPE53G 0x05dc
+
/* Devices based on the Atheros AR71xx */
#define DEVID_COMPEX_WP543 0x0640