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 |
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.
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
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