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

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to