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