[PATCH] powerpc: Add support for early debugging via Serial 16550 console
Pali Rohár
pali at kernel.org
Tue Aug 23 01:28:52 AEST 2022
On Monday 22 August 2022 14:13:30 Christophe Leroy wrote:
> >> CONFIG_PPC_EARLY_DEBUG_16550=y
> >> # CONFIG_PPC_EARLY_DEBUG_MEMCONS is not set
> >> CONFIG_PPC_EARLY_DEBUG_16550_PHYSADDR=
> >> CONFIG_PPC_EARLY_DEBUG_16550_STRIDE=1
> >>
> >> which then causes a kconfig prompt when starting
> >> the build...
> >
> > Cannot we set somehow that PPC_EARLY_DEBUG_16550 would be disabled by
> > default when upgrading defconfig?
>
> The only solution I see is to put it at the end of the list, so that the
> previous default value which is PPC_EARLY_DEBUG_MEMCONS gets selected.
Does it work for all cases? If yes, then it looks like an elegant solution.
More information about the Linuxppc-dev
mailing list