Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Tejun Heo <tj@kernel.org>

authored by

Kukjin Kim and committed by
Tejun Heo
a1a6cc1d be64beb4

-14
-13
drivers/ata/pata_samsung_cf.c
··· 54 54 55 55 enum s3c_cpu_type { 56 56 TYPE_S3C64XX, 57 - TYPE_S5PC100, 58 57 TYPE_S5PV210, 59 58 }; 60 59 ··· 475 476 writel(0x1b, info->ide_addr + S3C_ATA_IRQ_MSK); 476 477 break; 477 478 478 - case TYPE_S5PC100: 479 - pata_s3c_cfg_mode(info->sfr_addr); 480 - /* FALLTHROUGH */ 481 - 482 479 case TYPE_S5PV210: 483 480 /* Configure as little endian */ 484 481 pata_s3c_set_endian(info->ide_addr, 0); ··· 544 549 info->sfr_addr = info->ide_addr + 0x1800; 545 550 info->ide_addr += 0x1900; 546 551 info->fifo_status_reg = 0x94; 547 - } else if (cpu_type == TYPE_S5PC100) { 548 - ap->ops = &pata_s5p_port_ops; 549 - info->sfr_addr = info->ide_addr + 0x1800; 550 - info->ide_addr += 0x1900; 551 - info->fifo_status_reg = 0x84; 552 552 } else { 553 553 ap->ops = &pata_s5p_port_ops; 554 554 info->fifo_status_reg = 0x84; ··· 642 652 { 643 653 .name = "s3c64xx-pata", 644 654 .driver_data = TYPE_S3C64XX, 645 - }, { 646 - .name = "s5pc100-pata", 647 - .driver_data = TYPE_S5PC100, 648 655 }, { 649 656 .name = "s5pv210-pata", 650 657 .driver_data = TYPE_S5PV210,
-1
include/linux/platform_data/ata-samsung_cf.h
··· 29 29 30 30 /* architecture-specific IDE configuration */ 31 31 extern void s3c64xx_ide_setup_gpio(void); 32 - extern void s5pc100_ide_setup_gpio(void); 33 32 extern void s5pv210_ide_setup_gpio(void); 34 33 35 34 #endif /*__ATA_SAMSUNG_CF_H */