File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -1308,6 +1308,14 @@ config USB_DEVICE_PRODUCT
13081308config MCUBOOT_BOOTUTIL_LIB_OWN_LOG
13091309 bool
13101310
1311+ config MCUBOOT_CHECK_HEADER_LOAD_ADDRESS
1312+ bool "Use load address to verify application is in proper slot"
1313+ help
1314+ The bootloader will use the load address, from the image header,
1315+ to verify that binary is in slot designated for its execution.
1316+ When not selected reset vector, read from image, is used for
1317+ the same purpose.
1318+
13111319config MCUBOOT_VERIFY_IMG_ADDRESS
13121320 bool "Verify reset address of image in secondary slot"
13131321 depends on UPDATEABLE_IMAGE_NUMBER > 1
Original file line number Diff line number Diff line change 307307#define MCUBOOT_FIND_NEXT_SLOT_HOOKS
308308#endif
309309
310+ #ifdef CONFIG_MCUBOOT_CHECK_HEADER_LOAD_ADDRESS
311+ #define MCUBOOT_CHECK_HEADER_LOAD_ADDRESS
312+ #endif
313+
310314#ifdef CONFIG_MCUBOOT_VERIFY_IMG_ADDRESS
311315#define MCUBOOT_VERIFY_IMG_ADDRESS
312316#endif
You can’t perform that action at this time.
0 commit comments