aboutsummaryrefslogtreecommitdiff
path: root/hw/ssi/aspeed_smc.c
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2020-09-01 14:21:50 +0200
committerCédric Le Goater <clg@kaod.org>2020-09-01 14:21:50 +0200
commit0d3119edd026adde74aeddbb67c20a7822dea86d (patch)
treed69eb958a49a2876208d35bd620d1903e0bfe59f /hw/ssi/aspeed_smc.c
parent40a38df55e07cfc5929ea36c73affcedd5b9e726 (diff)
downloadqemu-0d3119edd026adde74aeddbb67c20a7822dea86d.zip
qemu-0d3119edd026adde74aeddbb67c20a7822dea86d.tar.gz
qemu-0d3119edd026adde74aeddbb67c20a7822dea86d.tar.bz2
aspeed/smc: Fix MemoryRegionOps definition
Unaligned access support is a leftover from the initial commit. There is no such need on this device register mapping. Remove it. Cc: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Joel Stanley <joel@jms.id.au> Message-Id: <20200819100956.2216690-7-clg@kaod.org> Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'hw/ssi/aspeed_smc.c')
-rw-r--r--hw/ssi/aspeed_smc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/ssi/aspeed_smc.c b/hw/ssi/aspeed_smc.c
index 4fab1f5..0646e0d 100644
--- a/hw/ssi/aspeed_smc.c
+++ b/hw/ssi/aspeed_smc.c
@@ -1299,10 +1299,8 @@ static const MemoryRegionOps aspeed_smc_ops = {
.read = aspeed_smc_read,
.write = aspeed_smc_write,
.endianness = DEVICE_LITTLE_ENDIAN,
- .valid.unaligned = true,
};
-
/*
* Initialize the custom address spaces for DMAs
*/