|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [RFC PATCH v5 2/6] hw/sd/sdhci: Map host controller interface in host endianess |
Date: | Mon, 31 Oct 2022 16:28:18 +0100 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 |
On 31/10/22 12:53, Philippe Mathieu-Daudé wrote:
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> --- hw/sd/sdhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/sd/sdhci.c b/hw/sd/sdhci.c index f9c5b58e6d..40f37694d5 100644 --- a/hw/sd/sdhci.c +++ b/hw/sd/sdhci.c @@ -1341,7 +1341,7 @@ static const MemoryRegionOps sdhci_mmio_ops = { .max_access_size = 4, .unaligned = false }, - .endianness = DEVICE_LITTLE_ENDIAN, + .endianness = DEVICE_NATIVE_ENDIAN, };
RFC because I was focusing on the SDHCI device and wanted some code Bernhard could test. I expect something in the CCSR block doing the endianness swapping.
[Prev in Thread] | Current Thread | [Next in Thread] |