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

Simon Glass sjg at chromium.org
Sun Oct 18 23:37:42 CEST 2015


On 8 October 2015 at 10:09, Simon Glass <sjg at chromium.org> wrote:
> 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>

Applied to u-boot-x86, thanks!


More information about the U-Boot mailing list