diff options
author | Stephen Warren <swarren@nvidia.com> | 2014-06-11 16:03:33 -0600 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-08-09 11:16:58 -0400 |
commit | dd64827eb60de9f71b1a1d6aecf488104cdd7b96 (patch) | |
tree | e4d46c84e1d4b118a284261213eb5cc3db9ea4eb /drivers/dfu/dfu_ram.c | |
parent | 3ee9593fce0b58124e667734d7bc8d44b11a7be2 (diff) | |
download | u-boot-imx-dd64827eb60de9f71b1a1d6aecf488104cdd7b96.zip u-boot-imx-dd64827eb60de9f71b1a1d6aecf488104cdd7b96.tar.gz u-boot-imx-dd64827eb60de9f71b1a1d6aecf488104cdd7b96.tar.bz2 |
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>
Diffstat (limited to 'drivers/dfu/dfu_ram.c')
-rw-r--r-- | drivers/dfu/dfu_ram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dfu/dfu_ram.c b/drivers/dfu/dfu_ram.c index b6c6e60..e094a94 100644 --- a/drivers/dfu/dfu_ram.c +++ b/drivers/dfu/dfu_ram.c @@ -52,7 +52,7 @@ static int dfu_read_medium_ram(struct dfu_entity *dfu, u64 offset, return dfu_transfer_medium_ram(DFU_OP_READ, dfu, offset, buf, len); } -int dfu_fill_entity_ram(struct dfu_entity *dfu, char *s) +int dfu_fill_entity_ram(struct dfu_entity *dfu, char *devstr, char *s) { char *st; |