From 1f92c074cbb53debc7ad31073dc7895d8a2aa44e Mon Sep 17 00:00:00 2001 From: Simon Goldschmidt Date: Fri, 25 Jan 2019 19:58:01 +0100 Subject: 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 Signed-off-by: Simon Goldschmidt Tested-by: Stephen Warren Acked-by: Lukasz Majewski --- include/dfu.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/dfu.h') 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 -- cgit v1.2.3