[U-Boot] [PATCH 3/3] mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD

Schrempf Frieder frieder.schrempf at kontron.de
Thu Sep 26 14:02:29 UTC 2019

On 14.09.19 00:44, Schrempf Frieder wrote:
> From: Frieder Schrempf <frieder.schrempf at kontron.de>
> Most boards currently use SPI_FLASH_MTD only in U-Boot proper, not in
> SPL. They often rely on hacks in the board header files to include
> this option conditionally. To be able to fix this, we previously
> introduced a separate option SPL_SPI_FLASH_MTD.
> Therefore we can now adjust the Makefile and change the code in
> sf_probe.c and sf_internal.h to use CONFIG_IS_ENABLED(SPI_FLASH_MTD).
> We also need to move all occurences of CONFIG_SPI_FLASH_MTD from the
> header files to the according defconfigs. The affected boards are
> socfpga, aristainetos, cm_fx6, display5, ventana, rcar-gen2, dh_imx6
> and da850evm.
> We do this all in one patch to guarantee bisectibility.
> This change was tested with buildman to make sure it does not
> introduce any regressions by comparing the resulting binary sizes.
> Signed-off-by: Frieder Schrempf <frieder.schrempf at kontron.de>

I don't know much about the U-Boot release cycle, so maybe these are 
stupid questions.

Jagan, I saw that these 3 patches are assigned to you. When will you 
pick them? For the current release, or the next one?

Do we still need an ack for patch 2/3 from the stm32mp maintainers?


More information about the U-Boot mailing list