summaryrefslogtreecommitdiff
path: root/drivers/timer/sandbox_timer.c
diff options
context:
space:
mode:
authorSanchayan Maity <maitysanchayan@gmail.com>2016-08-08 16:56:17 +0530
committerMarek Vasut <marex@denx.de>2016-09-27 23:30:22 +0200
commit54a708ca06830c3fe3df8c0001ab33df784701f9 (patch)
tree86d6d1d1660ae6851260fc4c25437ec66b95017e /drivers/timer/sandbox_timer.c
parentcdb1808aefbc7173d687cb03de15b8ee3a671743 (diff)
downloadu-boot-imx-54a708ca06830c3fe3df8c0001ab33df784701f9.zip
u-boot-imx-54a708ca06830c3fe3df8c0001ab33df784701f9.tar.gz
u-boot-imx-54a708ca06830c3fe3df8c0001ab33df784701f9.tar.bz2
cmd: dfu: Add error handling for failed registration
Without this, if g_dnl_register() fails, DFU code continues on blindly and crashes. This fix makes it simply print an error message instead. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com> [l.majewski@samsung.com - some manual tweaks needed]
Diffstat (limited to 'drivers/timer/sandbox_timer.c')
0 files changed, 0 insertions, 0 deletions