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 <shen...@gmail.com>
Reviewed-by: Bin Meng <bmeng...@gmail.com>
---
  hw/block/pflash_cfi01.c | 8 ++++++--
  1 file changed, 6 insertions(+), 2 deletions(-)

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

Reply via email to