diff options
Diffstat (limited to 'extra/usb_updater/gsctool.c')
-rw-r--r-- | extra/usb_updater/gsctool.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/extra/usb_updater/gsctool.c b/extra/usb_updater/gsctool.c index d91b1d6036..bc72f73085 100644 --- a/extra/usb_updater/gsctool.c +++ b/extra/usb_updater/gsctool.c @@ -1066,8 +1066,7 @@ static bool locate_headers(const void *image, const uint32_t size) return false; } sections[RW_A].offset = rw_offset; - sections[RW_A].size = - round_up_16kb(as_header(image, rw_offset)->image_size); + sections[RW_A].size = as_header(image, rw_offset)->image_size; /* Validate the RO_B header */ h = as_header(image, slot_a_end); @@ -1086,8 +1085,7 @@ static bool locate_headers(const void *image, const uint32_t size) return false; } sections[RW_B].offset = rw_offset; - sections[RW_B].size = - round_up_16kb(as_header(image, rw_offset)->image_size); + sections[RW_B].size = as_header(image, rw_offset)->image_size; /* We found all of the headers and updated offset/size in sections */ return true; |