[U-Boot] [PATCH] treewide: Replace CONFIG_DM_SPI_FLASH with CONFIG_IS_ENABLED(DM_SPI_FLASH)

Marek Vasut marek.vasut at gmail.com
Wed Feb 20 11:20:46 UTC 2019


On 2/20/19 12:18 PM, Schrempf Frieder wrote:
> On 19.02.19 06:07, Marek Vasut wrote:
>> Perform the replacement to allow platforms use non-DM SPI flash access
>> in SPL/TPL. This is thus far needed on platforms with size constraints.
>>
>> Signed-off-by: Marek Vasut <marek.vasut+renesas at gmail.com>
>> Cc: Jagan Teki <jagan at openedev.com>
>> Cc: Vignesh R <vigneshr at ti.com>
> 
> I stumbled upon this issue when trying to build a non-DM SPL for imx 
> with SPI flash access. This fixes the build.
> 
> Reviewed-by: Frieder Schrempf <frieder.schrempf at kontron.de>
> Tested-by: Frieder Schrempf <frieder.schrempf at kontron.de>

This patch breaks x86 at least, so NAK.

-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list