[U-Boot] [PATCH] env: disable CONFIG_ETHADDR & CONFIG_IPADDR

Tom Rini trini at ti.com
Fri Feb 21 13:56:27 CET 2014


On Mon, Feb 10, 2014 at 09:42:03AM +0400, Alexey Brodkin wrote:

> We don't want to have duplicates of the same MAC or/and IP address
> within one network. But if those values are hard-coded into particular
> board config chances are high that multiple instances of the same board
> may easily have the same IP/MAC addresses.
> 
> As for disabled options CONFIG_GATEWAYIP and CONFIG_NETMASK - they make
> no sense without CONFIG_IPADDR.
> 
> If this change is acceptable on the next step whether as a separate
> follow-up patch or v2 re-spin I may do a clean-up of existing configs.
> 
> Signed-off-by: Alexey Brodkin <abrodkin at synopsys.com>
> 
> Cc: Wolfgang Denk <wd at denx.de>
> Cc: Tom Rini <trini at ti.com>
> Cc: Vineet Gupta <vgupta at synopsys.com>

This is the right thing to do, but we need to also fixup the currently
broken boards when we do this too.  A 2 part series where 1/2 removes
this from current users and 2/2 is this patch to catch out of tree
folks, etc, should do it.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140221/18564ebc/attachment.pgp>


More information about the U-Boot mailing list