diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2018-04-12 08:25:17 +0200 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2018-04-12 08:25:17 +0200 |
commit | f5195e72c0fcf2949f7d6296a5db081eb58f8e32 (patch) | |
tree | ddc399f575e37faa6c553c7d14201e1817ca260b /target/linux/zynq | |
parent | 85a35c644eea06e843da9d631de005ee58365d17 (diff) | |
download | upstream-f5195e72c0fcf2949f7d6296a5db081eb58f8e32.tar.gz upstream-f5195e72c0fcf2949f7d6296a5db081eb58f8e32.tar.bz2 upstream-f5195e72c0fcf2949f7d6296a5db081eb58f8e32.zip |
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>
Diffstat (limited to 'target/linux/zynq')
0 files changed, 0 insertions, 0 deletions