From mboxrd@z Thu Jan 1 00:00:00 1970 From: Przemyslaw Marczak Date: Tue, 17 Feb 2015 12:24:10 +0100 Subject: [U-Boot] [PATCH 0/2] dfu: allow to autoset configuration Message-ID: <1424172252-14059-1-git-send-email-p.marczak@samsung.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Since the dfu supports multiple inferfaces, using a single ${dfu_alt_info} variable, or manually presetting it for various interfaces is uncomfortable. The interface is given as an argument to the dfu/thor commands, so it can be easy used to set the environment. The odroid, as an example, can boot from SD and eMMC cards, but the boot binary offsets are little different. Now the proper data in ${dfu_alt_info} is set automatically. Inha Song (1): odroid: adjust get_dfu_alt_*() functions to new declarations Przemyslaw Marczak (1): dfu: samsung: move call to set_dfu_alt_info() to dfu common code board/samsung/common/board.c | 3 --- board/samsung/common/misc.c | 6 +++--- board/samsung/odroid/odroid.c | 31 +++++++++++++++++-------------- drivers/dfu/dfu.c | 3 +++ include/dfu.h | 3 +++ include/samsung/misc.h | 5 ++--- 6 files changed, 28 insertions(+), 23 deletions(-) -- 1.9.1