[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v10 14/16] hw/arm/exynos4210: access the 64-bit capa
From: |
Philippe Mathieu-Daudé |
Subject: |
[Qemu-devel] [PATCH v10 14/16] hw/arm/exynos4210: access the 64-bit capareg with qdev_prop_set_uint64() |
Date: |
Wed, 7 Feb 2018 15:19:27 -0300 |
We only set a 32-bit value, but this is a good practice in case this
code is used as reference.
(missed in 5efc9016e52)
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
---
hw/arm/exynos4210.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/arm/exynos4210.c b/hw/arm/exynos4210.c
index e8e1d81e62..d89322c7ea 100644
--- a/hw/arm/exynos4210.c
+++ b/hw/arm/exynos4210.c
@@ -378,7 +378,7 @@ Exynos4210State *exynos4210_init(MemoryRegion *system_mem)
DriveInfo *di;
dev = qdev_create(NULL, TYPE_SYSBUS_SDHCI);
- qdev_prop_set_uint32(dev, "capareg", EXYNOS4210_SDHCI_CAPABILITIES);
+ qdev_prop_set_uint64(dev, "capareg", EXYNOS4210_SDHCI_CAPABILITIES);
qdev_init_nofail(dev);
busdev = SYS_BUS_DEVICE(dev);
--
2.16.1
- [Qemu-devel] [PATCH v10 04/16] sdhci: add a check_capab_baseclock() qtest, (continued)
- [Qemu-devel] [PATCH v10 04/16] sdhci: add a check_capab_baseclock() qtest, Philippe Mathieu-Daudé, 2018/02/07
- [Qemu-devel] [PATCH v10 03/16] sdhci: add check_capab_readonly() qtest, Philippe Mathieu-Daudé, 2018/02/07
- [Qemu-devel] [PATCH v10 05/16] sdhci: add a check_capab_sdma() qtest, Philippe Mathieu-Daudé, 2018/02/07
- [Qemu-devel] [PATCH v10 06/16] sdhci: add qtest to check the SD Spec version, Philippe Mathieu-Daudé, 2018/02/07
- [Qemu-devel] [PATCH v10 07/16] sdhci: add a 'spec_version property' (default to v2), Philippe Mathieu-Daudé, 2018/02/07
- [Qemu-devel] [PATCH v10 08/16] sdhci: use a numeric value for the default CAPAB register, Philippe Mathieu-Daudé, 2018/02/07
- [Qemu-devel] [PATCH v10 10/16] sdhci: check the Spec v1 capabilities correctness, Philippe Mathieu-Daudé, 2018/02/07
- [Qemu-devel] [PATCH v10 09/16] sdhci: simplify sdhci_get_fifolen(), Philippe Mathieu-Daudé, 2018/02/07
- [Qemu-devel] [PATCH v10 12/16] sdhci: Fix 64-bit ADMA2, Philippe Mathieu-Daudé, 2018/02/07
- [Qemu-devel] [PATCH v10 13/16] sdhci: check Spec v2 capabilities (DMA and 64-bit bus), Philippe Mathieu-Daudé, 2018/02/07
- [Qemu-devel] [PATCH v10 14/16] hw/arm/exynos4210: access the 64-bit capareg with qdev_prop_set_uint64(),
Philippe Mathieu-Daudé <=
- [Qemu-devel] [PATCH v10 15/16] hw/arm/exynos4210: add a comment about a very similar SDHCI (Spec. v2), Philippe Mathieu-Daudé, 2018/02/07
- [Qemu-devel] [PATCH v10 16/16] hw/arm/xilinx_zynq: fix the capabilities register to match the datasheet, Philippe Mathieu-Daudé, 2018/02/07
- Re: [Qemu-devel] [PATCH v10 00/16] SDHCI: clean v1/v2 Specs (part 2), Alistair Francis, 2018/02/07