dfu: img_util: move flash defines to SoC

mcuboot_constraints.h had FLASH information related to the SoC that
should be maintained as part of the SoC and not in the subsystem. Also
fixed Makefiles to check for IMG_UTIL Kconfig and not MCUBOOT.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2017-09-19 22:08:33 -04:00 committed by Anas Nashif
commit db4eba64da
5 changed files with 12 additions and 28 deletions

View file

@ -15,7 +15,7 @@
#include <string.h>
#include <errno.h>
#include <flash.h>
#include "boot/mcuboot_constraints.h"
#include <board.h>
#include "flash_img.h"
BUILD_ASSERT_MSG((CONFIG_IMG_BLOCK_BUF_SIZE % FLASH_ALIGN == 0),