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

Go to the source code of this file.

Functions

 NAND_DEVICE_COMMAND_HANDLER (s3c2410_nand_device_command)
 
static int s3c2410_init (struct nand_device *nand)
 
static int s3c2410_nand_ready (struct nand_device *nand, int timeout)
 
static int s3c2410_read_data (struct nand_device *nand, void *data)
 
static int s3c2410_write_data (struct nand_device *nand, uint16_t data)
 

Variables

struct nand_flash_controller s3c2410_nand_controller
 

Function Documentation

◆ NAND_DEVICE_COMMAND_HANDLER()

NAND_DEVICE_COMMAND_HANDLER ( s3c2410_nand_device_command  )

◆ s3c2410_init()

static int s3c2410_init ( struct nand_device nand)
static

◆ s3c2410_nand_ready()

static int s3c2410_nand_ready ( struct nand_device nand,
int  timeout 
)
static

Definition at line 71 of file s3c2410.c.

◆ s3c2410_read_data()

static int s3c2410_read_data ( struct nand_device nand,
void *  data 
)
static

◆ s3c2410_write_data()

static int s3c2410_write_data ( struct nand_device nand,
uint16_t  data 
)
static

Variable Documentation

◆ s3c2410_nand_controller

struct nand_flash_controller s3c2410_nand_controller
Initial value:
= {
.name = "s3c2410",
.nand_device_command = &s3c2410_nand_device_command,
.init = &s3c2410_init,
.reset = &s3c24xx_reset,
.command = &s3c24xx_command,
.address = &s3c24xx_address,
.write_data = &s3c2410_write_data,
.read_data = &s3c2410_read_data,
.write_page = s3c24xx_write_page,
.read_page = s3c24xx_read_page,
.nand_ready = &s3c2410_nand_ready,
}
static int s3c2410_read_data(struct nand_device *nand, void *data)
Definition: s3c2410.c:58
static int s3c2410_nand_ready(struct nand_device *nand, int timeout)
Definition: s3c2410.c:71
static int s3c2410_write_data(struct nand_device *nand, uint16_t data)
Definition: s3c2410.c:45
static int s3c2410_init(struct nand_device *nand)
Definition: s3c2410.c:34
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
#define s3c24xx_read_page
Definition: s3c24xx.h:56
#define s3c24xx_write_page
Definition: s3c24xx.h:55

Definition at line 71 of file s3c2410.c.