tools: env: allow to print U-Boot version
authorStefan Agner <stefan.agner@toradex.com>
Thu, 26 Oct 2017 12:57:53 +0000 (14:57 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 6 Nov 2017 14:58:59 +0000 (09:58 -0500)
commit84d46e7e8948780d7ca20c24dfc7b653b900f728
treedc7ccfc615e5fff655d3981165ba181bde182489
parent8ec87df3762f27bbd77fb28474d1e46ad23c9e28
tools: env: allow to print U-Boot version

The fw_env utility family has a default environment compiled in
which ties it quite strongly to the U-Boot source/config it has
been built with. Allow to display the U-Boot version it has been
built with using the -v/--version argument.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
tools/env/fw_env_main.c