subsys/storage/flash_map: remove unnecessary includes

Those files includes soc.h header which exists not for all boards.
soc.h consists soc-depended defenitions and need to be included by
soc-depended sources

Signed-off-by: Dmytro Semenets <dmytro_semenets@epam.com>
This commit is contained in:
Dmytro Semenets 2023-03-02 18:05:05 +02:00 committed by Carles Cufí
parent 0eeb5c7c50
commit e169f7cc12
3 changed files with 0 additions and 3 deletions

View File

@ -16,7 +16,6 @@
#include <zephyr/storage/flash_map.h>
#include "flash_map_priv.h"
#include <zephyr/drivers/flash.h>
#include <soc.h>
#include <zephyr/init.h>
void flash_area_foreach(flash_area_cb_t user_cb, void *user_data)

View File

@ -16,7 +16,6 @@
#include <zephyr/storage/flash_map.h>
#include "flash_map_priv.h"
#include <zephyr/drivers/flash.h>
#include <soc.h>
#include <zephyr/init.h>
#if defined(CONFIG_FLASH_AREA_CHECK_INTEGRITY)

View File

@ -15,7 +15,6 @@
#include <zephyr/device.h>
#include <zephyr/storage/flash_map.h>
#include <zephyr/drivers/flash.h>
#include <soc.h>
#include <zephyr/init.h>
struct layout_data {