/* Change Logs: Date Author Notes  wanghaijing the first version  */
static int rt_flash_init(void)
/* Change Logs: Date Author Notes  wanghaijing the first version  */
static int rt_flash_init(void)
{
    extern rt_spi_flash_device_t rt_sfud_flash_probe(const char *spi_flash_dev_name, const char *spi_dev_name);
    extern int fal_init(void);
    rt_hw_spi_device_attach("spi1", "spi10", GET_PIN(A, 4));
    rt_sfud_flash_probe("norflash0", "spi10");
    fal_init();
    return 0;
}