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

Go to the source code of this file.

Macros

#define S3C2410_NFREG(x)   ((x) + 0x70200000)
 

Functions

 NAND_DEVICE_COMMAND_HANDLER (s3c6400_nand_device_command)
 
static int s3c6400_init (struct nand_device *nand)
 

Variables

struct nand_flash_controller s3c6400_nand_controller
 

Macro Definition Documentation

◆ S3C2410_NFREG

#define S3C2410_NFREG (   x)    ((x) + 0x70200000)

Definition at line 15 of file s3c6400.c.

Function Documentation

◆ NAND_DEVICE_COMMAND_HANDLER()

NAND_DEVICE_COMMAND_HANDLER ( s3c6400_nand_device_command  )

◆ s3c6400_init()

Variable Documentation

◆ s3c6400_nand_controller

struct nand_flash_controller s3c6400_nand_controller
Initial value:
= {
.name = "s3c6400",
.nand_device_command = &s3c6400_nand_device_command,
.init = &s3c6400_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
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
static int s3c6400_init(struct nand_device *nand)
Definition: s3c6400.c:31

Definition at line 31 of file s3c6400.c.