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:
parent
cdfddecb35
commit
83508a5677
17 changed files with 239 additions and 224 deletions
|
@ -10,7 +10,7 @@
|
|||
#include <stddef.h>
|
||||
#include <sys/types.h>
|
||||
#include <device.h>
|
||||
#include <flash_map.h>
|
||||
#include <storage/flash_map.h>
|
||||
#include <flash.h>
|
||||
#include <soc.h>
|
||||
#include <init.h>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
#include <zephyr.h>
|
||||
#include <flash_map.h>
|
||||
#include <storage/flash_map.h>
|
||||
|
||||
#define FLASH_AREA_FOO(i, _) \
|
||||
{.fa_id = i, \
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include <flash_map.h>
|
||||
#include <storage/flash_map.h>
|
||||
#include <logging/log.h>
|
||||
|
||||
#define LOG_LEVEL CONFIG_LOG_DEFAULT_LEVEL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue