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 <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
---
  hw/block/pflash_cfi01.c | 8 ++++++--
  1 file changed, 6 insertions(+), 2 deletions(-)

With CFI02 similarly fixed:
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>

Reply via email to