[U-Boot] [PATCH v3 08/12] cmd: bootvx: Pass netmask and gatewayip to VxWorks bootline

Simon Glass sjg at chromium.org
Thu Oct 8 18:09:17 CEST 2015


On 8 October 2015 at 04:19, Bin Meng <bmeng.cn at gmail.com> wrote:
> 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 at gmail.com>
>
> ---
>
> Changes in v3:
> - Avoid calls to strlen()
>
> Changes in v2:
> - Fix the endian issue for netmask
>
>  common/cmd_elf.c | 17 +++++++++++++++--
>  1 file changed, 15 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list