From: Mark Brown Date: Mon, 6 Mar 2023 15:34:21 +0000 (+0000) Subject: arm64: virtconfig: Further shrink the config X-Git-Tag: v6.6.7~3036^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7bf891434919ae1492bb583dba349e895c818255;p=platform%2Fkernel%2Flinux-starfive.git arm64: virtconfig: Further shrink the config After disabling platform support there's still some more pruning we can do to the virtconfig size, there are a number of drivers and subsystems which are not likely to be useful on mach-virt and so can be disabled in order to further improve build times. Let's do so, noting that having PCI device assignment means that PCI devices might potentially appear. This is just an initial manual passthrough, there will be further savings available especially if we take a much more focused approach. Signed-off-by: Mark Brown Link: https://lore.kernel.org/r/20230221-arm64-virtconfig-slim-v1-1-604b64be7ec3@kernel.org Signed-off-by: Arnd Bergmann --- diff --git a/arch/arm64/configs/virt.config b/arch/arm64/configs/virt.config index 6ef0a73..6865d54 100644 --- a/arch/arm64/configs/virt.config +++ b/arch/arm64/configs/virt.config @@ -1,3 +1,7 @@ +# +# Base options for platforms +# + # CONFIG_ARCH_ACTIONS is not set # CONFIG_ARCH_SUNXI is not set # CONFIG_ARCH_ALPINE is not set @@ -37,3 +41,20 @@ # CONFIG_ARCH_VISCONTI is not set # CONFIG_ARCH_XGENE is not set # CONFIG_ARCH_ZYNQMP is not set + +# +# Subsystems which can't be used in mach-virt +# +# CONFIG_CHROME_PLATFORMS is not set +# CONFIG_EXTCON is not set +# CONFIG_IIO is not set +# CONFIG_MTD is not set +# CONFIG_NEW_LEDS is not set +# CONFIG_PWM is not set +# CONFIG_REGULATOR is not set +# CONFIG_SLIMBUS is not set +# CONFIG_SND_SOC is not set +# CONFIG_SOUNDWIRE is not set +# CONFIG_SPI is not set +# CONFIG_SURFACE_PLATFORMS is not set +# CONFIG_THERMAL is not set