Commit a1a6cc1d authored by Kukjin Kim's avatar Kukjin Kim Committed by Tejun Heo

ata: pata_samsung_cf: removes s5pc100 related ata codes

This patch removes support for s5pc100 ata because of no more support
S5PC100 SoC in mainline.
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent be64beb4
...@@ -54,7 +54,6 @@ ...@@ -54,7 +54,6 @@
enum s3c_cpu_type { enum s3c_cpu_type {
TYPE_S3C64XX, TYPE_S3C64XX,
TYPE_S5PC100,
TYPE_S5PV210, TYPE_S5PV210,
}; };
...@@ -476,10 +475,6 @@ static void pata_s3c_hwinit(struct s3c_ide_info *info, ...@@ -476,10 +475,6 @@ static void pata_s3c_hwinit(struct s3c_ide_info *info,
writel(0x1b, info->ide_addr + S3C_ATA_IRQ_MSK); writel(0x1b, info->ide_addr + S3C_ATA_IRQ_MSK);
break; break;
case TYPE_S5PC100:
pata_s3c_cfg_mode(info->sfr_addr);
/* FALLTHROUGH */
case TYPE_S5PV210: case TYPE_S5PV210:
/* Configure as little endian */ /* Configure as little endian */
pata_s3c_set_endian(info->ide_addr, 0); pata_s3c_set_endian(info->ide_addr, 0);
...@@ -549,11 +544,6 @@ static int __init pata_s3c_probe(struct platform_device *pdev) ...@@ -549,11 +544,6 @@ static int __init pata_s3c_probe(struct platform_device *pdev)
info->sfr_addr = info->ide_addr + 0x1800; info->sfr_addr = info->ide_addr + 0x1800;
info->ide_addr += 0x1900; info->ide_addr += 0x1900;
info->fifo_status_reg = 0x94; info->fifo_status_reg = 0x94;
} else if (cpu_type == TYPE_S5PC100) {
ap->ops = &pata_s5p_port_ops;
info->sfr_addr = info->ide_addr + 0x1800;
info->ide_addr += 0x1900;
info->fifo_status_reg = 0x84;
} else { } else {
ap->ops = &pata_s5p_port_ops; ap->ops = &pata_s5p_port_ops;
info->fifo_status_reg = 0x84; info->fifo_status_reg = 0x84;
...@@ -652,9 +642,6 @@ static struct platform_device_id pata_s3c_driver_ids[] = { ...@@ -652,9 +642,6 @@ static struct platform_device_id pata_s3c_driver_ids[] = {
{ {
.name = "s3c64xx-pata", .name = "s3c64xx-pata",
.driver_data = TYPE_S3C64XX, .driver_data = TYPE_S3C64XX,
}, {
.name = "s5pc100-pata",
.driver_data = TYPE_S5PC100,
}, { }, {
.name = "s5pv210-pata", .name = "s5pv210-pata",
.driver_data = TYPE_S5PV210, .driver_data = TYPE_S5PV210,
......
...@@ -29,7 +29,6 @@ extern void s3c_ide_set_platdata(struct s3c_ide_platdata *pdata); ...@@ -29,7 +29,6 @@ extern void s3c_ide_set_platdata(struct s3c_ide_platdata *pdata);
/* architecture-specific IDE configuration */ /* architecture-specific IDE configuration */
extern void s3c64xx_ide_setup_gpio(void); extern void s3c64xx_ide_setup_gpio(void);
extern void s5pc100_ide_setup_gpio(void);
extern void s5pv210_ide_setup_gpio(void); extern void s5pv210_ide_setup_gpio(void);
#endif /*__ATA_SAMSUNG_CF_H */ #endif /*__ATA_SAMSUNG_CF_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment