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

Go to the source code of this file.

Data Structures

struct  s3c24xx_nand_controller
 

Macros

#define CALL_S3C24XX_DEVICE_COMMAND(d, i)
 
#define S3C2410_NFREG(x)   ((x) + 0x4e000000)
 
#define S3C24XX_DEVICE_COMMAND()
 
#define s3c24xx_read_page   NULL
 
#define s3c24xx_write_page   NULL
 

Functions

int s3c2440_nand_ready (struct nand_device *nand, int timeout)
 
int s3c2440_read_block_data (struct nand_device *nand, uint8_t *data, int data_size)
 
int s3c2440_write_block_data (struct nand_device *nand, uint8_t *data, int data_size)
 
int s3c24xx_address (struct nand_device *nand, uint8_t address)
 
int s3c24xx_command (struct nand_device *nand, uint8_t command)
 
int s3c24xx_read_data (struct nand_device *nand, void *data)
 
int s3c24xx_reset (struct nand_device *nand)
 
int s3c24xx_write_data (struct nand_device *nand, uint16_t data)
 

Macro Definition Documentation

◆ CALL_S3C24XX_DEVICE_COMMAND

#define CALL_S3C24XX_DEVICE_COMMAND (   d,
 
)
Value:
do { \
int retval = CALL_COMMAND_HANDLER(s3c24xx_nand_device_command, d, i); \
if (retval != ERROR_OK) \
return retval; \
} while (0)
#define CALL_COMMAND_HANDLER(name, extra ...)
Use this to macro to call a command helper (or a nested handler).
Definition: command.h:117
#define ERROR_OK
Definition: log.h:155

Definition at line 40 of file s3c24xx.h.

◆ S3C2410_NFREG

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

Definition at line 31 of file s3c24xx.h.

◆ S3C24XX_DEVICE_COMMAND

S3C24XX_DEVICE_COMMAND ( )
Value:
COMMAND_HELPER(s3c24xx_nand_device_command, \
struct nand_device *nand, \
#define COMMAND_HELPER(name, extra ...)
Similar to COMMAND_HANDLER, except some parameters are expected.
Definition: command.h:134
static struct ublast_lowlevel_priv info

Definition at line 33 of file s3c24xx.h.

◆ s3c24xx_read_page

#define s3c24xx_read_page   NULL

Definition at line 56 of file s3c24xx.h.

◆ s3c24xx_write_page

#define s3c24xx_write_page   NULL

Definition at line 55 of file s3c24xx.h.

Function Documentation

◆ s3c2440_nand_ready()

◆ s3c2440_read_block_data()

int s3c2440_read_block_data ( struct nand_device nand,
uint8_t *  data,
int  data_size 
)

◆ s3c2440_write_block_data()

int s3c2440_write_block_data ( struct nand_device nand,
uint8_t *  data,
int  data_size 
)

Definition at line 111 of file s3c2440.c.

◆ s3c24xx_address()

int s3c24xx_address ( struct nand_device nand,
uint8_t  address 
)

◆ s3c24xx_command()

int s3c24xx_command ( struct nand_device nand,
uint8_t  command 
)

◆ s3c24xx_read_data()

int s3c24xx_read_data ( struct nand_device nand,
void *  data 
)

◆ s3c24xx_reset()

◆ s3c24xx_write_data()

int s3c24xx_write_data ( struct nand_device nand,
uint16_t  data 
)