diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 07:38:52 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:07 -0800 |
commit | ed9c4ef3c41ac21d0a08cb7e07ab68d0c7930138 (patch) | |
tree | 6038c61d4d57a6dabd9294afaebd17860c7286dc /src/flash/s3c2440_nand.c | |
parent | eba5608b5227696e00437543c0226ed04cae12d5 (diff) | |
download | openocd+libswd-ed9c4ef3c41ac21d0a08cb7e07ab68d0c7930138.tar.gz openocd+libswd-ed9c4ef3c41ac21d0a08cb7e07ab68d0c7930138.tar.bz2 openocd+libswd-ed9c4ef3c41ac21d0a08cb7e07ab68d0c7930138.tar.xz openocd+libswd-ed9c4ef3c41ac21d0a08cb7e07ab68d0c7930138.zip |
s3c24xx_nand_controller_t -> struct s3c24xx_nand_controller
Remove misleading typedef and redundant suffix from struct s3c24xx_nand_controller.
Diffstat (limited to 'src/flash/s3c2440_nand.c')
-rw-r--r-- | src/flash/s3c2440_nand.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/flash/s3c2440_nand.c b/src/flash/s3c2440_nand.c index 8c056878..40037c7f 100644 --- a/src/flash/s3c2440_nand.c +++ b/src/flash/s3c2440_nand.c @@ -33,7 +33,7 @@ NAND_DEVICE_COMMAND_HANDLER(s3c2440_nand_device_command) { - s3c24xx_nand_controller_t *info; + struct s3c24xx_nand_controller *info; CALL_S3C24XX_DEVICE_COMMAND(nand, &info); /* fill in the address fields for the core device */ @@ -47,7 +47,7 @@ NAND_DEVICE_COMMAND_HANDLER(s3c2440_nand_device_command) static int s3c2440_init(struct nand_device_s *nand) { - s3c24xx_nand_controller_t *s3c24xx_info = nand->controller_priv; + struct s3c24xx_nand_controller *s3c24xx_info = nand->controller_priv; target_t *target = s3c24xx_info->target; target_write_u32(target, S3C2410_NFCONF, @@ -63,7 +63,7 @@ static int s3c2440_init(struct nand_device_s *nand) int s3c2440_nand_ready(struct nand_device_s *nand, int timeout) { - s3c24xx_nand_controller_t *s3c24xx_info = nand->controller_priv; + struct s3c24xx_nand_controller *s3c24xx_info = nand->controller_priv; target_t *target = s3c24xx_info->target; uint8_t status; @@ -89,7 +89,7 @@ int s3c2440_nand_ready(struct nand_device_s *nand, int timeout) int s3c2440_read_block_data(struct nand_device_s *nand, uint8_t *data, int data_size) { - s3c24xx_nand_controller_t *s3c24xx_info = nand->controller_priv; + struct s3c24xx_nand_controller *s3c24xx_info = nand->controller_priv; target_t *target = s3c24xx_info->target; uint32_t nfdata = s3c24xx_info->data; uint32_t tmp; @@ -125,7 +125,7 @@ int s3c2440_read_block_data(struct nand_device_s *nand, uint8_t *data, int data_ int s3c2440_write_block_data(struct nand_device_s *nand, uint8_t *data, int data_size) { - s3c24xx_nand_controller_t *s3c24xx_info = nand->controller_priv; + struct s3c24xx_nand_controller *s3c24xx_info = nand->controller_priv; target_t *target = s3c24xx_info->target; uint32_t nfdata = s3c24xx_info->data; uint32_t tmp; |