dfu: boot: mcuboot: Convert FLASH_AREA to DT_FLASH_AREA
Use DT_FLASH_AREA prefixed defined instead of FLASH_AREA as the non-DT version is deprecated. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
65cd010fc1
commit
a5c1bb59e0
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ struct mcuboot_v1_raw_header {
|
|||
|
||||
#define FLASH_MIN_WRITE_SIZE FLASH_WRITE_BLOCK_SIZE
|
||||
|
||||
/* FLASH_AREA_IMAGE_XX_YY values used below are auto-generated thanks to DT */
|
||||
/* DT_FLASH_AREA_IMAGE_XX_YY values used below are auto-generated by DT */
|
||||
#define FLASH_BANK0_ID DT_FLASH_AREA_IMAGE_0_ID
|
||||
#define FLASH_BANK1_ID DT_FLASH_AREA_IMAGE_1_ID
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue