aboutsummaryrefslogtreecommitdiff
path: root/hw/i2c
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2021-05-01 10:03:51 +0200
committerCédric Le Goater <clg@kaod.org>2021-05-01 10:03:51 +0200
commit3f7a53b22469ed4b80649ef92b94378c60dda5d0 (patch)
tree455e20485b6f3562c42baa0908a61415f21e40f9 /hw/i2c
parent7492515909f043c4d82909ecdebb8643ed944c68 (diff)
downloadqemu-3f7a53b22469ed4b80649ef92b94378c60dda5d0.zip
qemu-3f7a53b22469ed4b80649ef92b94378c60dda5d0.tar.gz
qemu-3f7a53b22469ed4b80649ef92b94378c60dda5d0.tar.bz2
aspeed/i2c: Rename DMA address space
It improves 'info mtree' output. Signed-off-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20210407171637.777743-5-clg@kaod.org> Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'hw/i2c')
-rw-r--r--hw/i2c/aspeed_i2c.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/i2c/aspeed_i2c.c b/hw/i2c/aspeed_i2c.c
index e713352..8d276d9 100644
--- a/hw/i2c/aspeed_i2c.c
+++ b/hw/i2c/aspeed_i2c.c
@@ -816,7 +816,8 @@ static void aspeed_i2c_realize(DeviceState *dev, Error **errp)
return;
}
- address_space_init(&s->dram_as, s->dram_mr, "dma-dram");
+ address_space_init(&s->dram_as, s->dram_mr,
+ TYPE_ASPEED_I2C "-dma-dram");
}
}