From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Wed, 3 Feb 2021 23:27:37 +0100 Subject: [PATCH] ARM: imx: Revert "dh_imx6: Switch to full DM-aware" In-Reply-To: <20210203214524.GU10169@bill-the-cat> References: <20210203213633.59145-1-marex@denx.de> <20210203214524.GU10169@bill-the-cat> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.