Lines Matching refs:nand_dev
381 static int nand_imls_legacyimage(struct mtd_info *mtd, int nand_dev, in nand_imls_legacyimage() argument
390 nand_dev, off); in nand_imls_legacyimage()
407 nand_dev, off); in nand_imls_legacyimage()
421 static int nand_imls_fitimage(struct mtd_info *mtd, int nand_dev, loff_t off, in nand_imls_fitimage() argument
430 nand_dev, off); in nand_imls_fitimage()
446 printf("FIT Image at NAND device %d offset %08llX:\n", nand_dev, off); in nand_imls_fitimage()
457 int nand_dev = nand_curr_device; in do_imls_nand() local
462 if (nand_dev < 0 || nand_dev >= CONFIG_SYS_MAX_NAND_DEVICE) { in do_imls_nand()
469 for (nand_dev = 0; nand_dev < CONFIG_SYS_MAX_NAND_DEVICE; nand_dev++) { in do_imls_nand()
470 mtd = get_nand_dev_by_index(nand_dev); in do_imls_nand()
496 nand_imls_legacyimage(mtd, nand_dev, off, len); in do_imls_nand()
502 nand_imls_fitimage(mtd, nand_dev, off, len); in do_imls_nand()