mirror of
https://github.com/fail0verflow/mini.git
synced 2024-11-28 06:04:19 +01:00
merge: sdmmc.h
This commit is contained in:
parent
a65e1c4bfc
commit
46f8c41f71
6
sdmmc.h
6
sdmmc.h
@ -25,7 +25,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|||||||
#include "bsdtypes.h"
|
#include "bsdtypes.h"
|
||||||
#include "sdmmcchip.h"
|
#include "sdmmcchip.h"
|
||||||
#include "sdmmcvar.h"
|
#include "sdmmcvar.h"
|
||||||
|
#ifdef CAN_HAZ_IPC
|
||||||
#include "ipc.h"
|
#include "ipc.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define SDMMC_DEFAULT_CLOCK 25000
|
#define SDMMC_DEFAULT_CLOCK 25000
|
||||||
#define SDMMC_DEFAULT_BLOCKLEN 512
|
#define SDMMC_DEFAULT_BLOCKLEN 512
|
||||||
@ -44,7 +46,7 @@ int sdmmc_select(struct device *dev);
|
|||||||
int sdmmc_check_card(struct device *dev);
|
int sdmmc_check_card(struct device *dev);
|
||||||
void sdmmc_ack_card(struct device *dev);
|
void sdmmc_ack_card(struct device *dev);
|
||||||
int sdmmc_read(struct device *dev, u32 blk_start, u32 blk_count, void *data);
|
int sdmmc_read(struct device *dev, u32 blk_start, u32 blk_count, void *data);
|
||||||
|
#ifdef CAN_HAZ_IPC
|
||||||
void sdmmc_ipc(volatile ipc_request *req);
|
void sdmmc_ipc(volatile ipc_request *req);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user