[PATCH] ARM: imx: Revert "dh_imx6: Switch to full DM-aware"

Marek Vasut marex at denx.de
Wed Feb 3 23:27:37 CET 2021


On 2/3/21 10:45 PM, Tom Rini wrote:

[...]

>> diff --git a/include/configs/dh_imx6.h b/include/configs/dh_imx6.h
>> index fce5b0dd451..6c7c7171a4a 100644
>> --- a/include/configs/dh_imx6.h
>> +++ b/include/configs/dh_imx6.h
>> @@ -52,6 +52,12 @@
>>   /* SATA Configs */
>>   #define CONFIG_LBA48
>>   
>> +/* SPI Flash Configs */
>> +#if defined(CONFIG_SPL_BUILD)
>> +#undef CONFIG_DM_SPI
>> +#undef CONFIG_DM_SPI_FLASH
>> +#endif
> 
> Is this hunk needed since there is both CONFIG_SPL_DM_SPI{_FLASH,} and
> CONFIG_DM_SPI{_FLASH,} ?

Yes, we want to disable this only in SPL, not in U-Boot.


More information about the U-Boot mailing list