Google is committed to advancing racial equity for Black communities. See how.

fuchsia.hardware.rawnand

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

NameType
nandpage uint32

Response

NameType
s zx/status

GetNandInfo

Request

NameType

Response

NameType
s zx/status
info fuchsia.hardware.nandinfo/NandInfo

ReadPageHwecc

Read one NAND page and its out-of-band data with hardware ECC.

Request

NameType
nandpage uint32

Response

NameType
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

NameType
data vector<uint8>
oob vector<uint8>
nandpage uint32

Response

NameType
s zx/status

STRUCTS