From 65cd010fc179a01acff3144d9cc6a6e2d0bf408f Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Fri, 8 Feb 2019 12:07:52 -0600 Subject: [PATCH] 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 --- scripts/west_commands/sign.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/west_commands/sign.py b/scripts/west_commands/sign.py index 7e3ef56c00a..b20e6948b96 100644 --- a/scripts/west_commands/sign.py +++ b/scripts/west_commands/sign.py @@ -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',