[U-Boot] [PATCH 03/11] ti_omap5_common: eth: do not define DM_ETH for spl

Simon Glass sjg at chromium.org
Sat Apr 9 20:35:32 CEST 2016


Hi Mugunthan,

On 7 April 2016 at 09:17, Mugunthan V N <mugunthanvnm at ti.com> wrote:
> Since omap's spl doesn't support DM currently, do not define
> DM_ETH for spl build.
>
> Signed-off-by: Mugunthan V N <mugunthanvnm at ti.com>
> ---
>  include/configs/ti_omap5_common.h | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Simon Glass <sjg at chromium.org>

I suppose this is OK as a temporary convenience, although we should
use defconfig for this sort of thing.

>
> diff --git a/include/configs/ti_omap5_common.h b/include/configs/ti_omap5_common.h
> index 202b18c..c592646 100644
> --- a/include/configs/ti_omap5_common.h
> +++ b/include/configs/ti_omap5_common.h
> @@ -155,6 +155,7 @@
>  #ifdef CONFIG_SPL_BUILD
>  #undef CONFIG_DM_MMC
>  #undef CONFIG_TIMER
> +#undef CONFIG_DM_ETH
>  #endif
>
>  #endif /* __CONFIG_TI_OMAP5_COMMON_H */
> --
> 2.8.1.101.g72d917a
>


More information about the U-Boot mailing list