mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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 commitaa3c609e2b
("fs: prevent overwriting reserved memory") Fixes: commitaa3c609e2b
("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>
This commit is contained in:
committed by
Tom Rini
parent
552452f80c
commit
1f92c074cb
@@ -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
|
||||
|
Reference in New Issue
Block a user