summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2018-04-12 08:25:17 +0200
committerRafał Miłecki <rafal@milecki.pl>2018-04-12 09:35:25 +0200
commit4673a0bffc890b5137d6c20664efad5d01791782 (patch)
treea241f5f1ccac2a012d0d36252bbd1875f67eafb5 /config
parent6577fe2198f5c75acb1dba789941d96a036f4dae (diff)
downloadmtk-20170518-4673a0bffc890b5137d6c20664efad5d01791782.zip
mtk-20170518-4673a0bffc890b5137d6c20664efad5d01791782.tar.gz
mtk-20170518-4673a0bffc890b5137d6c20664efad5d01791782.tar.bz2
kernel: mtd: bcm47xxpart: improve handling TRX partition size
This is important fix for flash parsing in some corner cases. In case of TRX subpartition with rootfs being aligned to the flash block size it was incorrectly registered twice. Detecting & registering it as a standalone partition was resulting in an incorrect "firmware" partition size and possibly broken sysupgrade. It wasn't noticed before because "rootfs" alignment depends on a kernel size. It can happen though - depending on the configuration and the kernel size. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit f5195e72c0fcf2949f7d6296a5db081eb58f8e32)
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions