xref: /OK3568_Linux_fs/kernel/arch/alpha/Kconfig.debug (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0
2*4882a593Smuzhiyun
3*4882a593Smuzhiyunconfig EARLY_PRINTK
4*4882a593Smuzhiyun	bool
5*4882a593Smuzhiyun	depends on ALPHA_GENERIC || ALPHA_SRM
6*4882a593Smuzhiyun	default y
7*4882a593Smuzhiyun
8*4882a593Smuzhiyunconfig ALPHA_LEGACY_START_ADDRESS
9*4882a593Smuzhiyun	bool "Legacy kernel start address"
10*4882a593Smuzhiyun	depends on ALPHA_GENERIC
11*4882a593Smuzhiyun	default n
12*4882a593Smuzhiyun	help
13*4882a593Smuzhiyun	  The 2.4 kernel changed the kernel start address from 0x310000
14*4882a593Smuzhiyun	  to 0x810000 to make room for the Wildfire's larger SRM console.
15*4882a593Smuzhiyun	  Recent consoles on Titan and Marvel machines also require the
16*4882a593Smuzhiyun	  extra room.
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun	  If you're using aboot 0.7 or later, the bootloader will examine the
19*4882a593Smuzhiyun	  ELF headers to determine where to transfer control. Unfortunately,
20*4882a593Smuzhiyun	  most older bootloaders -- APB or MILO -- hardcoded the kernel start
21*4882a593Smuzhiyun	  address rather than examining the ELF headers, and the result is a
22*4882a593Smuzhiyun	  hard lockup.
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun	  Say Y if you have a broken bootloader.  Say N if you do not, or if
25*4882a593Smuzhiyun	  you wish to run on Wildfire, Titan, or Marvel.
26*4882a593Smuzhiyun
27*4882a593Smuzhiyunconfig ALPHA_LEGACY_START_ADDRESS
28*4882a593Smuzhiyun	bool
29*4882a593Smuzhiyun	depends on !ALPHA_GENERIC && !ALPHA_TITAN && !ALPHA_MARVEL && !ALPHA_WILDFIRE
30*4882a593Smuzhiyun	default y
31*4882a593Smuzhiyun
32*4882a593Smuzhiyunconfig MATHEMU
33*4882a593Smuzhiyun	tristate "Kernel FP software completion" if DEBUG_KERNEL && !SMP
34*4882a593Smuzhiyun	default y if !DEBUG_KERNEL || SMP
35*4882a593Smuzhiyun	help
36*4882a593Smuzhiyun	  This option is required for IEEE compliant floating point arithmetic
37*4882a593Smuzhiyun	  on the Alpha. The only time you would ever not say Y is to say M in
38*4882a593Smuzhiyun	  order to debug the code. Say Y unless you know what you are doing.
39