cmd: bootvx: Pass netmask and gatewayip to VxWorks bootline
authorBin Meng <bmeng.cn@gmail.com>
Thu, 8 Oct 2015 03:19:16 +0000 (20:19 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 21 Oct 2015 13:46:26 +0000 (07:46 -0600)
commita4092dbd81ad8bcd7d405304f579b0b5b0c402ce
tree48f16c02f03aa9950e2d032a6deb7eecf266173f
parent7f0c3c51c2d455b7e12196ed91aa461cf86b9790
cmd: bootvx: Pass netmask and gatewayip to VxWorks bootline

There are fields in VxWorks bootline for netmask and gatewayip.
We can get these from U-Boot environment variables and pass them
to VxWorks, just like ipaddr and serverip.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/cmd_elf.c