Merge pull request #3396 from DavidLin1577/patch-10

Fixed typo 'WirtePageWithLayout' in uffs
This commit is contained in:
Bernard Xiong 2020-02-22 13:25:04 +08:00 committed by GitHub
commit 1c3a482ca4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 15 deletions

View File

@ -344,13 +344,13 @@ ext:
uffs_FlashOps g_femu_ops_ecc_hw_auto = {
femu_hw_auto_InitFlash, // InitFlash()
femu_ReleaseFlash, // ReleaseFlash()
NULL, // ReadPage()
femu_hw_auto_InitFlash, // InitFlash()
femu_ReleaseFlash, // ReleaseFlash()
NULL, // ReadPage()
femu_hw_auto_ReadPageWithLayout, // ReadPageWithLayout()
NULL, // WritePage()
femu_hw_auto_WritePageWithLayout, // WirtePageWithLayout()
NULL, // IsBadBlock(), let UFFS take care of it.
NULL, // MarkBadBlock(), let UFFS take care of it.
NULL, // WritePage()
femu_hw_auto_WritePageWithLayout, // WritePageWithLayout()
NULL, // IsBadBlock(), let UFFS take care of it.
NULL, // MarkBadBlock(), let UFFS take care of it.
femu_EraseBlock, // EraseBlock()
};

View File

@ -203,10 +203,10 @@ uffs_FlashOps g_femu_ops_ecc_soft = {
femu_InitFlash, // InitFlash()
femu_ReleaseFlash, // ReleaseFlash()
femu_ReadPage, // ReadPage()
NULL, // ReadPageWithLayout
NULL, // ReadPageWithLayout
femu_WritePage, // WritePage()
NULL, // WirtePageWithLayout
NULL, // IsBadBlock(), let UFFS take care of it.
NULL, // MarkBadBlock(), let UFFS take care of it.
NULL, // WritePageWithLayout
NULL, // IsBadBlock(), let UFFS take care of it.
NULL, // MarkBadBlock(), let UFFS take care of it.
femu_EraseBlock, // EraseBlock()
};

View File

@ -292,11 +292,11 @@ static uffs_FlashOps g_my_nand_ops = {
nand_init_flash, // InitFlash()
nand_release_flash, // ReleaseFlash()
nand_read_page, // ReadPage()
NULL, // ReadPageWithLayout
NULL, // ReadPageWithLayout
nand_write_page, // WritePage()
NULL, // WirtePageWithLayout
NULL, // IsBadBlock(), let UFFS take care of it.
NULL, // MarkBadBlock(), let UFFS take care of it.
NULL, // WritePageWithLayout
NULL, // IsBadBlock(), let UFFS take care of it.
NULL, // MarkBadBlock(), let UFFS take care of it.
nand_erase_block, // EraseBlock()
};