summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorWayne Lin <[email protected]>2021-01-26 10:44:00 +0800
committerWayne Lin <[email protected]>2021-01-26 10:44:00 +0800
commit998e370ae1ac647922abf7251b6c9363fc6d80c0 (patch)
treeb78754f5295bda99ad29e48fad7cd847edf7ea82 /components
parent02a2670f98fc71becf0661c2607ed3bbf6d8c9c2 (diff)
Append RT_WEAK to override various ECC layout.
Diffstat (limited to 'components')
-rw-r--r--components/dfs/filesystems/uffs/uffs_nandif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/dfs/filesystems/uffs/uffs_nandif.c b/components/dfs/filesystems/uffs/uffs_nandif.c
index 2e1a981fba..00e1bee8d5 100644
--- a/components/dfs/filesystems/uffs/uffs_nandif.c
+++ b/components/dfs/filesystems/uffs/uffs_nandif.c
@@ -324,7 +324,7 @@ static rt_uint8_t hw_flash_ecc_layout[UFFS_SPARE_LAYOUT_SIZE] =
0x00, 0x04, 0xFF, 0x00
};
-void uffs_setup_storage(struct uffs_StorageAttrSt *attr,
+RT_WEAK void uffs_setup_storage(struct uffs_StorageAttrSt *attr,
struct rt_mtd_nand_device *nand)
{
rt_memset(attr, 0, sizeof(struct uffs_StorageAttrSt));