[U-Boot] [PATCH v2 5/5] configs: dra7xx_evm: Enable SPL_DM

Tom Rini trini at konsulko.com
Fri Feb 10 14:31:42 UTC 2017


On Fri, Feb 10, 2017 at 07:06:31PM +0530, Lokesh Vutla wrote:
> 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 at 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.

OK thanks.

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170210/84cab7fe/attachment.sig>


More information about the U-Boot mailing list