cleanup: include/: move flash_map.h to storage/flash_map.h

move flash_map.h to storage/flash_map.h and
create a shim for backward-compatibility.

No functional changes to the headers.
A warning in the shim can be controlled with CONFIG_COMPAT_INCLUDES.

Related to #16539

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-06-25 12:05:42 -04:00
commit 83508a5677
17 changed files with 239 additions and 224 deletions

View file

@ -12,7 +12,7 @@
extern "C" {
#endif
#include <flash_map.h>
#include <storage/flash_map.h>
struct flash_img_context {
u8_t buf[CONFIG_IMG_BLOCK_BUF_SIZE];