Re: [PATCH v4 06/21] ppc4xx_sdram: Move size check to ppc4xx_sdram_init()

2022-09-17 Thread Philippe Mathieu-Daudé via
On 14/9/22 13:34, BALATON Zoltan wrote: 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 --- hw/ppc/ppc405.h | 2 -- hw/ppc/ppc405_boards.c | 10 -

[PATCH v4 06/21] ppc4xx_sdram: Move size check to ppc4xx_sdram_init()

2022-09-14 Thread BALATON Zoltan
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 --- hw/ppc/ppc405.h | 2 -- hw/ppc/ppc405_boards.c | 10 -- hw/ppc/ppc405_uc.c | 11 ++--