public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/2] dfu: allow to autoset configuration
@ 2015-02-17 11:24 Przemyslaw Marczak
  2015-02-17 11:24 ` [U-Boot] [PATCH 1/2] dfu: samsung: move call to set_dfu_alt_info() to dfu common code Przemyslaw Marczak
  2015-02-17 11:24 ` [U-Boot] [PATCH 2/2] odroid: adjust get_dfu_alt_*() functions to new declarations Przemyslaw Marczak
  0 siblings, 2 replies; 6+ messages in thread
From: Przemyslaw Marczak @ 2015-02-17 11:24 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-02-23  0:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-17 11:24 [U-Boot] [PATCH 0/2] dfu: allow to autoset configuration Przemyslaw Marczak
2015-02-17 11:24 ` [U-Boot] [PATCH 1/2] dfu: samsung: move call to set_dfu_alt_info() to dfu common code Przemyslaw Marczak
2015-02-19  9:22   ` Lukasz Majewski
2015-02-17 11:24 ` [U-Boot] [PATCH 2/2] odroid: adjust get_dfu_alt_*() functions to new declarations Przemyslaw Marczak
2015-02-19  9:26   ` Lukasz Majewski
2015-02-23  0:16     ` Minkyu Kang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox