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>
Showing
- common/cmd_dfu.c 1 addition, 2 deletionscommon/cmd_dfu.c
- drivers/dfu/dfu.c 10 additions, 10 deletionsdrivers/dfu/dfu.c
- drivers/dfu/dfu_mmc.c 12 additions, 9 deletionsdrivers/dfu/dfu_mmc.c
- drivers/dfu/dfu_nand.c 1 addition, 1 deletiondrivers/dfu/dfu_nand.c
- drivers/dfu/dfu_ram.c 1 addition, 1 deletiondrivers/dfu/dfu_ram.c
- include/dfu.h 13 additions, 9 deletionsinclude/dfu.h
Loading
Please register or sign in to comment