
9 Jan
2024
9 Jan
'24
9:35 p.m.
On Tue, Jan 09, 2024 at 02:00:14PM -0600, Nishanth Menon wrote:
On 14:48-20240109, Tom Rini wrote: [...]
-- 2.34.1
Why not a config fragment?
To me, this makes sense to keep in the main config. It can be turned off as needed, and at run time if it's not present, it's safe.
Three reasons:
- There is going to be duplication across multiple boards
- It confuses the affair of trying to find the minimal configuration needed to boot the board.
- SRAM is limited already - we have been playing all kind of dances around this - NAND is a daughter card addon - while I am not trying to diminish NAND support, we are in a constant struggle to keep SRAM viable and adding additional boot modes to a single config, IMHO is the wrong direction to go.
At the end of the day, I'll leave it to TI folks. I see that drivers/mtd/Kconfig needs a whole lot of help as while I would have hoped that turning off just CONFIG_MTD would undo most of the changes here, it does not.
--
Tom