Re: [PATCH 1/2] arm64: change ARCH_SPRD Kconfig to tristate

From: Geert Uytterhoeven
Date: Mon Mar 09 2020 - 04:03:23 EST


Hi Chunyan.

On Thu, Mar 5, 2020 at 11:33 AM Chunyan Zhang <zhang.lyra@xxxxxxxxx> wrote:
> From: Chunyan Zhang <chunyan.zhang@xxxxxxxxxx>
>
> The default value of Kconfig for almost all sprd drivers are the same with
> ARCH_SPRD, making these drivers built as modules as default would be easier
> if we can set ARCH_SPRD as 'm', so this patch change ARCH_SPRD to tristate.
>
> Signed-off-by: Chunyan Zhang <chunyan.zhang@xxxxxxxxxx>

Can you actually boot a kernel on a Spreadtrum platform when all platform
and driver support is modular?

> +++ b/arch/arm64/Kconfig.platforms
> @@ -249,7 +249,7 @@ config ARCH_TEGRA
> This enables support for the NVIDIA Tegra SoC family.
>
> config ARCH_SPRD
> - bool "Spreadtrum SoC platform"
> + tristate "Spreadtrum SoC platform"
> help
> Support for Spreadtrum ARM based SoCs

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds