Dont pass the HW ECC data on ipc calls.

This commit is contained in:
dhewg 2009-05-02 16:27:10 +02:00 committed by bushing
parent 57c185afe5
commit 813a7a1c33

4
nand.c
View File

@ -103,8 +103,8 @@ void nand_irq(void)
dc_flushrange((void*)current_request.args[1], PAGE_SIZE); dc_flushrange((void*)current_request.args[1], PAGE_SIZE);
} }
if (current_request.args[2] != 0xFFFFFFFF) { if (current_request.args[2] != 0xFFFFFFFF) {
memcpy32((void*)current_request.args[2], ipc_ecc, ECC_BUFFER_SIZE); memcpy32((void*)current_request.args[2], ipc_ecc, PAGE_SPARE_SIZE);
dc_flushrange((void*)current_request.args[2], ECC_BUFFER_SIZE); dc_flushrange((void*)current_request.args[2], PAGE_SPARE_SIZE);
} }
break; break;
default: default: