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_next/20141006.103319~7
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bf0fe6b713a9806da2e008616fe44ccf7788e376;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 4dcec7dc10..e96c9f6835 100644
--- a/include/configs/tizen.h
+++ b/include/configs/tizen.h
@@ -141,6 +141,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 42db7e1e59..becbd492ce 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 d83230364d..d9ce488cd4 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" \