OSDN Git Service

ppc4xx_sdram: Convert DDR SDRAM controller to new bank handling
authorBALATON Zoltan <balaton@eik.bme.hu>
Wed, 19 Oct 2022 16:02:58 +0000 (18:02 +0200)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Fri, 28 Oct 2022 16:15:23 +0000 (13:15 -0300)
commit54a3527e427b7df33ffcea3ad0ab56f7a0a61dd9
tree0f08b7f73e1b9ed82e02d44fd3adb06740ab7d2b
parent424a660c58a6b950363d42b79a30e651c1037550
ppc4xx_sdram: Convert DDR SDRAM controller to new bank handling

Use the generic bank handling introduced in previous patch in the DDR
SDRAM controller too. This also fixes previously broken region unmap
due to sdram_ddr_unmap_bcr() ignoring container region so it crashed
with an assert when the guest tried to disable the controller.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-Id: <fc7c50e365d0027a659111e9cd67f9b93113a163.1666194485.git.balaton@eik.bme.hu>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
hw/ppc/ppc4xx_sdram.c