[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 22/24] ppc/ppc4xx: Fix sdram trace events
From: |
Cédric Le Goater |
Subject: |
[PATCH v4 22/24] ppc/ppc4xx: Fix sdram trace events |
Date: |
Tue, 9 Aug 2022 17:39:02 +0200 |
Signed-off-by: Cédric Le Goater <clg@kaod.org>
---
hw/ppc/ppc4xx_devs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/ppc/ppc4xx_devs.c b/hw/ppc/ppc4xx_devs.c
index 8a8a87b03b28..c06c20b195cd 100644
--- a/hw/ppc/ppc4xx_devs.c
+++ b/hw/ppc/ppc4xx_devs.c
@@ -143,7 +143,7 @@ static void sdram_set_bcr(ppc4xx_sdram_t *sdram, int i,
}
sdram->bcr[i] = bcr & 0xFFDEE001;
if (enabled && (bcr & 0x00000001)) {
- trace_ppc4xx_sdram_unmap(sdram_base(bcr), sdram_size(bcr));
+ trace_ppc4xx_sdram_map(sdram_base(bcr), sdram_size(bcr));
memory_region_init(&sdram->containers[i], NULL, "sdram-containers",
sdram_size(bcr));
memory_region_add_subregion(&sdram->containers[i], 0,
--
2.37.1
- [PATCH v4 09/24] ppc/ppc405: QOM'ify CPC, (continued)
- [PATCH v4 09/24] ppc/ppc405: QOM'ify CPC, Cédric Le Goater, 2022/08/09
- [PATCH v4 11/24] ppc/ppc405: QOM'ify OCM, Cédric Le Goater, 2022/08/09
- [PATCH v4 14/24] ppc/ppc405: QOM'ify EBC, Cédric Le Goater, 2022/08/09
- [PATCH v4 10/24] ppc/ppc405: QOM'ify GPT, Cédric Le Goater, 2022/08/09
- [PATCH v4 13/24] ppc/ppc405: QOM'ify DMA, Cédric Le Goater, 2022/08/09
- [PATCH v4 12/24] ppc/ppc405: QOM'ify GPIO, Cédric Le Goater, 2022/08/09
- [PATCH v4 15/24] ppc/ppc405: QOM'ify OPBA, Cédric Le Goater, 2022/08/09
- [PATCH v4 16/24] ppc/ppc405: QOM'ify POB, Cédric Le Goater, 2022/08/09
- [PATCH v4 21/24] ppc/ppc405: Use an explicit I2C object, Cédric Le Goater, 2022/08/09
- [PATCH v4 22/24] ppc/ppc4xx: Fix sdram trace events,
Cédric Le Goater <=
- [PATCH v4 17/24] ppc/ppc405: QOM'ify PLB, Cédric Le Goater, 2022/08/09
- [PATCH v4 18/24] ppc/ppc405: QOM'ify MAL, Cédric Le Goater, 2022/08/09
- [PATCH v4 19/24] ppc/ppc405: QOM'ify FPGA, Cédric Le Goater, 2022/08/09