nand_davinci_readecc_1bit
nand_davinci_readecc_1bit(nand_to_mtd(chip));
unsigned int ecc_val = nand_davinci_readecc_1bit(nand_to_mtd(chip));