50 LOG_ERROR(
"target must be halted to use S3C24XX NAND flash controller");
63 LOG_ERROR(
"target must be halted to use S3C24XX NAND flash controller");
77 LOG_ERROR(
"target must be halted to use S3C24XX NAND flash controller");
95 .nand_device_command = &s3c2410_nand_device_command,
void alive_sleep(uint64_t ms)
#define LOG_ERROR(expr ...)
#define ERROR_NAND_OPERATION_FAILED
static int s3c2410_read_data(struct nand_device *nand, void *data)
NAND_DEVICE_COMMAND_HANDLER(s3c2410_nand_device_command)
static int s3c2410_nand_ready(struct nand_device *nand, int timeout)
static int s3c2410_write_data(struct nand_device *nand, uint16_t data)
struct nand_flash_controller s3c2410_nand_controller
static int s3c2410_init(struct nand_device *nand)
int s3c24xx_reset(struct nand_device *nand)
int s3c24xx_address(struct nand_device *nand, uint8_t address)
int s3c24xx_command(struct nand_device *nand, uint8_t command)
#define CALL_S3C24XX_DEVICE_COMMAND(d, i)
#define s3c24xx_read_page
#define s3c24xx_write_page
#define S3C2410_NFCONF_TACLS(x)
#define S3C2410_NFCONF_EN
#define S3C2410_NFCONF_TWRPH1(x)
#define S3C2410_NFSTAT_BUSY
#define S3C2410_NFCONF_TWRPH0(x)
Interface for NAND flash controllers.
const char * name
Driver name that is used to select it from configuration files.
int target_read_u8(struct target *target, target_addr_t address, uint8_t *value)
int target_write_u32(struct target *target, target_addr_t address, uint32_t value)
static struct ublast_lowlevel_priv info