]> git.sur5r.net Git - u-boot/commit
dfu: defer parsing of device string to IO backend
authorStephen Warren <swarren@nvidia.com>
Wed, 11 Jun 2014 22:03:33 +0000 (16:03 -0600)
committerTom Rini <trini@ti.com>
Sat, 9 Aug 2014 15:16:58 +0000 (11:16 -0400)
commitdd64827eb60de9f71b1a1d6aecf488104cdd7b96
treee4d46c84e1d4b118a284261213eb5cc3db9ea4eb
parent3ee9593fce0b58124e667734d7bc8d44b11a7be2
dfu: defer parsing of device string to IO backend

Devices are not all identified by a single integer. To support
this, defer the parsing of the device string to the IO backed, so that
it can apply the appropriate rules.

SPI devices are specified as controller:chip_select. SPI/SF support will
be added soon.

MMC devices can also be specified as controller[.hwpart][:partition] in
many commands, although we don't support that syntax in DFU.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
common/cmd_dfu.c
drivers/dfu/dfu.c
drivers/dfu/dfu_mmc.c
drivers/dfu/dfu_nand.c
drivers/dfu/dfu_ram.c
include/dfu.h