[U-Boot] [PATCH 3/4] trats2:config: add default dfu device environment setup

Przemyslaw Marczak p.marczak at samsung.com
Thu Jun 12 16:25:06 CEST 2014


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

Signed-off-by: Przemyslaw Marczak <p.marczak at samsung.com>
Cc: Piotr Wilczek <p.wilczek at samsung.com>
Cc: Minkyu Kang <mk7.kang at samsung.com>
---
 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



More information about the U-Boot mailing list