Re: [PATCH 2/4] sunxi: DRAM: H6: const-ify DRAM function parameters

2023-10-20 Thread Jernej Škrabec
On Saturday, October 21, 2023 3:10:23 AM CEST Andre Przywara wrote: > There are quite some functions in the Allwinner H6 DRAM "driver", some > of them actually change the parameters in the structure passed to them, > but many are actually not. > > To increase the optimisation potential for the cod

[PATCH 2/4] sunxi: DRAM: H6: const-ify DRAM function parameters

2023-10-20 Thread Andre Przywara
There are quite some functions in the Allwinner H6 DRAM "driver", some of them actually change the parameters in the structure passed to them, but many are actually not. To increase the optimisation potential for the code, mark those functions that just read members of the passed dram_para struct