Searched refs:main_mtd (Results 1 – 1 of 1) sorted by relevance
307 struct mtd_info *main_mtd; in init_axis_flash() local333 main_mtd = flash_probe(); in init_axis_flash()334 if (main_mtd) in init_axis_flash()336 main_mtd->name, main_mtd->size); in init_axis_flash()350 tmp_mtd = main_mtd; in init_axis_flash()351 main_mtd = aux_mtd; in init_axis_flash()357 if (!main_mtd && !aux_mtd) { in init_axis_flash()365 if (main_mtd) { in init_axis_flash()369 main_mtd->read(main_mtd, sectoraddr, PAGESIZE, &len, in init_axis_flash()393 if (main_mtd) { in init_axis_flash()[all …]