qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3] hw/pflash: fix block write start


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v3] hw/pflash: fix block write start
Date: Wed, 15 May 2024 11:37:24 +0200
User-agent: Mozilla Thunderbird

On 15/5/24 10:43, Gerd Hoffmann wrote:
Move the pflash_blk_write_start() call.  We need the offset of the
first data write, not the offset for the setup (number-of-bytes)
write.  Without this fix u-boot can do block writes to the first
flash block only.

Wow, that is a fast fix :) Thanks!

While being at it drop a leftover FIXME.

Resolves: #2343
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2343

I suppose we also need:
Cc: qemu-stable@nongnu.org

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>

Fixes: fcc79f2e0955 ("hw/pflash: implement update buffer for block writes")
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
  hw/block/pflash_cfi01.c | 8 +++-----
  1 file changed, 3 insertions(+), 5 deletions(-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]