Home | History | Annotate | Download | only in sunxi

Lines Matching defs:ecc_mode

508 	const char *ecc_mode, *mtdparts;
526 ecc_mode = fdtbus_get_string(phandle, "nand-ecc-mode");
527 if (ecc_mode == NULL)
528 ecc_mode = "none";
530 if (strcmp(ecc_mode, "none") == 0)
532 else if (strcmp(ecc_mode, "hw") == 0)
534 else if (strcmp(ecc_mode, "hw_syndrome") == 0)
536 else if (strcmp(ecc_mode, "soft") == 0)
538 else if (strcmp(ecc_mode, "soft_bch") == 0)
552 chip->chip_cs, chip->chip_rb, ecc_mode);