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

@ -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>