mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-17 17:48:55 +00:00
50 lines
706 B
C
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;
|
|
}
|