diff options
author | Hannes Petermaier <oe5hpm@oevsv.at> | 2015-08-25 13:55:41 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-09-11 14:05:34 -0400 |
commit | 6312e9aab8672a06caf5cbd7fd88b620d7122949 (patch) | |
tree | 3935867dc46940467154cd83ed82509035c94d31 /tools/imagetool.c | |
parent | 18a10d46f267057ede0490ddba71c106475b4eb1 (diff) | |
download | u-boot-imx-6312e9aab8672a06caf5cbd7fd88b620d7122949.zip u-boot-imx-6312e9aab8672a06caf5cbd7fd88b620d7122949.tar.gz u-boot-imx-6312e9aab8672a06caf5cbd7fd88b620d7122949.tar.bz2 |
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>
Diffstat (limited to 'tools/imagetool.c')
0 files changed, 0 insertions, 0 deletions