fuchsia.hardware.nand

PROTOCOLS

RamNandCtl

Defined in fuchsia.hardware.nand/ram-nand.fidl

CreateDevice

Request

NameType
info RamNandInfo

Response

NameType
status zx/status
name string[32]

RamNand

Defined in fuchsia.hardware.nand/ram-nand.fidl

Request

NameType

Response

NameType
status zx/status

STRUCTS

Info

Defined in fuchsia.hardware.nand/nand.fidl

NameTypeDescriptionDefault
page_size uint32 No default
pages_per_block uint32 No default
num_blocks uint32 No default
ecc_bits uint32 No default
oob_size uint32 No default
nand_class Class No default
partition_guid uint8[16] No default

Partition

Defined in fuchsia.hardware.nand/ram-nand.fidl

NameTypeDescriptionDefault
type_guid uint8[16] No default
unique_guid uint8[16] No default
first_block uint32 No default
last_block uint32 No default
copy_count uint32 No default
copy_byte_offset uint32 No default
name uint8[32] No default
hidden bool No default
bbt bool No default

PartitionMap

Defined in fuchsia.hardware.nand/ram-nand.fidl

NameTypeDescriptionDefault
device_guid uint8[16] No default
partition_count uint32 No default
partitions [10] No default

RamNandInfo

Defined in fuchsia.hardware.nand/ram-nand.fidl

NameTypeDescriptionDefault
vmo handle<vmo>? No default
nand_info Info No default
partition_map PartitionMap No default
export_nand_config bool No default
export_partition_map bool No default

ENUMS

Class

Type: uint32

Defined in fuchsia.hardware.nand/nand.fidl

NameValueDescription
UNKNOWN 0
PARTMAP 1
FTL 2
BBS 3
TEST 4

CONSTANTS

NameValueTypeDescription
GUID_LEN 16 uint32
MAX_PARTITIONS 10 uint32
NAME_LEN 32 uint32