mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
ppc/ppc4xx: Fix sdram trace events
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com> Signed-off-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Message-Id: <0a3e454eb7fd5f2b807a9c752c28693f27829f1d.1660746880.git.balaton@eik.bme.hu> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
This commit is contained in:
parent
56a5b199e4
commit
1b46bc17f4
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ static void sdram_set_bcr(ppc4xx_sdram_t *sdram, int i,
|
||||||
}
|
}
|
||||||
sdram->bcr[i] = bcr & 0xFFDEE001;
|
sdram->bcr[i] = bcr & 0xFFDEE001;
|
||||||
if (enabled && (bcr & 0x00000001)) {
|
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",
|
memory_region_init(&sdram->containers[i], NULL, "sdram-containers",
|
||||||
sdram_size(bcr));
|
sdram_size(bcr));
|
||||||
memory_region_add_subregion(&sdram->containers[i], 0,
|
memory_region_add_subregion(&sdram->containers[i], 0,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue