
21 Dec
2017
21 Dec
'17
4:33 p.m.
On 21/12/2017 15:52, Tom Rini wrote:
On Thu, Dec 21, 2017 at 09:46:36AM -0500, Tom Rini wrote:
On Thu, Dec 21, 2017 at 12:53:52PM +0100, Jean-Jacques Hiblot wrote:
This allows using CONFIG_IS_ENABLED(MMC_WRITE) to compile out code needed only if write support is required. The option is added for u-boot and for the SPL
"for SPL".
[snip]
+config SPL_MMC_WRITE
- bool "MMC/SD/SDIO card support for write operations in SPL"
- depends on SPL_MMC_SUPPORT
- help
Enable write access to MMC and SD Cards in SPL
This should be default n.
Actually, even with that, oops, no code is being dropped out.
The SPL_MMC_WRITE option will be used in the next patches to compile out part of the code. I deliberately choose to split the series in a lot of small patches to ease the reviews but the big part of the reduction come in the next patches
JJ