Chuanhong Guo 7117ebab0b kernel: mtdsplit: fix fit rootfs_data split
fit size should be rounded up instead of rounding down first and adding
a block. Otherwise the calculated size is one block more than needed
when fit size is exactly multiples of one block size.

Fixes: 9a863f803ec1 ("kernel: mtdsplit: add support for FIT image")
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Signed-off-by: Qingfang Deng <qingfang.deng@siflower.com.cn>
2024-07-07 20:58:56 +08:00
..
2024-06-05 09:34:06 +02:00
2024-03-29 09:58:45 +01:00
2024-07-04 19:32:50 +02:00
2024-06-23 16:33:41 +02:00
2024-07-04 22:07:10 +02:00
2024-05-29 17:56:28 +02:00
2024-06-17 12:57:06 +02:00
2024-06-24 09:46:19 +02:00
2024-06-30 22:00:03 +02:00
2024-07-04 22:07:10 +02:00
2024-04-25 14:33:22 +02:00
2024-02-13 19:05:48 +01:00
2024-07-01 00:46:16 +02:00
2024-04-30 11:02:48 +02:00
2024-07-04 22:02:47 +02:00
2024-06-17 12:57:06 +02:00
2024-05-01 10:26:41 +02:00