diff options
author | Petr Štetiar <ynezz@true.cz> | 2018-11-23 14:37:52 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2018-12-14 17:59:08 +0100 |
commit | bb00a015d624f683c66c9e30341f93b678d03d2e (patch) | |
tree | 75d6339c3885040d9eb22aaded53ed296d74db03 /include/linux/bitmap.h | |
parent | d117d8f19b0625f88309e47a8a32c2faa384dddc (diff) |
usb: gadget: f_sdp: Provide filesize env variable for downloaded images
Currently it's not possible to get filesize of downloaded images and
it's impossible to automate some tasks in scripts. So this patch adds
`filesize` environment variable with size (as hex number in bytes) of
the last successfully downloaded file via `sdp` command.
Cc: Lukasz Majewski <lukma@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Reviewed-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'include/linux/bitmap.h')
0 files changed, 0 insertions, 0 deletions