aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mcs814x/files-3.3
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-07-04 11:56:25 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-07-04 11:56:25 +0000
commit38cb1da868fc8ee3fd35a2260862dd0e20babdd0 (patch)
tree722737aba317f3258a928c34584060f7b452fc1f /target/linux/mcs814x/files-3.3
parent0b837752020c98e26d6f66004b5c73855864d06f (diff)
downloadupstream-38cb1da868fc8ee3fd35a2260862dd0e20babdd0.tar.gz
upstream-38cb1da868fc8ee3fd35a2260862dd0e20babdd0.tar.bz2
upstream-38cb1da868fc8ee3fd35a2260862dd0e20babdd0.zip
mtd - remove partition table assumption when writing fis table
When mtd alters the fis partition table it assumes that the first partition table entry also is the first logical parition table entry. For instance our table could look like this (irrelevant partitions put aside): * vmlinux.bin.l7 0xA8710000 * rootfs 0xA8030000 Here mtd would assume vmlinux.bin.l7 being the first partition and use its address to calculate the size and offset which ultimately leads to a broken partition table. This patch alters the behavior by checking what partition has the smaller address to do the calculations based on that address. Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> SVN-Revision: 32601
Diffstat (limited to 'target/linux/mcs814x/files-3.3')
0 files changed, 0 insertions, 0 deletions