OSDN Git Service

ppc4xx_sdram: Add errp parameter to ppc4xx_sdram_banks()
authorBALATON Zoltan <balaton@eik.bme.hu>
Wed, 19 Oct 2022 16:02:59 +0000 (18:02 +0200)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Fri, 28 Oct 2022 16:15:23 +0000 (13:15 -0300)
commit286787f105c3216028841fd86c4e563af6b1b9e0
treee265302263a723db1858dfc184be16da89aa13db
parent54a3527e427b7df33ffcea3ad0ab56f7a0a61dd9
ppc4xx_sdram: Add errp parameter to ppc4xx_sdram_banks()

Do not exit from ppc4xx_sdram_banks() but report error via an errp
parameter instead.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <04bb3445439c2f37b99e74b3fdf4e62c2e6f7e04.1666194485.git.balaton@eik.bme.hu>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
hw/ppc/ppc4xx_sdram.c