Skip to content
Commit c68a6004 authored by Dominik Ermel's avatar Dominik Ermel Committed by David Brown
Browse files

bootutil: Little rework of boot_find_status



In rework:
  - size has been removed from array, as it has been making array
    at least of two elements, even if scratch partition not used;
  - some variables have been localized and some removed;
  - no longer returning rc codes from flash_area_ functions on
    failure, just single point of failure-exit - it made no sense
    anyway as we can not recover from flash failure;
  - flash area pointer is now NULLified on failure, or when
    status not found.

Signed-off-by: default avatarDominik Ermel <dominik.ermel@nordicsemi.no>
parent 23a7a2e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment