Commit 23697760 authored by Michael Ellerman's avatar Michael Ellerman

powerpc/pseries: HVC early debug options should depend on HVC_CONSOLE

The pseries HVC early debug options, CONFIG_PPC_EARLY_DEBUG_LPAR and
CONFIG_PPC_EARLY_DEBUG_LPAR_HVSI both require code that is part of the
hvc driver. If we turn them on but not CONFIG_HVC_CONSOLE then we get:

  arch/powerpc/kernel/built-in.o: In function `.udbg_early_init':
  arch/powerpc/kernel/built-in.o:(.debug_addr+0x9a00): undefined reference to `udbg_init_debug_lpar'

Similarly for HVSI. So make them both depend on CONFIG_HVC_CONSOLE.
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 6bcb8014
...@@ -149,14 +149,14 @@ config PPC_EARLY_DEBUG_BOOTX ...@@ -149,14 +149,14 @@ config PPC_EARLY_DEBUG_BOOTX
config PPC_EARLY_DEBUG_LPAR config PPC_EARLY_DEBUG_LPAR
bool "LPAR HV Console" bool "LPAR HV Console"
depends on PPC_PSERIES depends on PPC_PSERIES && HVC_CONSOLE
help help
Select this to enable early debugging for a machine with a HVC Select this to enable early debugging for a machine with a HVC
console on vterm 0. console on vterm 0.
config PPC_EARLY_DEBUG_LPAR_HVSI config PPC_EARLY_DEBUG_LPAR_HVSI
bool "LPAR HVSI Console" bool "LPAR HVSI Console"
depends on PPC_PSERIES depends on PPC_PSERIES && HVC_CONSOLE
help help
Select this to enable early debugging for a machine with a HVSI Select this to enable early debugging for a machine with a HVSI
console on a specified vterm. console on a specified vterm.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment