summaryrefslogtreecommitdiff
path: root/tools/firmware-utils/src/mkfwimage.c
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-01-05 12:35:51 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-01-05 12:35:51 +0000
commit50c19eee3fb109615ad2da9afcb10143967d784a (patch)
tree49397fb870a1ae7903cd33238744da8a3472b4ab /tools/firmware-utils/src/mkfwimage.c
parent3db174e41e410814e2dc59580f8c46865da991f8 (diff)
downloadmtk-20170518-50c19eee3fb109615ad2da9afcb10143967d784a.zip
mtk-20170518-50c19eee3fb109615ad2da9afcb10143967d784a.tar.gz
mtk-20170518-50c19eee3fb109615ad2da9afcb10143967d784a.tar.bz2
firmware-utils/mkfwimage: fix root_start values
SVN-Revision: 13874
Diffstat (limited to 'tools/firmware-utils/src/mkfwimage.c')
-rw-r--r--tools/firmware-utils/src/mkfwimage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/firmware-utils/src/mkfwimage.c b/tools/firmware-utils/src/mkfwimage.c
index 5c6a879..edbd8ec 100644
--- a/tools/firmware-utils/src/mkfwimage.c
+++ b/tools/firmware-utils/src/mkfwimage.c
@@ -46,7 +46,7 @@ fw_layout_t fw_layout_data[] = {
.name = "XS2",
.kern_start = 0xbfc30000,
.kern_len = 0x00140000,
- .root_start = 0xbfc30000,
+ .root_start = 0xbfc30000 + 0x00140000,
.root_len = 0x002C0000,
.kern_entry = 0x80041000,
.firmware_max_length= 0x00390000,
@@ -55,7 +55,7 @@ fw_layout_t fw_layout_data[] = {
.name = "XS5",
.kern_start = 0xbe030000,
.kern_len = 0x00140000,
- .root_start = 0xbe030000,
+ .root_start = 0xbe030000 + 0x00140000,
.root_len = 0x002C0000,
.kern_entry = 0x80041000,
.firmware_max_length= 0x00390000,