scripts: imx-usb-loader: do DCD only once, cleanup
Only the first encountered DCD block should be processed, optional DCD
processing may be switched off by command option.
Clean up the corresponding logic.

Signed-off-by: Alexander Kurz <akurz@blala.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent a2b8841 commit a6e1dbebd1973944eea15b4122346170eece5767
@Alexander Kurz Alexander Kurz authored on 21 Aug 2016
Sascha Hauer committed on 22 Aug 2016
Showing 1 changed file
View
scripts/imx/imx-usb-loader.c