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

MIPS: Kconfig: always select ARC_MEMORY and ARC_PROMLIB for platform

Instead of having a default y option with depends simply select
options for the platforms where they are needed.

Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org

authored by

Thomas Bogendoerfer and committed by
Paul Burton
39b2d756 ce6c0a59

+8 -4
+8 -4
arch/mips/Kconfig
··· 360 360 361 361 config MACH_JAZZ 362 362 bool "Jazz family of machines" 363 + select ARC_MEMORY 364 + select ARC_PROMLIB 363 365 select ARCH_MIGHT_HAVE_PC_PARPORT 364 366 select ARCH_MIGHT_HAVE_PC_SERIO 365 367 select FW_ARC ··· 634 632 635 633 config SGI_IP22 636 634 bool "SGI IP22 (Indy/Indigo2)" 635 + select ARC_PROMLIB 637 636 select FW_ARC 638 637 select FW_ARC32 639 638 select ARCH_MIGHT_HAVE_PC_SERIO ··· 703 700 704 701 config SGI_IP28 705 702 bool "SGI IP28 (Indigo2 R10k)" 703 + select ARC_PROMLIB 706 704 select FW_ARC 707 705 select FW_ARC64 708 706 select ARCH_MIGHT_HAVE_PC_SERIO ··· 742 738 743 739 config SGI_IP32 744 740 bool "SGI IP32 (O2)" 741 + select ARC_MEMORY 742 + select ARC_PROMLIB 745 743 select ARCH_HAS_PHYS_TO_DMA 746 744 select FW_ARC 747 745 select FW_ARC32 ··· 851 845 852 846 config SNI_RM 853 847 bool "SNI RM200/300/400" 848 + select ARC_MEMORY 849 + select ARC_PROMLIB 854 850 select FW_ARC if CPU_LITTLE_ENDIAN 855 851 select FW_ARC32 if CPU_LITTLE_ENDIAN 856 852 select FW_SNIPROM if CPU_BIG_ENDIAN ··· 1369 1361 1370 1362 config ARC_MEMORY 1371 1363 bool 1372 - depends on MACH_JAZZ || SNI_RM || SGI_IP32 1373 - default y 1374 1364 1375 1365 config ARC_PROMLIB 1376 1366 bool 1377 - depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32 1378 - default y 1379 1367 1380 1368 config FW_ARC64 1381 1369 bool