OpenOCD
|
Go to the source code of this file.
Functions | |
int | s3c24xx_address (struct nand_device *nand, uint8_t address) |
int | s3c24xx_command (struct nand_device *nand, uint8_t command) |
S3C24XX_DEVICE_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) |
int s3c24xx_address | ( | struct nand_device * | nand, |
uint8_t | address | ||
) |
Definition at line 66 of file s3c24xx.c.
References s3c24xx_nand_controller::addr, nand_device::controller_priv, ERROR_NAND_OPERATION_FAILED, ERROR_OK, LOG_ERROR, target::state, nand_device::target, TARGET_HALTED, and target_write_u16().
int s3c24xx_command | ( | struct nand_device * | nand, |
uint8_t | command | ||
) |
Definition at line 52 of file s3c24xx.c.
References s3c24xx_nand_controller::cmd, nand_device::controller_priv, ERROR_NAND_OPERATION_FAILED, ERROR_OK, LOG_ERROR, target::state, nand_device::target, TARGET_HALTED, and target_write_u16().
S3C24XX_DEVICE_COMMAND | ( | ) |
int s3c24xx_read_data | ( | struct nand_device * | nand, |
void * | data | ||
) |
Definition at line 94 of file s3c24xx.c.
References nand_device::controller_priv, s3c24xx_nand_controller::data, ERROR_NAND_OPERATION_FAILED, ERROR_OK, LOG_ERROR, target::state, nand_device::target, TARGET_HALTED, and target_read_u8().
int s3c24xx_reset | ( | struct nand_device * | nand | ) |
Definition at line 37 of file s3c24xx.c.
References s3c24xx_nand_controller::cmd, nand_device::controller_priv, ERROR_NAND_OPERATION_FAILED, ERROR_OK, LOG_ERROR, target::state, nand_device::target, TARGET_HALTED, and target_write_u32().
int s3c24xx_write_data | ( | struct nand_device * | nand, |
uint16_t | data | ||
) |
Definition at line 80 of file s3c24xx.c.
References nand_device::controller_priv, s3c24xx_nand_controller::data, ERROR_NAND_OPERATION_FAILED, ERROR_OK, LOG_ERROR, target::state, nand_device::target, TARGET_HALTED, and target_write_u8().