subsys: dfu: boot: Remove unused ver query code.
Duplicate code to query was mistakenly added in commit
2ad7ccdb2d
. This code is redundant; the
existing `boot_read_bank_header()` function can read the version from
both image banks.
Signed-off-by: Christopher Collins <ccollins@apache.org>
This commit is contained in:
parent
d9bd6909c3
commit
f31245d365
2 changed files with 0 additions and 23 deletions
|
@ -30,13 +30,6 @@
|
|||
|
||||
#define BOOT_IMG_VER_STRLEN_MAX 25 /* 255.255.65535.4294967295\0 */
|
||||
|
||||
struct image_version {
|
||||
u8_t iv_major;
|
||||
u8_t iv_minor;
|
||||
u16_t iv_revision;
|
||||
u32_t iv_build_num;
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief MCUboot image header representation for image version
|
||||
*
|
||||
|
@ -146,8 +139,6 @@ bool boot_is_img_confirmed(void);
|
|||
*/
|
||||
int boot_write_img_confirmed(void);
|
||||
|
||||
int boot_current_image_version(struct image_version *out_ver);
|
||||
|
||||
/**
|
||||
* @brief Determines the action, if any, that mcuboot will take on the next
|
||||
* reboot.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue