The write_enable latch property is not currently exposed.
This commit makes it a modifiable property.
Signed-off-by: Iris Chen
---
v3: Addressed comments by Peter and Cedric.
v2: Ran ./scripts/checkpatch.pl on the patch and added a description. Fixed
comments regarding DEFINE_PROP_BOOL.
hw/blo
The write_enable latch property is not currently exposed.
This commit makes it a modifiable property using get/set methods.
Signed-off-by: Iris Chen
---
Ran ./scripts/checkpatch.pl on the patch and added a description. Fixed
comments regarding DEFINE_PROP_BOOL.
hw/block/m25p80.c |
Hey everyone,
My patch adds the get/set property for the write_enable latch. Currently, it is
not an exposed property but this change adds QOM visibility and makes this
property modifiable.
Acceptance tests have also been added to verify the value in the status
register (after the value is s
---
hw/block/m25p80.c | 30 ++
tests/qtest/aspeed_smc-test.c | 20
2 files changed, 50 insertions(+)
diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c
index 430d1298a8..fb72704e5a 100644
--- a/hw/block/m25p80.c
+++ b/hw/block/m25p80.c
---
hw/block/m25p80.c | 30 ++
tests/qtest/aspeed_smc-test.c | 20
2 files changed, 50 insertions(+)
diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c
index 430d1298a8..fb72704e5a 100644
--- a/hw/block/m25p80.c
+++ b/hw/block/m25p80.c
Hey everyone,
My patch adds the get/set property for the write_enable latch. Currently, it is
not an exposed property but this change adds QOM visibility and makes this
property modifiable.
Acceptance tests have also been added to verify the value in the status
register (after the value is s