Files
刘可亮 564e22b32f v0.7.5
2023-08-28 09:48:01 +08:00

50 lines
706 B
C

/*
* Copyright (c) 2023, Artinchip Technology Co., Ltd
*
* SPDX-License-Identifier: Apache-2.0
*
* Xiong Hao <hao.xiong@artinchip.com>
*/
#include <aic_core.h>
#include <aicupg.h>
#include "upg_internal.h"
#define MMC_BLOCK_SIZE 512
struct aicupg_mmc_priv {
struct mmc *mmc;
};
int mmc_is_exist()
{
return 0;
}
s32 mmc_fwc_prepare(struct fwc_info *fwc, u32 mmc_id)
{
int ret = 0;
return ret;
}
void mmc_fwc_start(struct fwc_info *fwc)
{
return;
}
s32 mmc_fwc_data_write(struct fwc_info *fwc, u8 *buf, s32 len)
{
return 0;
}
s32 mmc_fwc_data_read(struct fwc_info *fwc, u8 *buf, s32 len)
{
return 0;
}
void mmc_fwc_data_end(struct fwc_info *fwc)
{
return;
}