
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 lokeshvutla@ti.com
[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