mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-14 18:38:55 +00:00
v1.1.1
This commit is contained in:
@@ -683,6 +683,17 @@ s32 nand_fwc_spl_write(struct fwc_info *fwc, u8 *buf, s32 len)
|
||||
return len;
|
||||
}
|
||||
|
||||
s32 nand_fwc_spl_end(struct aicupg_nand_priv *priv)
|
||||
{
|
||||
struct aicupg_nand_spl *spl;
|
||||
|
||||
spl = &g_nand_spl;
|
||||
if (spl->image_buf)
|
||||
free(spl->image_buf);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int nand_spl_get_candidate_blocks(u32 *blks, u32 size)
|
||||
{
|
||||
if (!blks || size < SPL_CANDIDATE_BLOCK_NUM) {
|
||||
|
||||
Reference in New Issue
Block a user