From 8d497e945ab279c39f8952a8b31413cbbf85bfa3 Mon Sep 17 00:00:00 2001 From: David Lin Date: Fri, 21 Feb 2020 21:30:35 +0800 Subject: [PATCH 1/3] Fixed typo 'WirtePageWithLayout' in uffs WirtePageWithLayout ->WritePageWithLayout --- .../dfs/filesystems/uffs/src/emu/uffs_fileem_ecc_soft.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/dfs/filesystems/uffs/src/emu/uffs_fileem_ecc_soft.c b/components/dfs/filesystems/uffs/src/emu/uffs_fileem_ecc_soft.c index f657066145..0a24c1cf3b 100644 --- a/components/dfs/filesystems/uffs/src/emu/uffs_fileem_ecc_soft.c +++ b/components/dfs/filesystems/uffs/src/emu/uffs_fileem_ecc_soft.c @@ -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() }; From 379038473468428b5fcbcb559bbbfcffe966ae1e Mon Sep 17 00:00:00 2001 From: David Lin Date: Fri, 21 Feb 2020 21:34:21 +0800 Subject: [PATCH 2/3] Fixed typo 'WirtePageWithLayout' in uffs WirtePageWithLayout ->WritePageWithLayout --- .../uffs/src/emu/uffs_fileem_ecc_hw_auto.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/components/dfs/filesystems/uffs/src/emu/uffs_fileem_ecc_hw_auto.c b/components/dfs/filesystems/uffs/src/emu/uffs_fileem_ecc_hw_auto.c index ae86f7f16a..31fbb28c95 100644 --- a/components/dfs/filesystems/uffs/src/emu/uffs_fileem_ecc_hw_auto.c +++ b/components/dfs/filesystems/uffs/src/emu/uffs_fileem_ecc_hw_auto.c @@ -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() }; From ec20c2c7ff27de443ce61c432e78a03ef02cf066 Mon Sep 17 00:00:00 2001 From: David Lin Date: Fri, 21 Feb 2020 21:37:05 +0800 Subject: [PATCH 3/3] Fixed typo 'WirtePageWithLayout' in uffs WirtePageWithLayout ->WritePageWithLayout --- .../uffs/src/example/flash-interface-example.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/dfs/filesystems/uffs/src/example/flash-interface-example.c b/components/dfs/filesystems/uffs/src/example/flash-interface-example.c index 9a6e008262..ff26beb281 100644 --- a/components/dfs/filesystems/uffs/src/example/flash-interface-example.c +++ b/components/dfs/filesystems/uffs/src/example/flash-interface-example.c @@ -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() };