[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <c48b7e84-5287-4da0-84a0-7747581f49d0@app.fastmail.com>
Date: Fri, 20 Dec 2024 18:06:44 +0100
From: "Arnd Bergmann" <arnd@...db.de>
To: "Patrice Chotard" <patrice.chotard@...s.st.com>,
"Olof Johansson" <olof@...om.net>,
"Alexandre Torgue" <alexandre.torgue@...s.st.com>,
"Russell King" <linux@...linux.org.uk>,
"Maxime Coquelin" <mcoquelin.stm32@...il.com>,
"Petr Mladek" <pmladek@...e.com>, "Yoann Congal" <yoann.congal@...le.fr>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com, soc@...nel.org
Subject: Re: [PATCH v2 4/4] ARM: configs: stm32: Remove useless flags in STM32
defconfig
On Fri, Dec 20, 2024, at 13:55, patrice.chotard@...s.st.com wrote:
> From: Patrice Chotard <patrice.chotard@...s.st.com>
>
> 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.
Out of curiosity, what is the smallest memory configuration that
you see people using on stm32f7/h7 these days? I know we had
configs that kind-of worked on 2MB in the past, but I assume there
has been a lot of bloat since.
Arnd
Powered by blists - more mailing lists