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:
parent
5070186f63
commit
45d468bfdb
7 changed files with 126 additions and 57 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue