mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-31 16:38:31 +00:00 
			
		
		
		
	 0a26b1364f
			
		
	
	
		0a26b1364f
		
	
	
	
	
		
			
			32-bit CHRP machines are now supported only in arch/powerpc, as are all 64-bit PowerPC processors. This means that we don't use Open Firmware on any platform in arch/ppc any more. This makes PReP support a single-platform option like every other platform support option in arch/ppc now, thus CONFIG_PPC_MULTIPLATFORM is gone from arch/ppc. CONFIG_PPC_PREP is the option that selects PReP support and is generally what has replaced CONFIG_PPC_MULTIPLATFORM within arch/ppc. _machine is all but dead now, being #defined to 0. Updated Makefiles, comments and Kconfig options generally to reflect these changes. Signed-off-by: Paul Mackerras <paulus@samba.org>
		
			
				
	
	
		
			67 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			67 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| menu "Kernel hacking"
 | |
| 
 | |
| source "lib/Kconfig.debug"
 | |
| 
 | |
| config KGDB
 | |
| 	bool "Include kgdb kernel debugger"
 | |
| 	depends on DEBUG_KERNEL && (BROKEN || PPC_GEN550 || 4xx)
 | |
| 	select DEBUG_INFO
 | |
| 	help
 | |
| 	  Include in-kernel hooks for kgdb, the Linux kernel source level
 | |
| 	  debugger.  See <http://kgdb.sourceforge.net/> for more information.
 | |
| 	  Unless you are intending to debug the kernel, say N here.
 | |
| 
 | |
| choice
 | |
| 	prompt "Serial Port"
 | |
| 	depends on KGDB
 | |
| 	default KGDB_TTYS1
 | |
| 
 | |
| config KGDB_TTYS0
 | |
| 	bool "ttyS0"
 | |
| 
 | |
| config KGDB_TTYS1
 | |
| 	bool "ttyS1"
 | |
| 
 | |
| config KGDB_TTYS2
 | |
| 	bool "ttyS2"
 | |
| 
 | |
| config KGDB_TTYS3
 | |
| 	bool "ttyS3"
 | |
| 
 | |
| endchoice
 | |
| 
 | |
| config KGDB_CONSOLE
 | |
| 	bool "Enable serial console thru kgdb port"
 | |
| 	depends on KGDB && 8xx || CPM2
 | |
| 	help
 | |
| 	  If you enable this, all serial console messages will be sent
 | |
| 	  over the gdb stub.
 | |
| 	  If unsure, say N.
 | |
| 
 | |
| config XMON
 | |
| 	bool "Include xmon kernel debugger"
 | |
| 	depends on DEBUG_KERNEL
 | |
| 	help
 | |
| 	  Include in-kernel hooks for the xmon kernel monitor/debugger.
 | |
| 	  Unless you are intending to debug the kernel, say N here.
 | |
| 
 | |
| config BDI_SWITCH
 | |
| 	bool "Include BDI-2000 user context switcher"
 | |
| 	depends on DEBUG_KERNEL
 | |
| 	help
 | |
| 	  Include in-kernel support for the Abatron BDI2000 debugger.
 | |
| 	  Unless you are intending to debug the kernel with one of these
 | |
| 	  machines, say N here.
 | |
| 
 | |
| config SERIAL_TEXT_DEBUG
 | |
| 	bool "Support for early boot texts over serial port"
 | |
| 	depends on 4xx || LOPEC || MV64X60 || PPLUS || PRPMC800 || \
 | |
| 		PPC_GEN550 || PPC_MPC52xx
 | |
| 
 | |
| config PPC_OCP
 | |
| 	bool
 | |
| 	depends on IBM_OCP
 | |
| 	default y
 | |
| 
 | |
| endmenu
 |