]> git.baikalelectronics.ru Git - uboot.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)
commit07f878a799d1eb12fc8e3b0a00427ae630ed8bd0
treee3a15bd7ba85b3e4467cbc44dd6344332c753d4c
parenta85f72513187985de3a5d9e8b6129091d1d2aa82
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 d20d4fe1ebde ("fs: prevent overwriting reserved memory")

Fixes: commit d20d4fe1ebde ("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