Re: [PATCH v4 3/4] sunxi: psci: stop modeling register layout with C structs

2023-10-21 Thread Andre Przywara
On Wed, 11 Oct 2023 19:47:55 -0600 Sam Edwards wrote: > Since the sunxi support nowadays generally prefers #defined register > offsets instead of modeling register layouts using C structs, now is a > good time to do this for PSCI as well. This patch moves away from using > the structs `sunxi_cpuc

[PATCH v4 3/4] sunxi: psci: stop modeling register layout with C structs

2023-10-11 Thread Sam Edwards
Since the sunxi support nowadays generally prefers #defined register offsets instead of modeling register layouts using C structs, now is a good time to do this for PSCI as well. This patch moves away from using the structs `sunxi_cpucfg_reg` and `sunxi_prcm_reg` in psci.c. The former struct and i