OpenOCD
|
Go to the source code of this file.
Functions | |
NAND_DEVICE_COMMAND_HANDLER (s3c2440_nand_device_command) | |
static int | s3c2440_init (struct nand_device *nand) |
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) |
Variables | |
struct nand_flash_controller | s3c2440_nand_controller |
NAND_DEVICE_COMMAND_HANDLER | ( | s3c2440_nand_device_command | ) |
Definition at line 20 of file s3c2440.c.
References CALL_S3C24XX_DEVICE_COMMAND, ERROR_OK, info, S3C2440_NFADDR, S3C2440_NFCMD, S3C2440_NFDATA, and S3C2440_NFSTAT.
|
static |
Definition at line 34 of file s3c2440.c.
References ERROR_OK, S3C2410_NFCONF, S3C2440_NFCONF_TACLS, S3C2440_NFCONF_TWRPH0, S3C2440_NFCONF_TWRPH1, S3C2440_NFCONT, S3C2440_NFCONT_ENABLE, S3C2440_NFCONT_INITECC, nand_device::target, and target_write_u32().
int s3c2440_nand_ready | ( | struct nand_device * | nand, |
int | timeout | ||
) |
Definition at line 49 of file s3c2440.c.
References alive_sleep(), nand_device::controller_priv, ERROR_NAND_OPERATION_FAILED, LOG_ERROR, s3c24xx_nand_controller::nfstat, S3C2440_NFSTAT_READY, target::state, status, nand_device::target, TARGET_HALTED, and target_read_u8().
int s3c2440_read_block_data | ( | struct nand_device * | nand, |
uint8_t * | data, | ||
int | data_size | ||
) |
Definition at line 75 of file s3c2440.c.
References nand_device::controller_priv, s3c24xx_nand_controller::data, ERROR_NAND_OPERATION_FAILED, ERROR_OK, LOG_ERROR, LOG_INFO, target::state, nand_device::target, TARGET_HALTED, target_read_u32(), and target_read_u8().
int s3c2440_write_block_data | ( | struct nand_device * | nand, |
uint8_t * | data, | ||
int | data_size | ||
) |
struct nand_flash_controller s3c2440_nand_controller |