aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-02-16 21:58:39 -0500
committerRalf Baechle <ralf@linux-mips.org>2007-02-19 20:26:41 -0500
commitcc8010771d04af571eb16bee258d51dc8b620f7f (patch)
tree8cc223bb3389b24654632b800f792017960f0016 /arch/mips
parent575d5e72aab57beb6d5fa2a7d66be9fc681a5e00 (diff)
[MIPS] Allow selection of KGDB only on platforms where it's supported.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/Kconfig14
-rw-r--r--arch/mips/Kconfig.debug5
2 files changed, 18 insertions, 1 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 46fa5ca9f5ac..c6f74f1c6398 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -144,6 +144,7 @@ config BASLER_EXCITE
144 select SYS_SUPPORTS_32BIT_KERNEL 144 select SYS_SUPPORTS_32BIT_KERNEL
145 select SYS_SUPPORTS_64BIT_KERNEL 145 select SYS_SUPPORTS_64BIT_KERNEL
146 select SYS_SUPPORTS_BIG_ENDIAN 146 select SYS_SUPPORTS_BIG_ENDIAN
147 select SYS_SUPPORTS_KGDB
147 help 148 help
148 The eXcite is a smart camera platform manufactured by 149 The eXcite is a smart camera platform manufactured by
149 Basler Vision Technologies AG 150 Basler Vision Technologies AG
@@ -210,6 +211,7 @@ config MIPS_EV64120
210 select SYS_SUPPORTS_32BIT_KERNEL 211 select SYS_SUPPORTS_32BIT_KERNEL
211 select SYS_SUPPORTS_64BIT_KERNEL 212 select SYS_SUPPORTS_64BIT_KERNEL
212 select SYS_SUPPORTS_BIG_ENDIAN 213 select SYS_SUPPORTS_BIG_ENDIAN
214 select SYS_SUPPORTS_KGDB
213 help 215 help
214 This is an evaluation board based on the Galileo GT-64120 216 This is an evaluation board based on the Galileo GT-64120
215 single-chip system controller that contains a MIPS R5000 compatible 217 single-chip system controller that contains a MIPS R5000 compatible
@@ -374,6 +376,7 @@ config MOMENCO_JAGUAR_ATX
374 select SYS_SUPPORTS_32BIT_KERNEL 376 select SYS_SUPPORTS_32BIT_KERNEL
375 select SYS_SUPPORTS_64BIT_KERNEL 377 select SYS_SUPPORTS_64BIT_KERNEL
376 select SYS_SUPPORTS_BIG_ENDIAN 378 select SYS_SUPPORTS_BIG_ENDIAN
379 select SYS_SUPPORTS_KGDB
377 help 380 help
378 The Jaguar ATX is a MIPS-based Single Board Computer (SBC) made by 381 The Jaguar ATX is a MIPS-based Single Board Computer (SBC) made by
379 Momentum Computer <http://www.momenco.com/>. 382 Momentum Computer <http://www.momenco.com/>.
@@ -391,6 +394,7 @@ config MOMENCO_OCELOT
391 select SYS_SUPPORTS_32BIT_KERNEL 394 select SYS_SUPPORTS_32BIT_KERNEL
392 select SYS_SUPPORTS_64BIT_KERNEL 395 select SYS_SUPPORTS_64BIT_KERNEL
393 select SYS_SUPPORTS_BIG_ENDIAN 396 select SYS_SUPPORTS_BIG_ENDIAN
397 select SYS_SUPPORTS_KGDB
394 help 398 help
395 The Ocelot is a MIPS-based Single Board Computer (SBC) made by 399 The Ocelot is a MIPS-based Single Board Computer (SBC) made by
396 Momentum Computer <http://www.momenco.com/>. 400 Momentum Computer <http://www.momenco.com/>.
@@ -480,6 +484,8 @@ config DDB5477
480 select SYS_HAS_CPU_R5432 484 select SYS_HAS_CPU_R5432
481 select SYS_SUPPORTS_32BIT_KERNEL 485 select SYS_SUPPORTS_32BIT_KERNEL
482 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL 486 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
487 select SYS_SUPPORTS_KGDB
488 select SYS_SUPPORTS_KGDB
483 select SYS_SUPPORTS_LITTLE_ENDIAN 489 select SYS_SUPPORTS_LITTLE_ENDIAN
484 help 490 help
485 This enables support for the R5432-based NEC DDB Vrc-5477, 491 This enables support for the R5432-based NEC DDB Vrc-5477,
@@ -508,6 +514,7 @@ config PMC_YOSEMITE
508 select SYS_SUPPORTS_64BIT_KERNEL 514 select SYS_SUPPORTS_64BIT_KERNEL
509 select SYS_SUPPORTS_BIG_ENDIAN 515 select SYS_SUPPORTS_BIG_ENDIAN
510 select SYS_SUPPORTS_HIGHMEM 516 select SYS_SUPPORTS_HIGHMEM
517 select SYS_SUPPORTS_KGDB
511 select SYS_SUPPORTS_SMP 518 select SYS_SUPPORTS_SMP
512 help 519 help
513 Yosemite is an evaluation board for the RM9000x2 processor 520 Yosemite is an evaluation board for the RM9000x2 processor
@@ -584,6 +591,7 @@ config SGI_IP27
584 select SYS_HAS_CPU_R10000 591 select SYS_HAS_CPU_R10000
585 select SYS_SUPPORTS_64BIT_KERNEL 592 select SYS_SUPPORTS_64BIT_KERNEL
586 select SYS_SUPPORTS_BIG_ENDIAN 593 select SYS_SUPPORTS_BIG_ENDIAN
594 select SYS_SUPPORTS_KGDB
587 select SYS_SUPPORTS_NUMA 595 select SYS_SUPPORTS_NUMA
588 select SYS_SUPPORTS_SMP 596 select SYS_SUPPORTS_SMP
589 select GENERIC_HARDIRQS_NO__DO_IRQ 597 select GENERIC_HARDIRQS_NO__DO_IRQ
@@ -633,6 +641,7 @@ config SIBYTE_SWARM
633 select SYS_HAS_CPU_SB1 641 select SYS_HAS_CPU_SB1
634 select SYS_SUPPORTS_BIG_ENDIAN 642 select SYS_SUPPORTS_BIG_ENDIAN
635 select SYS_SUPPORTS_HIGHMEM 643 select SYS_SUPPORTS_HIGHMEM
644 select SYS_SUPPORTS_KGDB
636 select SYS_SUPPORTS_LITTLE_ENDIAN 645 select SYS_SUPPORTS_LITTLE_ENDIAN
637 646
638config SIBYTE_SENTOSA 647config SIBYTE_SENTOSA
@@ -773,6 +782,7 @@ config TOSHIBA_RBTX4927
773 select SYS_SUPPORTS_64BIT_KERNEL 782 select SYS_SUPPORTS_64BIT_KERNEL
774 select SYS_SUPPORTS_LITTLE_ENDIAN 783 select SYS_SUPPORTS_LITTLE_ENDIAN
775 select SYS_SUPPORTS_BIG_ENDIAN 784 select SYS_SUPPORTS_BIG_ENDIAN
785 select SYS_SUPPORTS_KGDB
776 select TOSHIBA_BOARDS 786 select TOSHIBA_BOARDS
777 select GENERIC_HARDIRQS_NO__DO_IRQ 787 select GENERIC_HARDIRQS_NO__DO_IRQ
778 help 788 help
@@ -793,6 +803,7 @@ config TOSHIBA_RBTX4938
793 select SYS_SUPPORTS_32BIT_KERNEL 803 select SYS_SUPPORTS_32BIT_KERNEL
794 select SYS_SUPPORTS_LITTLE_ENDIAN 804 select SYS_SUPPORTS_LITTLE_ENDIAN
795 select SYS_SUPPORTS_BIG_ENDIAN 805 select SYS_SUPPORTS_BIG_ENDIAN
806 select SYS_SUPPORTS_KGDB
796 select TOSHIBA_BOARDS 807 select TOSHIBA_BOARDS
797 select GENERIC_HARDIRQS_NO__DO_IRQ 808 select GENERIC_HARDIRQS_NO__DO_IRQ
798 help 809 help
@@ -959,6 +970,7 @@ config IRQ_MV64340
959 970
960config DDB5XXX_COMMON 971config DDB5XXX_COMMON
961 bool 972 bool
973 select SYS_SUPPORTS_KGDB
962 974
963config MIPS_BOARDS_GEN 975config MIPS_BOARDS_GEN
964 bool 976 bool
@@ -1007,6 +1019,7 @@ config SOC_AU1X00
1007 select SYS_HAS_CPU_MIPS32_R1 1019 select SYS_HAS_CPU_MIPS32_R1
1008 select SYS_SUPPORTS_32BIT_KERNEL 1020 select SYS_SUPPORTS_32BIT_KERNEL
1009 select SYS_SUPPORTS_APM_EMULATION 1021 select SYS_SUPPORTS_APM_EMULATION
1022 select SYS_SUPPORTS_KGDB
1010 1023
1011config PNX8550 1024config PNX8550
1012 bool 1025 bool
@@ -1019,6 +1032,7 @@ config SOC_PNX8550
1019 select SYS_HAS_CPU_MIPS32_R1 1032 select SYS_HAS_CPU_MIPS32_R1
1020 select SYS_SUPPORTS_32BIT_KERNEL 1033 select SYS_SUPPORTS_32BIT_KERNEL
1021 select GENERIC_HARDIRQS_NO__DO_IRQ 1034 select GENERIC_HARDIRQS_NO__DO_IRQ
1035 select SYS_SUPPORTS_KGDB
1022 1036
1023config SWAP_IO_SPACE 1037config SWAP_IO_SPACE
1024 bool 1038 bool
diff --git a/arch/mips/Kconfig.debug b/arch/mips/Kconfig.debug
index 9351f1c04a9d..d5e60a0c1ded 100644
--- a/arch/mips/Kconfig.debug
+++ b/arch/mips/Kconfig.debug
@@ -39,7 +39,7 @@ config DEBUG_STACK_USAGE
39 39
40config KGDB 40config KGDB
41 bool "Remote GDB kernel debugging" 41 bool "Remote GDB kernel debugging"
42 depends on DEBUG_KERNEL 42 depends on DEBUG_KERNEL && SYS_SUPPORTS_KGDB
43 select DEBUG_INFO 43 select DEBUG_INFO
44 help 44 help
45 If you say Y here, it will be possible to remotely debug the MIPS 45 If you say Y here, it will be possible to remotely debug the MIPS
@@ -48,6 +48,9 @@ config KGDB
48 better 32 MB RAM to avoid excessive linking time. This is only 48 better 32 MB RAM to avoid excessive linking time. This is only
49 useful for kernel hackers. If unsure, say N. 49 useful for kernel hackers. If unsure, say N.
50 50
51config SYS_SUPPORTS_KGDB
52 bool
53
51config GDB_CONSOLE 54config GDB_CONSOLE
52 bool "Console output to GDB" 55 bool "Console output to GDB"
53 depends on KGDB 56 depends on KGDB