diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-03-01 06:56:43 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-03-04 14:02:37 -0500 |
commit | 36a885306fdf7bb557c773309c993bfb2d0d693c (patch) | |
tree | 643b246c90653c9451ff7fecff74a79c3de8042c /arch/mips/Kconfig | |
parent | ca471c86043f4a8b01cba02ba2d3431fddcaf606 (diff) |
[MIPS] Fix and cleanup the mess that a dozen prom_printf variants are.
early_printk is a so much saner thing.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 31 |
1 files changed, 28 insertions, 3 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index e7e880b87456..4ec2dd5455f3 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -176,7 +176,7 @@ config MACH_DECSTATION | |||
176 | bool "DECstations" | 176 | bool "DECstations" |
177 | select BOOT_ELF32 | 177 | select BOOT_ELF32 |
178 | select DMA_NONCOHERENT | 178 | select DMA_NONCOHERENT |
179 | select EARLY_PRINTK | 179 | select SYS_HAS_EARLY_PRINTK |
180 | select IRQ_CPU | 180 | select IRQ_CPU |
181 | select SYS_HAS_CPU_R3000 | 181 | select SYS_HAS_CPU_R3000 |
182 | select SYS_HAS_CPU_R4X00 | 182 | select SYS_HAS_CPU_R4X00 |
@@ -242,6 +242,7 @@ config MACH_JAZZ | |||
242 | config LASAT | 242 | config LASAT |
243 | bool "LASAT Networks platforms" | 243 | bool "LASAT Networks platforms" |
244 | select DMA_NONCOHERENT | 244 | select DMA_NONCOHERENT |
245 | select SYS_HAS_EARLY_PRINTK | ||
245 | select HW_HAS_PCI | 246 | select HW_HAS_PCI |
246 | select MIPS_GT64120 | 247 | select MIPS_GT64120 |
247 | select MIPS_NILE4 | 248 | select MIPS_NILE4 |
@@ -256,6 +257,7 @@ config MIPS_ATLAS | |||
256 | bool "MIPS Atlas board" | 257 | bool "MIPS Atlas board" |
257 | select BOOT_ELF32 | 258 | select BOOT_ELF32 |
258 | select DMA_NONCOHERENT | 259 | select DMA_NONCOHERENT |
260 | select SYS_HAS_EARLY_PRINTK | ||
259 | select IRQ_CPU | 261 | select IRQ_CPU |
260 | select HW_HAS_PCI | 262 | select HW_HAS_PCI |
261 | select MIPS_BOARDS_GEN | 263 | select MIPS_BOARDS_GEN |
@@ -301,6 +303,7 @@ config MIPS_MALTA | |||
301 | select SYS_HAS_CPU_MIPS64_R1 | 303 | select SYS_HAS_CPU_MIPS64_R1 |
302 | select SYS_HAS_CPU_NEVADA | 304 | select SYS_HAS_CPU_NEVADA |
303 | select SYS_HAS_CPU_RM7000 | 305 | select SYS_HAS_CPU_RM7000 |
306 | select SYS_HAS_EARLY_PRINTK | ||
304 | select SYS_SUPPORTS_32BIT_KERNEL | 307 | select SYS_SUPPORTS_32BIT_KERNEL |
305 | select SYS_SUPPORTS_64BIT_KERNEL | 308 | select SYS_SUPPORTS_64BIT_KERNEL |
306 | select SYS_SUPPORTS_BIG_ENDIAN | 309 | select SYS_SUPPORTS_BIG_ENDIAN |
@@ -316,6 +319,7 @@ config MIPS_SEAD | |||
316 | depends on EXPERIMENTAL | 319 | depends on EXPERIMENTAL |
317 | select IRQ_CPU | 320 | select IRQ_CPU |
318 | select DMA_NONCOHERENT | 321 | select DMA_NONCOHERENT |
322 | select SYS_HAS_EARLY_PRINTK | ||
319 | select MIPS_BOARDS_GEN | 323 | select MIPS_BOARDS_GEN |
320 | select SYS_HAS_CPU_MIPS32_R1 | 324 | select SYS_HAS_CPU_MIPS32_R1 |
321 | select SYS_HAS_CPU_MIPS32_R2 | 325 | select SYS_HAS_CPU_MIPS32_R2 |
@@ -353,9 +357,11 @@ config WR_PPMC | |||
353 | config MIPS_SIM | 357 | config MIPS_SIM |
354 | bool 'MIPS simulator (MIPSsim)' | 358 | bool 'MIPS simulator (MIPSsim)' |
355 | select DMA_NONCOHERENT | 359 | select DMA_NONCOHERENT |
360 | select SYS_HAS_EARLY_PRINTK | ||
356 | select IRQ_CPU | 361 | select IRQ_CPU |
357 | select SYS_HAS_CPU_MIPS32_R1 | 362 | select SYS_HAS_CPU_MIPS32_R1 |
358 | select SYS_HAS_CPU_MIPS32_R2 | 363 | select SYS_HAS_CPU_MIPS32_R2 |
364 | select SYS_HAS_EARLY_PRINTK | ||
359 | select SYS_SUPPORTS_32BIT_KERNEL | 365 | select SYS_SUPPORTS_32BIT_KERNEL |
360 | select SYS_SUPPORTS_BIG_ENDIAN | 366 | select SYS_SUPPORTS_BIG_ENDIAN |
361 | select SYS_SUPPORTS_LITTLE_ENDIAN | 367 | select SYS_SUPPORTS_LITTLE_ENDIAN |
@@ -376,6 +382,7 @@ config MOMENCO_JAGUAR_ATX | |||
376 | select RM7000_CPU_SCACHE | 382 | select RM7000_CPU_SCACHE |
377 | select SWAP_IO_SPACE | 383 | select SWAP_IO_SPACE |
378 | select SYS_HAS_CPU_RM9000 | 384 | select SYS_HAS_CPU_RM9000 |
385 | select SYS_HAS_EARLY_PRINTK | ||
379 | select SYS_SUPPORTS_32BIT_KERNEL | 386 | select SYS_SUPPORTS_32BIT_KERNEL |
380 | select SYS_SUPPORTS_64BIT_KERNEL | 387 | select SYS_SUPPORTS_64BIT_KERNEL |
381 | select SYS_SUPPORTS_BIG_ENDIAN | 388 | select SYS_SUPPORTS_BIG_ENDIAN |
@@ -513,6 +520,7 @@ config PMC_YOSEMITE | |||
513 | select IRQ_CPU_RM9K | 520 | select IRQ_CPU_RM9K |
514 | select SWAP_IO_SPACE | 521 | select SWAP_IO_SPACE |
515 | select SYS_HAS_CPU_RM9000 | 522 | select SYS_HAS_CPU_RM9000 |
523 | select SYS_HAS_EARLY_PRINTK | ||
516 | select SYS_SUPPORTS_32BIT_KERNEL | 524 | select SYS_SUPPORTS_32BIT_KERNEL |
517 | select SYS_SUPPORTS_64BIT_KERNEL | 525 | select SYS_SUPPORTS_64BIT_KERNEL |
518 | select SYS_SUPPORTS_BIG_ENDIAN | 526 | select SYS_SUPPORTS_BIG_ENDIAN |
@@ -573,6 +581,7 @@ config SGI_IP22 | |||
573 | select SWAP_IO_SPACE | 581 | select SWAP_IO_SPACE |
574 | select SYS_HAS_CPU_R4X00 | 582 | select SYS_HAS_CPU_R4X00 |
575 | select SYS_HAS_CPU_R5000 | 583 | select SYS_HAS_CPU_R5000 |
584 | select SYS_HAS_EARLY_PRINTK | ||
576 | select SYS_SUPPORTS_32BIT_KERNEL | 585 | select SYS_SUPPORTS_32BIT_KERNEL |
577 | select SYS_SUPPORTS_64BIT_KERNEL | 586 | select SYS_SUPPORTS_64BIT_KERNEL |
578 | select SYS_SUPPORTS_BIG_ENDIAN | 587 | select SYS_SUPPORTS_BIG_ENDIAN |
@@ -587,7 +596,7 @@ config SGI_IP27 | |||
587 | select ARC64 | 596 | select ARC64 |
588 | select BOOT_ELF64 | 597 | select BOOT_ELF64 |
589 | select DMA_IP27 | 598 | select DMA_IP27 |
590 | select EARLY_PRINTK | 599 | select SYS_HAS_EARLY_PRINTK |
591 | select HW_HAS_PCI | 600 | select HW_HAS_PCI |
592 | select NR_CPUS_DEFAULT_64 | 601 | select NR_CPUS_DEFAULT_64 |
593 | select PCI_DOMAINS | 602 | select PCI_DOMAINS |
@@ -749,6 +758,7 @@ config SNI_RM | |||
749 | select SYS_HAS_CPU_R5000 | 758 | select SYS_HAS_CPU_R5000 |
750 | select SYS_HAS_CPU_R10000 | 759 | select SYS_HAS_CPU_R10000 |
751 | select R5000_CPU_SCACHE | 760 | select R5000_CPU_SCACHE |
761 | select SYS_HAS_EARLY_PRINTK | ||
752 | select SYS_SUPPORTS_32BIT_KERNEL | 762 | select SYS_SUPPORTS_32BIT_KERNEL |
753 | select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL | 763 | select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL |
754 | select SYS_SUPPORTS_BIG_ENDIAN | 764 | select SYS_SUPPORTS_BIG_ENDIAN |
@@ -897,6 +907,20 @@ config DMA_NEED_PCI_MAP_STATE | |||
897 | bool | 907 | bool |
898 | 908 | ||
899 | config EARLY_PRINTK | 909 | config EARLY_PRINTK |
910 | bool "Early printk" if EMBEDDED && DEBUG_KERNEL | ||
911 | depends on SYS_HAS_EARLY_PRINTK | ||
912 | default y | ||
913 | help | ||
914 | This option enables special console drivers which allow the kernel | ||
915 | to print messages very early in the bootup process. | ||
916 | |||
917 | This is useful for kernel debugging when your machine crashes very | ||
918 | early before the console code is initialized. For normal operation | ||
919 | it is not recommended because it looks on some machines ugly and | ||
920 | oesn't cooperate with an X server. You should normally N here, | ||
921 | unless you want to debug such a crash. | ||
922 | |||
923 | config SYS_HAS_EARLY_PRINTK | ||
900 | bool | 924 | bool |
901 | 925 | ||
902 | config GENERIC_ISA_DMA | 926 | config GENERIC_ISA_DMA |
@@ -1033,6 +1057,7 @@ config SOC_PNX8550 | |||
1033 | select DMA_NONCOHERENT | 1057 | select DMA_NONCOHERENT |
1034 | select HW_HAS_PCI | 1058 | select HW_HAS_PCI |
1035 | select SYS_HAS_CPU_MIPS32_R1 | 1059 | select SYS_HAS_CPU_MIPS32_R1 |
1060 | select SYS_HAS_EARLY_PRINTK | ||
1036 | select SYS_SUPPORTS_32BIT_KERNEL | 1061 | select SYS_SUPPORTS_32BIT_KERNEL |
1037 | select GENERIC_HARDIRQS_NO__DO_IRQ | 1062 | select GENERIC_HARDIRQS_NO__DO_IRQ |
1038 | select SYS_SUPPORTS_KGDB | 1063 | select SYS_SUPPORTS_KGDB |
@@ -1093,7 +1118,7 @@ config HAVE_STD_PC_SERIAL_PORT | |||
1093 | 1118 | ||
1094 | config ARC_CONSOLE | 1119 | config ARC_CONSOLE |
1095 | bool "ARC console support" | 1120 | bool "ARC console support" |
1096 | depends on SGI_IP22 || SNI_RM | 1121 | depends on SGI_IP22 || (SNI_RM && CPU_LITTLE_ENDIAN) |
1097 | 1122 | ||
1098 | config ARC_MEMORY | 1123 | config ARC_MEMORY |
1099 | bool | 1124 | bool |