This change allows using DFU and THOR commands without
passing command line arguments.

Signed-off-by: Przemyslaw Marczak <[email protected]>
Cc: Piotr Wilczek <[email protected]>
Cc: Minkyu Kang <[email protected]>
---
 include/configs/trats2.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/configs/trats2.h b/include/configs/trats2.h
index 206975b..718e7f0 100644
--- a/include/configs/trats2.h
+++ b/include/configs/trats2.h
@@ -136,6 +136,9 @@
        "opts=always_resume=1\0" \
        "partitions=" PARTS_DEFAULT \
        "dfu_alt_info=" CONFIG_DFU_ALT \
+       "dfu_usb_con=0\0" \
+       "dfu_interface=mmc\0" \
+       "dfu_device=" __stringify(CONFIG_MMC_DEFAULT_DEV) "\0" \
        "uartpath=ap\0" \
        "usbpath=ap\0" \
        "consoleon=set console console=ttySAC2,115200n8; save; reset\0" \
-- 
1.9.1

_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to