The m25p80 model in qemu doesn't deassert the write enable latch (WEL) at the end page program and erase operations. This series contains a fix for that, to match real hardware behaviour.
This series also has a fix to the aspeed_smc tests. These tests exercise the m25p80 flash model by sending page program (PP) ops, but do not send write enable (WREN) before each PP op as the spec requires. The test is updated to do so. Signed-off-by: Anirudh Srinivasan <[email protected]> --- Anirudh Srinivasan (2): test/qtest/aspeed_smc-test: Send write enable before each page program command m25p80: Clear write_enable after page program and flash erase operation hw/block/m25p80.c | 6 ++++++ tests/qtest/aspeed-smc-utils.c | 24 +++++++++++++++++++----- 2 files changed, 25 insertions(+), 5 deletions(-) --- base-commit: 73294d096cc591e122fde9e63db4739de6d84f2b change-id: 20261110-m25p80_write_enable_fix-d7f95301723e Best regards, -- Anirudh Srinivasan <[email protected]>
