include: move disk driver interface to own header

Move disk driver interface to own header and
separate disk access interface and disk driver interface.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
This commit is contained in:
Johann Fischer 2021-02-26 12:48:03 +01:00 committed by Carles Cufí
commit 45d468bfdb
7 changed files with 126 additions and 57 deletions

View file

@ -8,7 +8,7 @@
#include <zephyr/types.h>
#include <sys/__assert.h>
#include <sys/util.h>
#include <disk/disk_access.h>
#include <drivers/disk.h>
#include <errno.h>
#include <init.h>
#include <device.h>

View file

@ -7,7 +7,7 @@
#include <string.h>
#include <zephyr/types.h>
#include <sys/__assert.h>
#include <disk/disk_access.h>
#include <drivers/disk.h>
#include <errno.h>
#include <init.h>
#include <device.h>

View file

@ -10,7 +10,7 @@
LOG_MODULE_REGISTER(sdmmc_spi, CONFIG_SDMMC_LOG_LEVEL);
#include <disk/disk_access.h>
#include <drivers/disk.h>
#include <drivers/gpio.h>
#include <sys/byteorder.h>
#include <drivers/spi.h>

View file

@ -7,7 +7,7 @@
#define DT_DRV_COMPAT st_stm32_sdmmc
#include <devicetree.h>
#include <disk/disk_access.h>
#include <drivers/disk.h>
#include <drivers/clock_control.h>
#include <drivers/clock_control/stm32_clock_control.h>
#include <pinmux/stm32/pinmux_stm32.h>

View file

@ -7,7 +7,7 @@
#define DT_DRV_COMPAT nxp_imx_usdhc
#include <sys/__assert.h>
#include <disk/disk_access.h>
#include <drivers/disk.h>
#include <drivers/gpio.h>
#include <sys/byteorder.h>
#include <soc.h>