
12 Feb
2018
12 Feb
'18
5:46 p.m.
On Mon, Feb 12, 2018 at 03:54:13PM +0100, Marek Vasut wrote:
On 02/12/2018 03:52 PM, Simon Goldschmidt wrote:
In arch/arm/Kconfig, ARCH_SOCFPGA currently selects some thins for spi flash and mmc that are not required by the hw.
things ?
what hw, all supported boards you mean ?
Give users more freedom of choice and use imply here instead of select.
This should allow disabling spi support completely or using sd/mmc boot in "raw mode" (no partitions).
You can just turn them off in the defconfigs, but I get what you're trying to say.
Well, hold on. If you have select FOO under ARCH_xxx then you can't disable it. You have to use imply FOO under ARCH_xxx so that it's turned on by default but a board can disable it in their defconfig. Thanks!
--
Tom