[PATCH] powerpc: pmac32: enable serial options by default in defconfig

Christophe Leroy christophe.leroy at csgroup.eu
Wed Aug 2 23:58:07 AEST 2023



Le 02/08/2023 à 15:41, Yuan Tan a écrit :
> [Vous ne recevez pas souvent de courriers de tanyuan at tinylab.org. Découvrez pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ]
> 
> Serial is a critical feature for logging and debuging, and the other
> architectures enable serial by default.
> 
> Let's enable CONFIG_SERIAL_PMACZILOG and CONFIG_SERIAL_PMACZILOG_CONSOLE
> by default.
> 
> Signed-off-by: Yuan Tan <tanyuan at tinylab.org>

Reviewed-by: Christophe Leroy <christophe.leroy at csgroup.eu>

> ---
>   arch/powerpc/configs/pmac32_defconfig | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/powerpc/configs/pmac32_defconfig b/arch/powerpc/configs/pmac32_defconfig
> index 019163c2571e..3aae79afb9d9 100644
> --- a/arch/powerpc/configs/pmac32_defconfig
> +++ b/arch/powerpc/configs/pmac32_defconfig
> @@ -176,8 +176,9 @@ CONFIG_MOUSE_APPLETOUCH=y
>   # CONFIG_SERIO_I8042 is not set
>   # CONFIG_SERIO_SERPORT is not set
>   CONFIG_SERIAL_8250=m
> -CONFIG_SERIAL_PMACZILOG=m
> +CONFIG_SERIAL_PMACZILOG=y
>   CONFIG_SERIAL_PMACZILOG_TTYS=y
> +CONFIG_SERIAL_PMACZILOG_CONSOLE=y
>   CONFIG_NVRAM=y
>   CONFIG_I2C_CHARDEV=m
>   CONFIG_APM_POWER=y
> --
> 2.34.1
> 


More information about the Linuxppc-dev mailing list