hw: m25p80: allow write_enable latch get/set
commit188052a13377ff1f88b433255005eb9082d048e5
authorIris Chen <irischenlj@fb.com>
Wed, 25 May 2022 08:31:33 +0000 (25 10:31 +0200)
committerCédric Le Goater <clg@kaod.org>
Wed, 25 May 2022 08:31:33 +0000 (25 10:31 +0200)
tree74e19ae3bc8234d296ae00bad202b27a7d9735ba
parent264a360ae0981a22e35b3e68b3eded1cac666afd
hw: m25p80: allow write_enable latch get/set

The write_enable latch property is not currently exposed.
This commit makes it a modifiable property.

Signed-off-by: Iris Chen <irischenlj@fb.com>
Acked-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Francisco Iglesias <frasse.iglesias@gmail.com>
Message-Id: <20220513055022.951759-1-irischenlj@fb.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/block/m25p80.c
tests/qtest/aspeed_gpio-test.c
tests/qtest/aspeed_smc-test.c
tests/qtest/libqtest.c
tests/qtest/libqtest.h