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:
parent
7126456d2d
commit
db4eba64da
5 changed files with 12 additions and 28 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue