mirror of
https://github.com/fail0verflow/mini.git
synced 2024-12-01 07:34:20 +01:00
Dont pass the HW ECC data on ipc calls.
This commit is contained in:
parent
57c185afe5
commit
813a7a1c33
4
nand.c
4
nand.c
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user