Re: [U-Boot] [PATCH] RFC: dfu: mmc: call fs functions instead of run_command

2019-01-24 Thread Stephen Warren
On 1/24/19 11:38 AM, Simon Goldschmidt wrote: This unbreaks dfu mmc_file_op which is currently broken since using the load cmd on a buffer from heap is not allowed. Tested-by: Stephen Warren diff --git a/drivers/dfu/dfu_mmc.c b/drivers/dfu/dfu_mmc.c static int mmc_file_op(enum dfu_op op

Re: [U-Boot] [PATCH] RFC: dfu: mmc: call fs functions instead of run_command

2019-01-24 Thread Simon Goldschmidt
Am Do., 24. Jan. 2019, 21:05 hat Stephen Warren geschrieben: > On 1/24/19 11:38 AM, Simon Goldschmidt wrote: > > This unbreaks dfu mmc_file_op which is currently broken since using the > > load cmd on a buffer from heap is not allowed. > > Tested-by: Stephen Warren > That was fast, thanks! >

Re: [U-Boot] [PATCH] RFC: dfu: mmc: call fs functions instead of run_command

2019-01-24 Thread Simon Goldschmidt
Steven, Am Do., 24. Jan. 2019, 19:39 hat Simon Goldschmidt < simon.k.r.goldschm...@gmail.com> geschrieben: > This unbreaks dfu mmc_file_op which is currently broken since using the > load cmd on a buffer from heap is not allowed. > > Signed-off-by: Simon Goldschmidt > I'd be very thankful if y

[U-Boot] [PATCH] RFC: dfu: mmc: call fs functions instead of run_command

2019-01-24 Thread Simon Goldschmidt
This unbreaks dfu mmc_file_op which is currently broken since using the load cmd on a buffer from heap is not allowed. Signed-off-by: Simon Goldschmidt --- drivers/dfu/dfu_mmc.c | 67 --- 1 file changed, 31 insertions(+), 36 deletions(-) diff --git a/dri