diff mbox series

[1/2] MIPS: Alchemy: Enable PATA_PLATFORM support

Message ID alpine.DEB.2.21.2306011331530.59991@angie.orcam.me.uk (mailing list archive)
State Accepted
Commit 70278d1d589f9feda6fdd97e66e1e1603992715d
Headers show
Series MIPS: Fix recent clutter with PATA_PLATFORM | expand

Commit Message

Maciej W. Rozycki June 1, 2023, 12:56 p.m. UTC
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>
---
 arch/mips/alchemy/Kconfig |    1 +
 1 file changed, 1 insertion(+)

linux-mips-alchemy-pata-platform.diff

Comments

Thomas Bogendoerfer June 9, 2023, 8:21 a.m. UTC | #1
On Thu, Jun 01, 2023 at 01:56:19PM +0100, Maciej W. Rozycki wrote:
> 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>
> ---
>  arch/mips/alchemy/Kconfig |    1 +
>  1 file changed, 1 insertion(+)
> 
> linux-mips-alchemy-pata-platform.diff
> Index: linux-macro/arch/mips/alchemy/Kconfig
> ===================================================================
> --- linux-macro.orig/arch/mips/alchemy/Kconfig
> +++ linux-macro/arch/mips/alchemy/Kconfig
> @@ -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

applied to mips-next.

Thomas.
diff mbox series

Patch

Index: linux-macro/arch/mips/alchemy/Kconfig
===================================================================
--- linux-macro.orig/arch/mips/alchemy/Kconfig
+++ linux-macro/arch/mips/alchemy/Kconfig
@@ -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