west: sign: 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:
Kumar Gala 2019-02-08 12:07:52 -06:00 committed by Kumar Gala
parent 8a6bd7e654
commit 65cd010fc1

View File

@ -172,7 +172,7 @@ class ImgtoolSigner(Signer):
def sign_cmd(self, args, bcfg, infile, outfile):
align = str(bcfg['FLASH_WRITE_BLOCK_SIZE'])
vtoff = str(bcfg['CONFIG_TEXT_SECTION_OFFSET'])
slot_size = str(bcfg['FLASH_AREA_IMAGE_0_SIZE'])
slot_size = str(bcfg['DT_FLASH_AREA_IMAGE_0_SIZE'])
sign_command = [args.tool_path or 'imgtool',
'sign',