File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -1308,6 +1308,14 @@ config USB_DEVICE_PRODUCT
1308
1308
config MCUBOOT_BOOTUTIL_LIB_OWN_LOG
1309
1309
bool
1310
1310
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
+
1311
1319
config MCUBOOT_VERIFY_IMG_ADDRESS
1312
1320
bool "Verify reset address of image in secondary slot"
1313
1321
depends on UPDATEABLE_IMAGE_NUMBER > 1
Original file line number Diff line number Diff line change 307
307
#define MCUBOOT_FIND_NEXT_SLOT_HOOKS
308
308
#endif
309
309
310
+ #ifdef CONFIG_MCUBOOT_CHECK_HEADER_LOAD_ADDRESS
311
+ #define MCUBOOT_CHECK_HEADER_LOAD_ADDRESS 1
312
+ #else
313
+ #define MCUBOOT_CHECK_HEADER_LOAD_ADDRESS 0
314
+ #endif
315
+
310
316
#ifdef CONFIG_MCUBOOT_VERIFY_IMG_ADDRESS
311
317
#define MCUBOOT_VERIFY_IMG_ADDRESS
312
318
#endif
You can’t perform that action at this time.
0 commit comments