aboutsummaryrefslogtreecommitdiff
path: root/hw/sd
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2019-10-22 16:50:37 +0100
committerPeter Maydell <peter.maydell@linaro.org>2019-10-22 17:44:00 +0100
commitefadc8182d978cbc4dfd5aab08798a23d40ecd8a (patch)
treec865262e9013763416f18b3d34e59239b7728f09 /hw/sd
parent81b2d96b8a19bb6fe3aa93e8185f5527df26fe2a (diff)
downloadqemu-efadc8182d978cbc4dfd5aab08798a23d40ecd8a.zip
qemu-efadc8182d978cbc4dfd5aab08798a23d40ecd8a.tar.gz
qemu-efadc8182d978cbc4dfd5aab08798a23d40ecd8a.tar.bz2
hw/sd/sdhci: Add a comment to distinct the i.MX eSDHC functions
This file keeps the various QDev blocks separated by comments. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Cleber Rosa <crosa@redhat.com> Message-id: 20191005154748.21718-3-f4bug@amsat.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/sd')
-rw-r--r--hw/sd/sdhci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/sd/sdhci.c b/hw/sd/sdhci.c
index e08ec3e..82ec5c1 100644
--- a/hw/sd/sdhci.c
+++ b/hw/sd/sdhci.c
@@ -1532,6 +1532,8 @@ static const TypeInfo sdhci_bus_info = {
.class_init = sdhci_bus_class_init,
};
+/* --- qdev i.MX eSDHC --- */
+
static uint64_t usdhc_read(void *opaque, hwaddr offset, unsigned size)
{
SDHCIState *s = SYSBUS_SDHCI(opaque);
@@ -1734,7 +1736,6 @@ usdhc_write(void *opaque, hwaddr offset, uint64_t val, unsigned size)
}
}
-
static const MemoryRegionOps usdhc_mmio_ops = {
.read = usdhc_read,
.write = usdhc_write,