ppc4xx: Introduce Ppc4xxSdramBank struct
commit8626982301dc8dbbe49e0fb1730461955df879c8
authorBALATON Zoltan <balaton@eik.bme.hu>
Sat, 24 Sep 2022 12:27:51 +0000 (24 14:27 +0200)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Mon, 17 Oct 2022 19:15:09 +0000 (17 16:15 -0300)
treec1f13e84c6256349ecc3f1bf8d0123dc4f927bc9
parent1049ff55fe99df87dbec47db27749a88f494e846
ppc4xx: Introduce Ppc4xxSdramBank struct

Instead of storing sdram bank parameters in unrelated arrays put them
in a struct so it's clear they belong to the same bank and simplify
the state struct using this bank type.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <5eb82d0424c584b2b9e6f7bc51560f8189ed21bb.1664021647.git.balaton@eik.bme.hu>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
hw/ppc/ppc440_uc.c
hw/ppc/ppc4xx_devs.c
include/hw/ppc/ppc4xx.h