PROTOCOLS
RawNand
Defined in fuchsia.hardware.rawnand/rawnand.banjo
EraseBlock
Erase NAND block.
Should return ZX_ERR_IO only when error ocurred due to underlying hardware.
Request
Name | Type |
---|---|
nandpage |
uint32
|
Response
Name | Type |
---|---|
s |
zx/status
|
GetNandInfo
Request
Name | Type |
---|
Response
Name | Type |
---|---|
s |
zx/status
|
info |
fuchsia.hardware.nandinfo/NandInfo
|
ReadPageHwecc
Read one NAND page and its out-of-band data with hardware ECC.
Request
Name | Type |
---|---|
nandpage |
uint32
|
Response
Name | Type |
---|---|
s |
zx/status
|
data |
vector<uint8>
|
oob |
vector<uint8>
|
ecc_correct |
uint32
|
WritePageHwecc
Write one NAND page and its out-of-band data with hardware ECC.
Should return ZX_ERR_IO only when an error ocurred due to underlying hardware.
Request
Name | Type |
---|---|
data |
vector<uint8>
|
oob |
vector<uint8>
|
nandpage |
uint32
|
Response
Name | Type |
---|---|
s |
zx/status
|