dfu: samsung: move call to set_dfu_alt_info() to dfu common code
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Tue, 17 Feb 2015 11:24:11 +0000 (12:24 +0100)
committerMarek Vasut <marex@denx.de>
Wed, 25 Feb 2015 16:47:02 +0000 (17:47 +0100)
commit899a52821515d79f9e4e525fd3098bdb574062ed
treec17b1bdc2f516a3a4332911018a72bb179073686
parent372d7decfe972966c49b337f3d2888e09004dbe4
dfu: samsung: move call to set_dfu_alt_info() to dfu common code

This common call can be used for setting proper entities based
on dfu command arguments.
The config: CONFIG_SET_DFU_ALT_INFO, was used only for few configs,
and now it is common.

The board file should implement:
- set_dfu_alt_info() function

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Tested-by: Lukasz Majewski <l.majewski@samsung.com>
[Test HW: Odroid U3 (Exynos 4412)]
board/samsung/common/board.c
board/samsung/common/misc.c
drivers/dfu/dfu.c
include/dfu.h
include/samsung/misc.h