
3 Feb
2021
3 Feb
'21
11:27 p.m.
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.