]> git.baikalelectronics.ru Git - uboot.git/commit
spl: dfu: Fix printed variable name
authorMarek Vasut <marex@denx.de>
Sat, 25 May 2019 20:50:35 +0000 (22:50 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 14 Jun 2019 10:39:50 +0000 (12:39 +0200)
commit34476ce5f4021021c0a95358a042cf1daa9448d2
treebb112c3ddd9e31249dd7670293159324c2863de9
parent282bd078a8516e28e02dba5be276dc89e28b8ac1
spl: dfu: Fix printed variable name

The SPL DFU uses dfu_alt_info_N variable name to determine the DFU
configuration, where N is the name of the media (e.g. ram). It does
not use the plain dfu_alt_info. Print the name of the missing env
variable in case of a failure instead of printing dfu_alt_info,
which is just the name of the parameter passed to spl_dfu_cmd().

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Tom Rini <trini@konsulko.com>
common/spl/spl_dfu.c