Append RT_WEAK to override various ECC layout.

This commit is contained in:
Wayne Lin 2021-01-26 10:44:00 +08:00
parent 02a2670f98
commit 998e370ae1
1 changed files with 1 additions and 1 deletions

View File

@ -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));