From: Lokesh Vutla Date: Fri, 10 Feb 2017 19:06:31 +0530 Subject: [U-Boot] [PATCH v2 5/5] configs: dra7xx_evm: Enable SPL_DM In-Reply-To: <20170210033110.GW26129@bill-the-cat> References: <20170209040012.20324-1-lokeshvutla@ti.com> <20170209040012.20324-6-lokeshvutla@ti.com> <20170210033110.GW26129@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 Friday 10 February 2017 09:01 AM, Tom Rini wrote: > On Thu, Feb 09, 2017 at 09:30:12AM +0530, Lokesh Vutla wrote: > >> Enable SPL_DM on all DRA7 based platforms. >> >> Signed-off-by: Lokesh Vutla > [snip] >> +++ b/include/configs/ti_omap5_common.h >> @@ -45,7 +45,7 @@ >> * Hardware drivers >> */ >> #define CONFIG_SYS_NS16550_CLK 48000000 >> -#if defined(CONFIG_SPL_BUILD) || !defined(CONFIG_DM_SERIAL) >> +#if !defined(CONFIG_DM_SERIAL) >> #define CONFIG_SYS_NS16550_SERIAL >> #define CONFIG_SYS_NS16550_REG_SIZE (-4) >> #endif >> @@ -163,14 +163,8 @@ >> #define CONFIG_SPL_NAND_AM33XX_BCH /* ELM support */ >> #endif >> >> -/* >> - * Disable MMC DM for SPL build and can be re-enabled after adding >> - * DM support in SPL >> - */ >> #ifdef CONFIG_SPL_BUILD >> -#undef CONFIG_DM_MMC >> #undef CONFIG_TIMER >> -#undef CONFIG_DM_ETH >> #endif >> >> #endif /* __CONFIG_TI_OMAP5_COMMON_H */ > > Do you know why we need to disable timer? drivers/timer/ is not yet include in SPL and also we need to implement timer_early in SPL. I guess that is a different task. So till then I though of disabling it here. Thanks and regards, Lokesh