/* This function is used to install gd25qxx driver.  */
int tls_spifls_drv_install(void)
/* This function is used to install gd25qxx driver.  */
int tls_spifls_drv_install(void)
{
    int err;
    extern int tls_spifls_probe(void);
    extern int tls_spifls_drv_register(struct tls_fls_drv *fls_drv);
    err = tls_spifls_drv_register((struct tls_fls_drv *) &exspi_fls);
    if (err == TLS_FLS_STATUS_EEXIST)
    {    	return err;
    }
    TLS_DBGPRT_INFO("register the spi flash driver - %d.\n", err);
    err = tls_spifls_probe();
    TLS_DBGPRT_INFO("probe spi flash - %d.\n", err);
    return err;
}