]> git.proxmox.com Git - mirror_qemu.git/commit
ppc4xx_sdram: Move size check to ppc4xx_sdram_init()
authorBALATON Zoltan <balaton@eik.bme.hu>
Sat, 24 Sep 2022 12:27:55 +0000 (14:27 +0200)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Mon, 17 Oct 2022 19:15:09 +0000 (16:15 -0300)
commit0aedcc8a8db88967d3abbff433bdd1f5a4b9ce6d
treea1000a4c095d97b391df8c23993f3d141b4d59a1
parent2cdfa6ef5ca56227372c7d0c0cd0f6a631842c04
ppc4xx_sdram: Move size check to ppc4xx_sdram_init()

Instead of checking if memory size is valid in board code move this
check to ppc4xx_sdram_init() as this is a restriction imposed by the
SDRAM controller.

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