Correct vxWorks elf boot to load at correct address
authorStany MARCEL <stanypub@gmail.com>
Wed, 27 Nov 2013 13:48:43 +0000 (14:48 +0100)
committerTom Rini <trini@ti.com>
Fri, 13 Dec 2013 14:17:32 +0000 (09:17 -0500)
commit07a1a0c93161733ff4473ebb7d642eb8b68d974e
treeab7b62daef37e181fce83d773fb9623e7b1a2f18
parent93f70dfd58ff0c291c88af57785f131d534d5559
Correct vxWorks elf boot to load at correct address

argv[0] contains bootvx (command name) not the load address, if called with
argv < 2 use load_addr, else use address argument given to the command.

Signed-off-by: Stany MARCEL <smarcel@novasys-ingenierie.com>
common/cmd_elf.c