qemu-ppc
[Top][All Lists]
Advanced

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

Re: [PATCH v2 08/13] hw/block/pflash_cfi01: Error out if device length i


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v2 08/13] hw/block/pflash_cfi01: Error out if device length isn't a power of two
Date: Mon, 3 Oct 2022 22:58:40 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.13.1

On 3/10/22 22:31, Bernhard Beschow wrote:
According to the JEDEC standard the device length is communicated to an
OS as an exponent (power of two).

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
---
  hw/block/pflash_cfi01.c | 8 ++++++--
  1 file changed, 6 insertions(+), 2 deletions(-)

With CFI02 similarly fixed:
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>



reply via email to

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