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

Przemyslaw Marczak p.marczak at samsung.com
Thu Jun 12 16:25:07 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: Lukasz Majewski <l.majewski at samsung.com>
Cc: Minkyu Kang <mk7.kang at samsung.com>
---
 include/configs/trats.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/configs/trats.h b/include/configs/trats.h
index 90f1962..6061e2f 100644
--- a/include/configs/trats.h
+++ b/include/configs/trats.h
@@ -159,6 +159,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" \
 	"spladdr=0x40000100\0" \
 	"splsize=0x200\0" \
 	"splfile=falcon.bin\0" \
-- 
1.9.1



More information about the U-Boot mailing list