]> git.dujemihanovic.xyz Git - u-boot.git/commit
board/BuR: simplify default IP-setup on B&R boards.
authorHannes Petermaier <oe5hpm@oevsv.at>
Tue, 25 Aug 2015 11:55:41 +0000 (13:55 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 11 Sep 2015 18:05:34 +0000 (14:05 -0400)
commit6312e9aab8672a06caf5cbd7fd88b620d7122949
tree3935867dc46940467154cd83ed82509035c94d31
parent18a10d46f267057ede0490ddba71c106475b4eb1
board/BuR: simplify default IP-setup on B&R boards.

To simplify and having a common default IP-setup on all B&R boards we
introduce an environment variable "brdefaultip" which does following.

Test if ${ipaddr} is empty, if yes it set's up some defaults:
- ipaddr   : 192.168.60.1
- netmask  : 255.255.255.0
- gatewayip: 192.168.60.254
- serverip : 192.168.60.254

This environment is ran from CONFIG_PREBOOT.

All other "tricks" are dropped.

Signed-off-by: Hannes Schmelzer <oe5hpm@oevsv.at>
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
board/BuR/kwb/board.c
include/configs/bur_am335x_common.h