From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vignesh R Date: Mon, 25 Apr 2016 16:29:57 +0530 Subject: [U-Boot] [PATCH v2 03/12] keystone2: spi: do not define DM_SPI and DM_SPI_FLASH for SPL build In-Reply-To: <1461582006-2065-1-git-send-email-vigneshr@ti.com> References: <1461582006-2065-1-git-send-email-vigneshr@ti.com> Message-ID: <1461582006-2065-4-git-send-email-vigneshr@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Since Keystone2 devices do not have support DM in SPL, do not define DM_SPI and DM_SPI_FLASH for SPL build. Signed-off-by: Vignesh R Reviewed-by: Tom Rini --- include/configs/ti_armv7_keystone2.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/configs/ti_armv7_keystone2.h b/include/configs/ti_armv7_keystone2.h index be3c29955f20..474f61a619fc 100644 --- a/include/configs/ti_armv7_keystone2.h +++ b/include/configs/ti_armv7_keystone2.h @@ -89,6 +89,10 @@ #define CONFIG_SYS_SPI2 #define CONFIG_SYS_SPI2_BASE KS2_SPI2_BASE #define CONFIG_SYS_SPI2_NUM_CS 4 +#ifdef CONFIG_SPL_BUILD +#undef CONFIG_DM_SPI +#undef CONFIG_DM_SPI_FLASH +#endif /* Network Configuration */ #define CONFIG_PHYLIB -- 2.8.1