summaryrefslogtreecommitdiff
path: root/include/dfu.h
diff options
context:
space:
mode:
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>2019-01-25 19:58:01 +0100
committerTom Rini <trini@konsulko.com>2019-01-30 21:22:53 -0500
commit1f92c074cbb53debc7ad31073dc7895d8a2aa44e (patch)
treee3a15bd7ba85b3e4467cbc44dd6344332c753d4c /include/dfu.h
parent552452f80caf1e1069e547b6605987427e93111b (diff)
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>
Diffstat (limited to 'include/dfu.h')
-rw-r--r--include/dfu.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/dfu.h b/include/dfu.h
index 9340a900a2..145a1576a3 100644
--- a/include/dfu.h
+++ b/include/dfu.h
@@ -80,7 +80,6 @@ struct sf_internal_data {
};
#define DFU_NAME_SIZE 32
-#define DFU_CMD_BUF_SIZE 128
#ifndef CONFIG_SYS_DFU_DATA_BUF_SIZE
#define CONFIG_SYS_DFU_DATA_BUF_SIZE (1024*1024*8) /* 8 MiB */
#endif