OSDN Git Service

ppc440_sdram: Get rid of the init RAM hack
authorBALATON Zoltan <balaton@eik.bme.hu>
Sat, 24 Sep 2022 12:28:00 +0000 (14:28 +0200)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Mon, 17 Oct 2022 19:15:09 +0000 (16:15 -0300)
commit03f7041bfdc45f6c981a83fd2d932bad161769ad
tree0a710980b8cf4a95ef2a1c86d6ea55a9e216cb93
parentea74acee988e5849ec5b7aa89edc3e676b66d2c4
ppc440_sdram: Get rid of the init RAM hack

Remove the do_init parameter of ppc440_sdram_init and enable SDRAM
controller from the board. Firmware does this so it may only be needed
when booting with -kernel without firmware but we enable SDRAM
unconditionally to preserve previous behaviour.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <c2eda8f83c82f655aa7821a5a8c9310484bd6a1d.1664021647.git.balaton@eik.bme.hu>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
hw/ppc/ppc440.h
hw/ppc/ppc440_uc.c
hw/ppc/sam460ex.c
include/hw/ppc/ppc4xx.h