(dev_id == 0xdc) || (dev_id == 0xcc) ||
(dev_id == 0xa3) || (dev_id == 0xb3) ||
(dev_id == 0xd3) || (dev_id == 0xc3))) {
- printf("OnDie ECC flash\n");
nand_chip->cmdfunc(mtd, NAND_CMD_SET_FEATURES,
ONDIE_ECC_FEATURE_ADDR, -1);
nand_chip->write_buf(mtd, set_feature, 4);
ONDIE_ECC_FEATURE_ADDR, -1);
nand_chip->read_buf(mtd, get_feature, 4);
- if (get_feature[0] & 0x08)
+ if (get_feature[0] & 0x08) {
+ printf("OnDie ECC flash: ");
ondie_ecc_enabled = 1;
+ }
} else if ((nand_chip->onfi_version == 23) &&
(nand_chip->onfi_params.features & (1 << 9))) {
ez_nand_supported = 1;