/* Change Logs: Date Author Notes  Meco Man first version  */
static int init(void)
/* Change Logs: Date Author Notes  Meco Man first version  */
static int init(void)
{
    sfud_dev = rt_sfud_flash_find_by_dev_name("W25Q128");
    if (RT_NULL == sfud_dev)
    {
        return -1;
    }
    w25q128.blk_size = sfud_dev->chip.erase_gran;
    w25q128.len = sfud_dev->chip.capacity;
    return 0;
}