]> git.dujemihanovic.xyz Git - u-boot.git/commit
dfu, nand: add medium specific polltimeout function
authorHeiko Schocher <hs@denx.de>
Fri, 11 Apr 2014 05:59:47 +0000 (07:59 +0200)
committerLukasz Majewski <l.majewski@samsung.com>
Thu, 8 May 2014 08:38:30 +0000 (10:38 +0200)
commitfc25fa27e5f439705e9ca42182014e2d75d9f0ae
tree6ab713cc1f1c3e927a8099a2c058553938b6f94b
parentab2f5c12f7ca27b0191ebae90664182510330cd6
dfu, nand: add medium specific polltimeout function

add a possibility to add a medium specific polltimeout
function. So it is possible to define different
poll timeouts.

Used on nand medium, for setting the DFU_MANIFEST_POLL_TIMEOUT
only on nand ubi partitions, which is currently the only
usecase.

Change-Id: If1db5f49b32d93fefa7481e8dfe5b7ccc0e65af4
Signed-off-by: Heiko Schocher <hs@denx.de>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Acked-by: Lukasz Majewski <l.majewski@samsung.com>
drivers/dfu/dfu_nand.c
drivers/usb/gadget/f_dfu.c
include/dfu.h