diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2006-05-09 02:03:51 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-05-19 00:35:23 -0400 |
commit | 485a2d54dbc7cf939bd0c22daad74e2cf6f001d7 (patch) | |
tree | 4939a7b849faf8e0fc3f5069b7f696475845eaa9 /arch/powerpc/Kconfig.debug | |
parent | b26f100d89c87060b561c3108582b7cb81521df8 (diff) |
[PATCH] powerpc: Make early debugging options behave with oldconfig
If you undefine all the early debugging options and then run make oldconfig,
you don't get prompted to see if you want to enable any of them. This is
annoying.
AFAICT we can't do this just with a choice, because the choice is either
optional, in which case we don't get prompted, or not in which case we _must_
select early debugging.
So add a bool which controls whether we have early debugging at all, and then
if that's enabled provide the choice. The extra bool will actually be useful
in another patch I have lying around, so this is a win-win.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/Kconfig.debug')
-rw-r--r-- | arch/powerpc/Kconfig.debug | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/arch/powerpc/Kconfig.debug b/arch/powerpc/Kconfig.debug index 8d48e9e7162..c69006ae824 100644 --- a/arch/powerpc/Kconfig.debug +++ b/arch/powerpc/Kconfig.debug | |||
@@ -110,13 +110,16 @@ config SERIAL_TEXT_DEBUG | |||
110 | depends on 4xx || LOPEC || MV64X60 || PPLUS || PRPMC800 || \ | 110 | depends on 4xx || LOPEC || MV64X60 || PPLUS || PRPMC800 || \ |
111 | PPC_GEN550 || PPC_MPC52xx | 111 | PPC_GEN550 || PPC_MPC52xx |
112 | 112 | ||
113 | config PPC_EARLY_DEBUG | ||
114 | bool "Early debugging (dangerous)" | ||
115 | |||
113 | choice | 116 | choice |
114 | prompt "Early debugging (dangerous)" | 117 | prompt "Early debugging console" |
115 | bool | 118 | depends on PPC_EARLY_DEBUG |
116 | optional | ||
117 | help | 119 | help |
118 | Enable early debugging. Careful, if you enable debugging for the | 120 | Use the selected console for early debugging. Careful, if you |
119 | wrong type of machine your kernel _will not boot_. | 121 | enable debugging for the wrong type of machine your kernel |
122 | _will not boot_. | ||
120 | 123 | ||
121 | config PPC_EARLY_DEBUG_LPAR | 124 | config PPC_EARLY_DEBUG_LPAR |
122 | bool "LPAR HV Console" | 125 | bool "LPAR HV Console" |