summaryrefslogtreecommitdiff
path: root/openwrt
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-07-21 11:48:46 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-07-21 11:48:46 +0000
commit26854133f64778924b1f1974487bade7dbce8194 (patch)
tree48f25e08910b8c0c8a598acac4cefe7d4299cf57 /openwrt
parent6217127ff50f90576f06b53bde88065131112a53 (diff)
downloadmtk-20170518-26854133f64778924b1f1974487bade7dbce8194.zip
mtk-20170518-26854133f64778924b1f1974487bade7dbce8194.tar.gz
mtk-20170518-26854133f64778924b1f1974487bade7dbce8194.tar.bz2
change the name of the writable partition to OpenWrt (ar7)
SVN-Revision: 1518
Diffstat (limited to 'openwrt')
-rw-r--r--openwrt/target/linux/linux-2.4/patches/ar7/001-flash_map.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/target/linux/linux-2.4/patches/ar7/001-flash_map.patch b/openwrt/target/linux/linux-2.4/patches/ar7/001-flash_map.patch
index d7e6590..3a9f7d0 100644
--- a/openwrt/target/linux/linux-2.4/patches/ar7/001-flash_map.patch
+++ b/openwrt/target/linux/linux-2.4/patches/ar7/001-flash_map.patch
@@ -242,7 +242,7 @@ diff -urN linux.old/drivers/mtd/maps/ar7-flash.c linux.dev/drivers/mtd/maps/ar7-
+ newsize += ar7_mtd_info->erasesize - ((newsize + hdr.offsets[0]) % ar7_mtd_info->erasesize);
+
+
-+ ar7_partinfo[p].name = strdup("test");
++ ar7_partinfo[p].name = strdup("OpenWrt");
+ ar7_partinfo[p].offset = rootfs_start + newsize;
+ ar7_partinfo[p].size = ar7_partinfo[p - 2].size + hdr.offsets[0] - newsize;
+ ar7_partinfo[p - 2].size = newsize - hdr.offsets[0];