firmware_utils/mkmylofw: add definitions for the NP25G and WPE53G boards

SVN-Revision: 13226
master
Gabor Juhos 16 years ago
parent ac26d5ea2c
commit fcd2fe58ea
  1. 11
      tools/firmware-utils/src/mkmylofw.c
  2. 4
      tools/firmware-utils/src/myloader.h

@ -89,6 +89,9 @@ struct cpx_board {
#define CPX_BOARD_AR71XX(_did, _flash, _mod, _name, _desc) \ #define CPX_BOARD_AR71XX(_did, _flash, _mod, _name, _desc) \
CPX_BOARD(_did, _flash, _mod, _name, _desc, 0x20000, 0x8000) 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) #define ALIGN(x,y) ((x)+((y)-1)) & ~((y)-1)
char *progname; char *progname;
@ -141,9 +144,17 @@ struct cpx_board boards[] = {
CPX_BOARD_ADM(DEVID_COMPEX_WPP54AG, 4, CPX_BOARD_ADM(DEVID_COMPEX_WPP54AG, 4,
"WPP54AG", "Compex WPP54AG", "WPP54AG", "Compex WPP54AG",
"Outdoor Access Point"), "Outdoor Access Point"),
CPX_BOARD_AR71XX(DEVID_COMPEX_WP543, 2, CPX_BOARD_AR71XX(DEVID_COMPEX_WP543, 2,
"WP543", "Compex WP543", "WP543", "Compex WP543",
"BareBoard"), "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} {.model = NULL}
}; };

@ -56,6 +56,10 @@
#define DEVID_COMPEX_WPP54AG 0x0550 #define DEVID_COMPEX_WPP54AG 0x0550
#define DEVID_COMPEX_WPP54G 0x0555 #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 */ /* Devices based on the Atheros AR71xx */
#define DEVID_COMPEX_WP543 0x0640 #define DEVID_COMPEX_WP543 0x0640

Loading…
Cancel
Save