[U-Boot] [PATCH] Call gentenv_IPaddr only if CONFIG_CMD_NET set

Albert ARIBAUD
2010-01-08T21:26:24Z

Albert Aribaud a ?crit :

> ARM Boards for which CONFIG_CMD_NET is unset still
> call getenv_IPaddr from lib_arm/board.c even though
> net/net.c (which defines gentenv_IPaddr) will not
> be compiled and linked. This patch fixes this by
> making the call conditional to CONFIG_CMD_NET.
>
> Signed-off-by: Albert Aribaud <albert.aribaud@free.fr>

Regarding this fix I have a SCM related question:

I was hit by this problem while preparing my Orion 5x patch for final
submission (strangely enough I was not hit before even though I never
had CONFIG_CMD_NET set).

This means my Orion patches will depend on this one (but I felt I should
submit it separately as it was totally unrelated to Orion/Ed Mini
support). Can I submit the Orion patches and just mention the
dependency? Or do I also do the fix in my Orion patches and let GIT sort
things out?

Amicalement,
--
Albert.