thor: Fix the bug upon file size recovery 45/245745/1 accepted/tizen/unified/20201028.123845 submit/tizen/20201027.003535
authorJunghoon Kim <jhoon20.kim@samsung.com>
Thu, 15 Oct 2020 07:55:00 +0000 (16:55 +0900)
committerJunghoon Kim <jhoon20.kim@samsung.com>
Thu, 15 Oct 2020 07:55:00 +0000 (16:55 +0900)
commit241a195fc9e6fc1813b45a61b32866fdeede5d53
tree46c17a7f1b1a1f7a65e440db0a94f1b0eef4f345
parentc5abfe9d06c60b08c4a59da30cf18ffe90219217
thor: Fix the bug upon file size recovery

TFM throws a flashing error for files larger than 2 GBytes. Fix the
calculation logic for the file size recovery.

Change-Id: I28ec141dec63cfe495dcb6a5bcbe03323de36947
Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com>
src/thor.c