summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-05-09 07:53:24 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-05-09 07:53:24 +0000
commitf8b94cdc30abe0bed9818d526ffe5c2ac0fcc4e2 (patch)
tree56e2f8504b4b74a7c65e83d8a58b2e457c348c4e /tools
parentd7f96cfa50e89e5b8cbbfa1455a4c9e21d444fb3 (diff)
downloadmtk-20170518-f8b94cdc30abe0bed9818d526ffe5c2ac0fcc4e2.zip
mtk-20170518-f8b94cdc30abe0bed9818d526ffe5c2ac0fcc4e2.tar.gz
mtk-20170518-f8b94cdc30abe0bed9818d526ffe5c2ac0fcc4e2.tar.bz2
mkzynfw: fix NBG-318S definitions
SVN-Revision: 11095
Diffstat (limited to 'tools')
-rw-r--r--tools/firmware-utils/src/mkzynfw.c2
-rw-r--r--tools/firmware-utils/src/zynos.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/firmware-utils/src/mkzynfw.c b/tools/firmware-utils/src/mkzynfw.c
index e67ffa5..f8c7159 100644
--- a/tools/firmware-utils/src/mkzynfw.c
+++ b/tools/firmware-utils/src/mkzynfw.c
@@ -138,7 +138,7 @@ int num_blocks = 0;
AR7_FLASH_BASE, fs, AR7_CODE_START, 0x8000)
#define ATHEROSBOARD1(n, d, m, fs) BOARD(n, d, ZYNOS_VENDOR_ID_ZYXEL, m, \
- ATHEROS_FLASH_BASE, fs, ATHEROS_CODE_START, 0x8000)
+ ATHEROS_FLASH_BASE, fs, ATHEROS_CODE_START, 0x30000)
static struct board_info boards[] = {
/*
diff --git a/tools/firmware-utils/src/zynos.h b/tools/firmware-utils/src/zynos.h
index 23a6549..7455a79 100644
--- a/tools/firmware-utils/src/zynos.h
+++ b/tools/firmware-utils/src/zynos.h
@@ -216,6 +216,6 @@ struct zyn_mmt_item {
#define ZYNOS_MODEL_O2SURF ZYNOS_MODEL_P_2602HWN_D7A
/* Atheros AR2318 based boards */
-#define ZYNOS_MODEL_NBG_318S MID( 232)
+#define ZYNOS_MODEL_NBG_318S MID(59392)
#endif /* _ZYNOS_H */