Re: [PATCH 03/20] ppc4xx_sdram: Get rid of the init RAM hack

2022-09-02 Thread BALATON Zoltan
On Fri, 2 Sep 2022, Cédric Le Goater wrote: On 8/19/22 18:55, BALATON Zoltan wrote: The do_init parameter of ppc4xx_sdram_init() is used to map memory regions that is normally done by the firmware by programming the SDRAM controller. This is needed when booting a kernel directly from -kernel

Re: [PATCH 03/20] ppc4xx_sdram: Get rid of the init RAM hack

2022-09-02 Thread Cédric Le Goater
On 8/19/22 18:55, BALATON Zoltan wrote: The do_init parameter of ppc4xx_sdram_init() is used to map memory regions that is normally done by the firmware by programming the SDRAM controller. This is needed when booting a kernel directly from -kernel without a firmware. Do this from board code

[PATCH 03/20] ppc4xx_sdram: Get rid of the init RAM hack

2022-08-19 Thread BALATON Zoltan
The do_init parameter of ppc4xx_sdram_init() is used to map memory regions that is normally done by the firmware by programming the SDRAM controller. This is needed when booting a kernel directly from -kernel without a firmware. Do this from board code accesing normal SDRAM controller registers