[U-Boot] [PATCH] treewide: Replace CONFIG_DM_SPI_FLASH with CONFIG_IS_ENABLED(DM_SPI_FLASH)
Schrempf Frieder
frieder.schrempf at kontron.de
Mon Jul 1 08:06:41 UTC 2019
On 20.02.19 12:20, Marek Vasut wrote:
> 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.
>
It seems, that there's still no solution for this upstream. I tried to
build Marek's patch with a fixup on current master [1], but still the
build breaks for some configurations [2].
Can someone have a look, how to fix the failing boards?
Thanks,
Frieder
[1] https://github.com/fschrempf/u-boot/commits/non_dm_spi_flash_in_spl
[2] https://travis-ci.org/fschrempf/u-boot/builds/551244482
More information about the U-Boot
mailing list