[PATCH] mtd: spi-nor: Guard SPI_STACKED_PARALLEL with DM_SPI check

Marek Vasut marek.vasut at mailbox.org
Thu Oct 31 20:13:00 CET 2024


On 10/31/24 7:51 PM, Tom Rini wrote:
> On Thu, Oct 31, 2024 at 12:37:32PM -0600, Tom Rini wrote:
>> While we want to compile the SPI_STACKED_PARALLEL code everywhere we
>> can, it must first be guarded with an #if for DM_SPI as not all cases
>> where we have this code built, such as in SPL, will have the relevant
>> DM_SPI option enabled.
>>
>> Fixes: 43423cdc5dc1 ("mtd: spi-nor: Always build SPI_STACKED_PARALLEL code")
>> Signed-off-by: Tom Rini <trini at konsulko.com>
Reviewed-by: Marek Vasut <marek.vasut+renesas at mailbox.org>


More information about the U-Boot mailing list