OpenOCD
s3c2443.c File Reference
Include dependency graph for s3c2443.c:

Go to the source code of this file.

Functions

 NAND_DEVICE_COMMAND_HANDLER (s3c2443_nand_device_command)
 
static int s3c2443_init (struct nand_device *nand)
 

Variables

struct nand_flash_controller s3c2443_nand_controller
 

Function Documentation

◆ NAND_DEVICE_COMMAND_HANDLER()

NAND_DEVICE_COMMAND_HANDLER ( s3c2443_nand_device_command  )

◆ s3c2443_init()

Variable Documentation

◆ s3c2443_nand_controller

struct nand_flash_controller s3c2443_nand_controller
Initial value:
= {
.name = "s3c2443",
.nand_device_command = &s3c2443_nand_device_command,
.init = &s3c2443_init,
.reset = &s3c24xx_reset,
.command = &s3c24xx_command,
.address = &s3c24xx_address,
.write_data = &s3c24xx_write_data,
.read_data = &s3c24xx_read_data,
.write_page = s3c24xx_write_page,
.read_page = s3c24xx_read_page,
.write_block_data = &s3c2440_write_block_data,
.read_block_data = &s3c2440_read_block_data,
.nand_ready = &s3c2440_nand_ready,
}
int s3c2440_read_block_data(struct nand_device *nand, uint8_t *data, int data_size)
Definition: s3c2440.c:75
int s3c2440_nand_ready(struct nand_device *nand, int timeout)
Definition: s3c2440.c:49
int s3c2440_write_block_data(struct nand_device *nand, uint8_t *data, int data_size)
Definition: s3c2440.c:111
static int s3c2443_init(struct nand_device *nand)
Definition: s3c2443.c:34
int s3c24xx_write_data(struct nand_device *nand, uint16_t data)
Definition: s3c24xx.c:80
int s3c24xx_reset(struct nand_device *nand)
Definition: s3c24xx.c:37
int s3c24xx_address(struct nand_device *nand, uint8_t address)
Definition: s3c24xx.c:66
int s3c24xx_command(struct nand_device *nand, uint8_t command)
Definition: s3c24xx.c:52
int s3c24xx_read_data(struct nand_device *nand, void *data)
Definition: s3c24xx.c:94
#define s3c24xx_read_page
Definition: s3c24xx.h:56
#define s3c24xx_write_page
Definition: s3c24xx.h:55

Definition at line 34 of file s3c2443.c.