From: Przemyslaw Marczak
Date: Wed, 11 Jun 2014 10:04:11 +0000 (+0200)
Subject: trats,trats2,odroid,tizen: add default dfu device environment
X-Git-Tag: submit/tizen/20140811.130757^0
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d645135d98b0d87b59068639166841e0e0842de1;p=platform%2Fkernel%2Fu-boot.git
trats,trats2,odroid,tizen: add default dfu device environment
This change allows using DFU and THOR commands without
passing command line arguments.
Change-Id: I4fecafa6cf20fcd76fa6c3526a9f297f71f20fae
Signed-off-by: Przemyslaw Marczak
---
diff --git a/include/configs/odroid.h b/include/configs/odroid.h
index 29dcc4a298..8f0a916cbd 100644
--- a/include/configs/odroid.h
+++ b/include/configs/odroid.h
@@ -172,6 +172,9 @@
"mmcrootpart=2\0" \
"bootdelay=0\0" \
"dfu_alt_system="CONFIG_DFU_ALT \
+ "dfu_usb_con=0\0" \
+ "dfu_interface=mmc\0" \
+ "dfu_device=" __stringify(CONFIG_MMC_DEFAULT_DEV) "\0" \
"dfu_alt_info=Please reset the board\0" \
"consoleon=set console console=ttySAC1,115200n8; save; reset\0" \
"consoleoff=set console console=ram; save; reset\0" \
diff --git a/include/configs/tizen.h b/include/configs/tizen.h
index c5e455ac9c..e96b9e87a3 100644
--- a/include/configs/tizen.h
+++ b/include/configs/tizen.h
@@ -140,6 +140,9 @@
"mmcrootdev=0\0" \
"bootdelay=0\0" \
"dfu_alt_info=Please reset the board.\0" \
+ "dfu_usb_con=0\0" \
+ "dfu_interface=mmc\0" \
+ "dfu_device=" __stringify(CONFIG_MMC_DEFAULT_DEV) "\0" \
"consoleon=set console console=ttySAC1,115200n8; save; reset\0" \
"consoleoff=set console console=ram; save; reset\0" \
"initrdname=uInitrd\0" \
diff --git a/include/configs/trats.h b/include/configs/trats.h
index 999e83de8d..fe7bc0ad64 100644
--- a/include/configs/trats.h
+++ b/include/configs/trats.h
@@ -165,6 +165,9 @@
"partitions=" TIZEN_PARTITIONS_V8 \
"dfu_alt_info=" TIZEN_DFU_ALT_INFO_V8 \
"dfu_alt_pit_compatible=" TIZEN_DFU_ALT_VERSION \
+ "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" \
diff --git a/include/configs/trats2.h b/include/configs/trats2.h
index fb94acc814..3ad4a7b277 100644
--- a/include/configs/trats2.h
+++ b/include/configs/trats2.h
@@ -142,6 +142,9 @@
"partitions=" TIZEN_PARTITIONS_V8 \
"dfu_alt_info=" TIZEN_DFU_ALT_INFO_V8 \
"dfu_alt_pit_compatible=" TIZEN_DFU_ALT_VERSION \
+ "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" \