MIPS: Alchemy: Enable PATA_PLATFORM support
authorMaciej W. Rozycki <macro@orcam.me.uk>
Thu, 1 Jun 2023 12:56:19 +0000 (13:56 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 9 Jun 2023 07:53:11 +0000 (09:53 +0200)
We have limited demand for platform PATA support across MIPS platforms:

$ find arch/mips -type f | sort | xargs grep -l pata_platform_info
arch/mips/alchemy/devboards/db1200.c
arch/mips/alchemy/devboards/db1300.c
arch/mips/sibyte/swarm/platform.c
$

certainly not high enough to justify enabling support for PATA_PLATFORM
port-wide.  SiByte platforms are handled selectively already, so just
make a similar arrangement for Alchemy DB1XXX platforms.

Signed-off-by: Maciej W. Rozycki <macro@orcam.me.uk>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/alchemy/Kconfig

index 6973412..6ca81e1 100644 (file)
@@ -14,6 +14,7 @@ config MIPS_DB1XXX
        bool "Alchemy DB1XXX / PB1XXX boards"
        select GPIOLIB
        select HAVE_PCI
+       select HAVE_PATA_PLATFORM
        select SYS_SUPPORTS_LITTLE_ENDIAN
        select SYS_HAS_EARLY_PRINTK
        help