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

2022-09-18 Thread BALATON Zoltan
On Sun, 18 Sep 2022, Cédric Le Goater wrote: On 9/14/22 20:25, BALATON Zoltan wrote: On Wed, 14 Sep 2022, Cédric Le Goater wrote: On 9/14/22 13:44, BALATON Zoltan wrote: On Wed, 14 Sep 2022, Cédric Le Goater wrote: On 9/13/22 21:52, BALATON Zoltan wrote: The do_init parameter of

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

2022-09-18 Thread BALATON Zoltan
On Sun, 18 Sep 2022, BALATON Zoltan wrote: On Sun, 18 Sep 2022, Cédric Le Goater wrote: On 9/14/22 20:32, BALATON Zoltan wrote: On Wed, 14 Sep 2022, BALATON Zoltan wrote: On Wed, 14 Sep 2022, Cédric Le Goater wrote: On 9/14/22 13:44, BALATON Zoltan wrote: On Wed, 14 Sep 2022, Cédric Le

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

2022-09-18 Thread BALATON Zoltan
On Sun, 18 Sep 2022, Cédric Le Goater wrote: On 9/14/22 20:32, BALATON Zoltan wrote: On Wed, 14 Sep 2022, BALATON Zoltan wrote: On Wed, 14 Sep 2022, Cédric Le Goater wrote: On 9/14/22 13:44, BALATON Zoltan wrote: On Wed, 14 Sep 2022, Cédric Le Goater wrote: On 9/13/22 21:52, BALATON Zoltan

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

2022-09-18 Thread Cédric Le Goater
On 9/14/22 20:32, BALATON Zoltan wrote: On Wed, 14 Sep 2022, BALATON Zoltan wrote: On Wed, 14 Sep 2022, Cédric Le Goater wrote: On 9/14/22 13:44, BALATON Zoltan wrote: On Wed, 14 Sep 2022, Cédric Le Goater wrote: On 9/13/22 21:52, BALATON Zoltan wrote: The do_init parameter of

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

2022-09-18 Thread Cédric Le Goater
On 9/14/22 20:25, BALATON Zoltan wrote: On Wed, 14 Sep 2022, Cédric Le Goater wrote: On 9/14/22 13:44, BALATON Zoltan wrote: On Wed, 14 Sep 2022, Cédric Le Goater wrote: On 9/13/22 21:52, BALATON Zoltan wrote: The do_init parameter of ppc4xx_sdram_init() is used to map memory regions that is

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

2022-09-14 Thread BALATON Zoltan
On Wed, 14 Sep 2022, BALATON Zoltan wrote: On Wed, 14 Sep 2022, Cédric Le Goater wrote: On 9/14/22 13:44, BALATON Zoltan wrote: On Wed, 14 Sep 2022, Cédric Le Goater wrote: On 9/13/22 21:52, BALATON Zoltan wrote: The do_init parameter of ppc4xx_sdram_init() is used to map memory regions that

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

2022-09-14 Thread BALATON Zoltan
On Wed, 14 Sep 2022, Cédric Le Goater wrote: On 9/14/22 13:44, BALATON Zoltan wrote: On Wed, 14 Sep 2022, Cédric Le Goater wrote: On 9/13/22 21:52, 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

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

2022-09-14 Thread Cédric Le Goater
On 9/14/22 13:44, BALATON Zoltan wrote: On Wed, 14 Sep 2022, Cédric Le Goater wrote: On 9/13/22 21:52, 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

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

2022-09-14 Thread BALATON Zoltan
On Wed, 14 Sep 2022, Cédric Le Goater wrote: On 9/13/22 21:52, 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 v3 03/20] ppc4xx_sdram: Get rid of the init RAM hack

2022-09-14 Thread Cédric Le Goater
On 9/13/22 21:52, 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 v3 03/20] ppc4xx_sdram: Get rid of the init RAM hack

2022-09-13 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