OpenOCD
nand/imp.h File Reference
Include dependency graph for nand/imp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int nand_build_bbt (struct nand_device *nand, int first, int last)
 
void nand_device_add (struct nand_device *c)
 
int nand_erase (struct nand_device *nand, int first_block, int last_block)
 
int nand_probe (struct nand_device *nand)
 
int nand_read_page (struct nand_device *nand, uint32_t page, uint8_t *data, uint32_t data_size, uint8_t *oob, uint32_t oob_size)
 
int nand_write_page (struct nand_device *nand, uint32_t page, uint8_t *data, uint32_t data_size, uint8_t *oob, uint32_t oob_size)
 

Function Documentation

◆ nand_build_bbt()

◆ nand_device_add()

void nand_device_add ( struct nand_device c)

Definition at line 20 of file flash/nand/core.c.

References nand_devices, and nand_device::next.

Referenced by COMMAND_HELPER().

◆ nand_erase()

◆ nand_probe()

◆ nand_read_page()

int nand_read_page ( struct nand_device nand,
uint32_t  page,
uint8_t *  data,
uint32_t  data_size,
uint8_t *  oob,
uint32_t  oob_size 
)

◆ nand_write_page()

int nand_write_page ( struct nand_device nand,
uint32_t  page,
uint8_t *  data,
uint32_t  data_size,
uint8_t *  oob,
uint32_t  oob_size 
)