ARM: configs: stm32: Remove useless flags in STM32 defconfig
authorPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 20 Dec 2024 12:55:06 +0000 (13:55 +0100)
committerArnd Bergmann <arnd@arndb.de>
Wed, 15 Jan 2025 14:00:19 +0000 (15:00 +0100)
commit90d96a1227488766332ba23f55e3aa755d13b242
tree738423bf520fc1cf2d0ffe902d379e21490811dd
parentc1bfeadfd8a230c01d66d5a891011535bacb76ae
ARM: configs: stm32: Remove useless flags in STM32 defconfig

As stm32_defconfig is dedicated to STM32 MCUs, disable
CONFIG_COMMON_CLK_STM32MP flag which is only used by STM32 MPUs.

Disable CONFIG_SUSPEND, CONFIG_ADVISE_SYSCALLS, CONFIG_IO_URING
CONFIG_POSIX_TIMERS, CONFIG_GCC_PLUGINS, it will reduce the kernel
image size for these platforms which embed a low amount of memory.

Tested on STM32F746-DISCO board which embeds 8MB of memory.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20241220125506.3157268-5-patrice.chotard@foss.st.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/configs/stm32_defconfig