summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
cabb7b5)
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
ecc_result = YAFFS_ECC_RESULT_NO_ERROR;
ecc_result = YAFFS_ECC_RESULT_NO_ERROR;
if(data) {
for(i = 0, e = buffer + 2; i < chip->data_bytes_per_page; i+=256, e+=3) {
yaffs_ecc_calc(data + i, read_ecc);
if(data) {
for(i = 0, e = buffer + 2; i < chip->data_bytes_per_page; i+=256, e+=3) {
yaffs_ecc_calc(data + i, read_ecc);
ecc_result = YAFFS_ECC_RESULT_FIXED;
}
}
ecc_result = YAFFS_ECC_RESULT_FIXED;
}
}
if (ecc_result_out)
*ecc_result_out = ecc_result;
if (ecc_result_out)
*ecc_result_out = ecc_result;