]> git.dujemihanovic.xyz Git - u-boot.git/commit
dfu: mmc: call fs functions instead of run_command
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Fri, 25 Jan 2019 18:58:01 +0000 (19:58 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 31 Jan 2019 02:22:53 +0000 (21:22 -0500)
commit1f92c074cbb53debc7ad31073dc7895d8a2aa44e
treee3a15bd7ba85b3e4467cbc44dd6344332c753d4c
parent552452f80caf1e1069e547b6605987427e93111b
dfu: mmc: call fs functions instead of run_command

This unbreaks dfu mmc_file_op which is currently broken since using the
load cmd on a buffer from heap is not allowed - added with
commit aa3c609e2be5 ("fs: prevent overwriting reserved memory")

Fixes: commit aa3c609e2be5 ("fs: prevent overwriting reserved memory")
Reported-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Lukasz Majewski <lukma@denx.de>
drivers/dfu/dfu_mmc.c
include/dfu.h