summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-05-09 07:53:24 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-05-09 07:53:24 +0000
commitb568891277757ff8767d10da336b8446ef7fd203 (patch)
tree5a0dc9d97ad480a5408cf5122f84ccac281d619b /tools
parentfef26f42c65d1b1bc8a1c08ef45dd77ba6f6675d (diff)
[firmware-utils] mkzynfw: fix NBG-318S definitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11095 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 e67ffa50c..f8c71599d 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 23a6549d6..7455a79cb 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 */