Re: [PATCH v7 6/8] ppc4xx_sdram: Generalise bank setup

2022-10-25 Thread Daniel Henrique Barboza
On 10/19/22 13:02, BALATON Zoltan wrote: Currently only base and size are set on initial bank creation and bcr value is computed on mapping the region. Set bcr at init so the bcr encoding method becomes local to the controller model and mapping and unmapping can operate on the bank so it can

[PATCH v7 6/8] ppc4xx_sdram: Generalise bank setup

2022-10-19 Thread BALATON Zoltan
Currently only base and size are set on initial bank creation and bcr value is computed on mapping the region. Set bcr at init so the bcr encoding method becomes local to the controller model and mapping and unmapping can operate on the bank so it can be shared between different controller models.